@foreach($sales as $sale) @endforeach
SALES REPORT
PRODUCT QUANTITY UNIT PRICE TOTAL PRICE DATE RECEIPT NO.
{{ $sale->product->product_name }} {{ $sale->quantity ?? 0 }} {{ number_format($sale->selling_price ?? 0) }} {{ number_format($sale->selling_price*$sale->quantity ?? 0) }} {{ $sale->sale->sale_date ?? '----' }} {{ $sale->sale->receipt ?? '----' }}
Total Amount {{ number_format($total+$discount) }} Total Paid {{ number_format($paid) }}