@foreach ($accountingVouchers as $accountingVoucher)
DELIVERY NOTE |
|---|
{{ $company->name }}{{ $company->address }} PH:{{ $company->phone }} GST:{{ $company->gst }} State:{{ $company->state }} |
Invoice No | {{ $accountingVoucher->voucher_number }} |
| Invoice Date | {{ \Carbon\Carbon::parse($accountingVoucher->voucher_date)->format('d M Y') }} | |
| @if($accountingVoucher->vehicle_no !=null) Vehicle No @endif | {{ $accountingVoucher->vehicle_no }} | |
| Inward/Outward | {{ $accountingVoucher->delivery_note_inward ? 'Inward' : 'Outward' }} |
| Details of Reciever(Billed to) | Details of Consignee (Shipped to) | ||
| Name: | {{ $accountingVoucher->debitLedger->name }} | Name: | {{ $accountingVoucher->debitLedger->name }} |
| Address: | {{ $accountingVoucher->debitLedger->address }} | Address: | {{ $accountingVoucher->ship_to_address }} |
| State: | {{ $accountingVoucher->debitLedger->state }} | ||
| Mobile: | {{ $accountingVoucher->debitLedger->mobile_no }} | ||
| GST No: | {{ $accountingVoucher->debitLedger->gst }} | ||
| sno | Items | HSN | Qty | Rate | Unit | Disc % | @if($accountingVoucher->items->sum('igst') > 0)Igst | @elseCgst | Sgst | @endifAmount |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $item->stockItem->name }} | {{$item->stockItem->hsn_code }} | {{ $item->quantity }} | {{ number_format($item->price, 2) }} | {{ $item->unit->symbol }} | {{ number_format( $item->disc_percentage,2) }} | @if($accountingVoucher->items->sum('igst') > 0){{ number_format( $item->igst,2) }} | @else{{ number_format( $item->cgst,2) }} | {{ number_format( $item->sgst,2) }} | @endif{{ number_format( $item->total,2) }} |
| @if($accountingVoucher->items->sum('igst') > 0) | @else | @endif | ||||||||
| {{ $accountingVoucher->items->sum('quantity') }} | @if($accountingVoucher->items->sum('igst') > 0) | @else | @endif | {{ number_format($accountingVoucher->items->sum('total'),2) }} | ||||||