Customer: {{ $order->order_customer_name }}
Division: @php $division = $divisions->firstWhere('school_division_id', $order->order_division); echo $division ? $division->school_division_name_en : '-'; @endphp
Request Date: {{ \Carbon\Carbon::parse($order->order_request_date)->format('d/m/Y') }}
Purpose: {{ $order->order_purpose }}
Address: {{ $order->order_address }}
| No. | Name | Qty | Unit Price (THB) | Total Price (THB) |
|---|---|---|---|---|
| {{ $i + 1 }} | {{ $item->product_name }} | {{ $item->quantity }} | {{ number_format($item->product_price, 2) }} | {{ number_format($item->quantity * $item->product_price, 2) }} |
| Total Quantity: | {{ $totalQty }} | Total: | {{ number_format($total, 2) }} | |