@foreach ($order->saleitems as $index => $item) @endforeach
Customer Details
Customer {{ $customer->contact_person ?? 'N/A' }}
Phone {{ $customer->phone ?? 'N/A' }}
Item Details
S.No. Product name Quantity Unit Price Sale Price Total Price
{{ $index + 1 }} {{ $item->saleproduct->name }} {{ $item->quantity }} ${{ number_format($item->price, 2) }} ${{ number_format($item->price, 2) }} ${{ number_format($item->quantity * $item->price, 2) }}
No. of Product Total Amount HST Amount Grand Total
{{ $order->saleitems->count() }} ${{ number_format($order->total_amount, 2) }} ${{ number_format($order->tax, 2) }} ${{ number_format($order->grand_total, 2) }}