| {{$customer_sale->invoice_no}} |
{{$customer_sale->sale_date}} |
{{$customer_sale->customer->customer_name}} |
{{$customer_sale->employee->name}} |
{{-- Admin | --}}
| Name |
Price |
Quantity |
Total |
@foreach($customer_sale->salesProduct as $product)
| {{$product->product_name}} |
{{$product->sale_price}} |
{{$product->quantity}} |
@php
$total_quantity= $total_quantity + $product->quantity;
$total_amount= $total_amount + ($product->quantity * $product->sale_price);
@endphp
{{$product->quantity * $product->sale_price}}
|
@endforeach
|
{{-- | --}}
@endforeach