@foreach ($orders as $order)
|
@if ($pageLogo != null)
|
@php
$separate_print = $company->separate_print_for_branch;
if ($separate_print == 1) {
$branch = $order->branch;
} else {
$branch = null;
}
@endphp
@if ($branch == null || $branch->name == 'Main Branch')
{{ $company->name }}
Address : {{ $company->address }}
@else
{{ $branch->name }}
Address : {{ $branch->address }}
@endif
@if(Auth::user()->company_profile->fssai_number != null)
FSSAI NO:{{Auth::user()->company_profile->fssai_number }}
@endif
|
|
Buyer Details
Party Name : {{ $order->debitLedger->name }}
Mobile No :{{ $order->debitLedger->mobile_no }}
Address : {{ $order->debitLedger->address }}
|
@if($print_type == 'proforma') PROFORMA INVOICE @else ORDER DETAILS @endif |
@if($qr_code != null)
Order Details
Date : {{ \Carbon\Carbon::parse($order->order_date)->format('d M Y') }}
Order Code : {{ $order->order_code }}
@if ($company->show_remarks && $order->remarks != null)
Remarks : {{ $order->remarks }}
@endif
@if ($order->shipping_address != null)
Ship To : {{ $order->shipping_address }}
@endif
|
| SN | Item | MRP | Qty | Unit | Price | Dis (%) |
Total |
|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $item->stockItem->name }} | {{ $item->stockItem->getMrp($order->order_date) }} | {{ $item->quantity }} | {{ $item->unit->symbol }} | {{ $item->price_inc_tax }} | {{ $item->disc_percentage }} | {{ $item->total }} |
| Total | {{ number_format($order->items->sum('total'), 2) }} |
|
Discount : Rs.{{ $order->discount ?? '0.00' }}
Grand Total : Rs.{{ $order->amount }}
|
Authorized Signature
|