@foreach ($orders as $order)
{{ $company->name }}{{ $company->address }} PH:{{ $company->phone }} Email:{{ $company->email }} @if ($company->fssai_no != null)Fssai No:{{ $company->fssai_no }} @endif GST:{{ $company->gst }} State:{{ $company->state }} |
FSSAI LICENSE NO : {{ $company->fssai_number }} Details of Reciever(Billed to) Name: {{ $order->debitLedger->name }} Address: {{ $order->debitLedger->address }} State: {{ $order->debitLedger->state }} Mobile: {{ $order->debitLedger->mobile_no }} GSTIN No :{{ $order->debitLedger->gst }} |
TAX INVOICE
Order No : {{ $order->order_code }} Order Date : {{ $order->order_date }} Sales Man : {{ $order->insertUser ? $order->insertUser->name : '' }} Route : {{ $order->debitLedger ? ($order->debitLedger->route ? $order->debitLedger->route->name : '') : '' }} |
| s no | HSN | MRP | Product | Qty | UOM | Alt Unit | Rate | Disc | Taxable | Gst % |
@if ($order->items()->sum('igst') > 0)
IGST | @elseCGST | SGST | @endifCESS | Total | |||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $item->stockItem->hsn_code }} | {{ $item->stockItem->getMrp($order->order_date) }} | {{ $item->stockItem->name }} | {{ $item->quantity }} | {{ $item->unit->symbol }} | @php $stockItemUnit = \App\Models\StockItemUnits::where('stock_item_id', $item->stock_item_id) ->where('is_base_unit', 0) ->first(); if ($stockItemUnit) { $unitQty = $stockItemUnit ? $stockItemUnit->unit_qty : 0; $altQty = $item->base_qty / $unitQty; $roundQty = floor($altQty); $remanInQty = $item->base_qty - $unitQty * $roundQty; } @endphp @if ($stockItemUnit){{ $roundQty }}-{{ $stockItemUnit->unit->symbol }} {{ $remanInQty }} - {{ $item->unit->symbol }} | @else@endif | {{ number_format($item->price, 2) }} | {{ number_format($item->disc_amount, 2) }} | {{ number_format($item->taxable_value, 2) }} | {{ $item->gst_per }} | @if ($order->items()->sum('igst') > 0){{ number_format($item->igst, 2) }} | @else{{ number_format($item->cgst, 2) }} | {{ number_format($item->sgst, 2) }} | @endif{{ number_format($item->cess, 2) }} | {{ number_format($item->total, 2) }} | ||
| @if ($order->items()->sum('igst') > 0) | @else | @endif | ||||||||||||||||
| {{ $order->items->sum('quantity') }} | items()->sum('igst') > 0) colspan="6" @else colspan="7" @endif> | {{ number_format($order->items->sum('total'), 2) }} | ||||||||||||||||
| ({{ $words }}) | ||||||
| Sub Total | {{ number_format($order->items()->sum('total'), 2) }} | |||||
| Discount | {{ number_format($order->discount, 2) }} | |||||
| {{ $additionalLedger->ledger->name }} | @if ($additionalLedger->dr_or_cr == 'Dr') (-) @else (+) @endif ({{ $additionalLedger->dr_or_cr }}) {{ $additionalLedger->amount }} | |||||
| Order Total | {{ $order->amount }} | |||||
| Note:
Certified that the particulars given above are true and correct |
@if ($company->bankLedger != null)
Bank Details
@endif
|
For, {{ $company->name }} |
{{-- --}} |