@include('reports.pdf-style')
| Order # | Customer | Items | Total | Received |
|---|---|---|---|---|
| {{ $order->id }} | {{ $order->customer->name ?? ($order->customer_name ?: 'Walk-in') }} | @foreach($order->items as $item) {{ $item->product->category->name ?? '' }} {{ $item->product->weight->label ?? '' }} x{{ (int)$item->quantity }}{{ !$loop->last ? ', ' : '' }} @endforeach | Rs. {{ number_format($order->total, 2) }} | Rs. {{ number_format($order->paid, 2) }} |
| No orders on this date | ||||
| TOTAL | Rs. {{ number_format($totalSales, 2) }} | Rs. {{ number_format($totalPaid, 2) }} | ||