@foreach ($inventoryVouchers as $inventoryVoucher)
DELIVERY CHALLAN |
||||||
{{ $company->name }} |
Delivery Date No : | {{ $inventoryVoucher->voucher_number }} | ||||
{{ $company->address }} |
Date : | {{ \Carbon\Carbon::parse($inventoryVoucher->voucher_date)->format('d M Y') }} | ||||
| Phone: {{ $company->phone }} | ||||||
| Buyer(Bill To) | Details of Consignee (Shipped to) | |||||
|
Name : {{ $inventoryVoucher->sourceLocation->name }} Address : {{ $inventoryVoucher->sourceLocation->address }} |
Name : {{ $inventoryVoucher->destinationLocation->name }} Address : {{ $inventoryVoucher->destinationLocation->address }} |
|||||
| sno | Item | HSN | Qty | Price | Unit | {{--Taxable Value | CGST | SGST | --}}Amount |
|---|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $item->stockItem->name }} ({{ $item->stockItem->internal_barcode }}) | {{ $item->stockItem->hsn_code }} | {{ number_format($item->quantity) }} | {{ number_format($item->price, 2) }} | {{ $item->unit->symbol }} | @php // $taxableValue = round($item->quantity * $item->price,2); // $gst = $item->gst_per; // $cess = $item->cess_per; // $totalTax = $gst + $cess; // $tax = round($taxableValue * $totalTax / 100 ,2); // $cgst = round($tax / 2,2); // $sgst = round($tax / 2,2); // $total = $taxableValue + $tax; // $totalTaxableValue += $taxableValue; // $totalCgst += $cgst; // $totalSgst += $sgst; $total = round($item->quantity * $item->price, 2); $grandTotal += $total; @endphp {{--{{ number_format($taxableValue,2) }} | {{ number_format( $cgst,2) }} | {{ number_format( $sgst,2) }} | --}}{{ number_format($total, 2) }} |
| Total | {{--{{ number_format($totalTaxableValue,2) }} | {{ number_format($totalCgst,2) }} | {{ number_format($totalSgst,2) }} | --}}{{ number_format($grandTotal, 2) }} | |||||
| Round Off | {{ number_format($roundOff, 2) }} | ||||||||
| Grand Total | {{ number_format($grandTotal, 2) }} | ||||||||
For :{{ $company->name }} |
|||||||||
| Total Taxable Value | {{ number_format($totalTaxableValue,2) }} |
|---|---|
| Total Cgst | {{ number_format($totalCgst,2) }} |
| Total Sgst | {{ number_format($totalSgst,2) }} |
| Round Off | {{ number_format($roundOff,3) }} |
| Grand Total | {{ number_format($grandTotal,2) }} |