Customer Information
{{ $item->customer }}
Mobile:{{ $item->mobile }}
Email:{{ $item->email }}
Address : {{ Customeraddressdata($item->customer_id) }}
VAT No:{{ $item->vat_Number }}
invoice No {{ $item->invoice_no }} Custom Note {{ $item->custom_note }}
Date {{ $item->sale_format_date }} Delivery Status {{ Str::ucfirst($item->delivery_status) }}
Order No {{ $item->order_no }} Delivery Date {{ $item->delivery_date ? $item->delivery_date->format('d/m/y h:i A') : '' }}
Reference No {{ $item->reference_no }} Delivery Note {{ $item->delivery_note }}
Customer Note {{ $item->customer_note }}
Private Note {{ $item->private_note }}
@foreach ($saledetails as $key => $details) @php // Calculate rowspan dynamically $rowspan = 1; // The main row if ($details->product_note) { $rowspan++; // Add one row for product note } if ($details->spasification_details->count() > 0) { $rowspan++; // Add one row for specification details } @endphp @endforeach
Sl Item Description Product Code EMI/Serial No Unit Price Qty Unit Amount Discount Vat/Tax Net Amount
{{ $key + 1 }} {{ $details->product_name }} {{ $details->product_note }} {{ $details->product_code }} @foreach ($details->spasification_details as $i => $spasification_details) ({{ intToRoman($i + 1) }}). @if ($spasification_details->emi_number) EMI Number: {{ $spasification_details->emi_number }}, @endif @if ($spasification_details->serial_number) Serial Number: {{ $spasification_details->serial_number }} @endif
@endforeach
{{ numberformat($details->unit_price) }} {{ numberformat($details->qty) }} {{ $details->unit_name }} {{ numberformat($details->amount) }} {{ numberformat($details->discount_amount) }} {{ numberformat($details->vat_amount) }} {{ numberformat($details->nettotal) }}
Sub Total {{ numberformat($item->amount) }} Total Payable {{ numberformat($item->nettotal) }}
Discount {{ numberformat($item->total_discount) }} Paid {{ numberformat($item->payments->sum('amount')) }}
Delivery Charge {{ numberformat($item->shiping_charge) }} Due Amount {{ numberformat($item->nettotal - $item->payments->sum('amount')) }}
Total {{ numberformat($item->total_amount) }}
Gross Discount {{ numberformat($item->gross_discount_amount) }}
Recieved By Authorized By Prepared By
Declaration: