@foreach ($orders as $order)
ORDER DETAILS |
|---|
|
M/S. {{ $order->debitLedger->name }} ADD:{{ $order->debitLedger->address }} PH: {{ $order->debitLedger->mobile_no }} {{-- GST:{{ $company->gst }} State:{{ $company->state }} --}} |
Order No | {{ $order->order_code }} |
| Order Date | {{ \Carbon\Carbon::parse($order->order_date)->format('d M Y') }} | |
| Box No | {{ $order->box_no }} |
| sno | MRP | Particulars | Unit | Qty | Price | Amount |
|---|---|---|---|---|---|---|
| {{ $key == 'uncategorized' ? '' : $group[0]->stockItem->stockItemCategories->first()->category->name }} | ||||||
| {{ $sl++ }} | {{ $item->stockItem->getMrp($order->order_date) }} | {{ $item->stockItem->name }}{{ $item->remarks ? " ({$item->remarks})" : '' }} | {{ $item->unit->symbol }} | {{ $item->quantity }} | {{ number_format($item->price_inc_tax, 2) }} | {{ number_format( $item->total,2) }} |
| {{ $words }} | SUB TOTAL | {{ number_format($order->items()->sum('total'),2)}} | ||||
| Discount | {{ number_format($order->discount,2) }} | |||||
| Freight | {{ number_format($order->freight,2) }} | |||||
| Round Off | {{ number_format($order->round_off,2) }} | |||||
| Order Amount | {{ number_format($order->amount) }} | |||||