@foreach ($saledetails as $key => $details) @if ($details->product_note) @endif @if ($details->warranty_start_date && $details->warranty_end_date) @endif @if ($details->spasification_details->count() > 0) @foreach ($details->spasification_details as $i => $spasification_details) @endforeach @endif @endforeach
Sl Code Product Quanity Unit Price Discount Vat/Tax Net Amount
Percent (%) Amount (Tk.) Percent (%) Amount (Tk.)
{{ $key + 1 }} {{ $details->product_code }} {{ $details->product_name }} {{ numberformat($details->qty) }} {{ optional(optional($details->product)->unit)->short_name }} {{ numberformat($details->unit_price) }} {{ $details->discount_percent }} {{ numberformat($details->discount_amount) }} {{ $details->vat_percent }} {{ numberformat($details->vat_amount) }} {{ numberformat($details->nettotal) }}
Product Note: {{ $details->product_note }}
Warranty Deatils: Start Date: {{ dateformat($details->warranty_start_date) }}, End Date: {{ dateformat($details->warranty_end_date) }}
({{ 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