@foreach ($orders as $order) @php $roundOffToTwoDecimals = false; $separate_print = $company->separate_print_for_branch; if ($separate_print == 1) { $branch = $order->branch; } else { $branch = null; } if ($printSettings->round_off_to_two_decimals == 1) { $roundOffToTwoDecimals = true; } @endphp
{{ $company->name }} |
Order Details |
|---|
|
Seller Details
Seller Name : {{ $company->name }}
Mobile No : {{ $company->phone }}
{{ $order->debitLedger->gst }}
Address : {{ $company->address }}
GST No : {{ $company->gst }}
|
Buyer Details
Party Name : @if ($order->customer != null)
{{ $order->customer->name }}
@else
{{ $order->debitLedger->name }}
@endif
Mobile No : @if ($order->customer != null)
{{ $order->customer->mobile }}
@else
{{ $order->debitLedger->mobile_no }}
@endif ,GST No :
{{ $order->debitLedger->gst }}
Address : {{ $order->debitLedger->address }}
|
@if ($qr_code != null)
Order Details
Order Date : {{ \Carbon\Carbon::parse($order->order_date)->format('d M Y') }}
Order No : {{ $order->order_code }}
@if ($company->show_remarks && $order->remarks != null)
Remarks : {{ $order->remarks }}
@endif
@if ($order->ship_to_address != null)
Ship To : {{ $order->shipping_address }}
@endif
|
| SN | Item | HSN | Gst% | MRP | Unit | Qty | Rate | Gross Value |
Dis (%) |
Taxable Value |
@if ($order->items->sum('igst') > 0)
IGST | @elseCGST | SGST | @endif @if ($order->items->sum('cess') > 0)CESS | @endifTotal |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $item->stockItem->name }} | {{ $item->stockItem->hsn_code }} | {{ $item->gst_per }} | {{ $item->stockItem->getMrp($order->order_date) }} | {{ $item->unit->symbol }} | {{ $item->quantity }} | {{ $roundOffToTwoDecimals ? round($item->price, 2) : $item->price }} | {{ $roundOffToTwoDecimals ? round($item->gross_value, 2) : $item->gross_value }} | {{ $roundOffToTwoDecimals ? round($item->disc_percentage, 2) : $item->disc_percentage }} | {{ $roundOffToTwoDecimals ? round($item->taxable_value, 2) : $item->taxable_value }} | @if ($order->items->sum('igst') > 0){{ $roundOffToTwoDecimals ? round($item->igst, 2) : $item->igst }} | @else{{ $roundOffToTwoDecimals ? round($item->cgst, 2) : $item->cgst }} | {{ $roundOffToTwoDecimals ? round($item->sgst, 2) : $item->sgst }} | @endif @if ($order->items->sum('cess') > 0){{ $roundOffToTwoDecimals ? round($item->cess, 2) : $item->cess }} | @endif{{ $roundOffToTwoDecimals ? round($item->total, 2) : $item->total }} |
| Total | {{ number_format($order->items->sum('taxable_value'), 2) }} | @if ($order->items->sum('igst') > 0){{ number_format($order->items->sum('igst'), 2) }} | @else{{ number_format($order->items->sum('cgst'), 2) }} | {{ number_format($order->items->sum('sgst'), 2) }} | @endif @if ($order->items->sum('cess') > 0){{ number_format($order->items->sum('cess'), 2) }} | @endif{{ number_format($order->items->sum('total'), 2) }} |
|
Bank Name : {{ $company->bankLedger->name }}
Account No : {{ $company->bankLedger->account_number }}
@if ($company->bankLedger->account_holder_name != null)
Account Holder Name : {{ $company->bankLedger->account_holder_name }}
@endif
IFSC Code : {{ $company->bankLedger->ifsc_code }}
Branch : {{ $company->bankLedger->branch }}
|
@endif
Total Taxable Value :
Rs.{{ number_format($order->items->sum('taxable_value'), 2) }}
Total CGST : Rs.{{ number_format($order->items->sum('cgst'), 2) }}
Total SGST : Rs.{{ number_format($order->items->sum('sgst'), 2) }}
Discount : Rs.{{ $order->discount ?? '0.00' }}
Freight/Etc : Rs.{{ $order->freight }}
Round Off : Rs.{{ $order->round_off }}
Grand Total : Rs.{{ $order->amount }}
|
Authorized Signature
|