@foreach ($quotations as $quotation)
@if ($header != null)
@endif
Party Name : {{ $quotation->debitLedger->name }}MOB: {{ $quotation->debitLedger->mobile_no }} |
|
| SL NO | MODEL NO | IMAGE | SPECIFICATION | WARRANTY | Qty | MRP | DP | Total |
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $item->stockItem->name ?? 'N/A' }} {{ $item->stockItem->description ?? '' }} @if($item->remarks != null) Remarks: {{ $item->remarks }} @endif |
{{-- Handle image for PDF --}}
@php
$media = $item->stockItem->getFirstMedia('image');
@endphp
@if ($media)
@php
$imagePath = str_replace('\\', '/', $media->getPath());
@endphp
@if (file_exists($imagePath))
@if ($media)
|
@foreach ($item->stockItem->stockItemSpecifications as $specification) {{ $specification->specification }} @endforeach |
{{ $item->stockItem->warranty != null ? $item->stockItem->warranty . ' ' . $item->stockItem->warranty_period : 'N/A' }}
{{ $item->stockItem->warranty != null ? 'WARRANTY' : '' }} |
{{ round($item->quantity, 2) }} | {{ round($item->stockItem->mrp, 2) }} | {{ round($item->total / $item->quantity, 2) }} | {{ round($item->total, 2) }} | GRAND TOTAL | {{ $quotation->quotationItems->sum('quantity') }} | {{ round($quotation->amount, 2) }} |
| Company's Bank Details | |
|
A/c Holder’s Name : {{ $company->name }}
Bank Name :{{ $company->bankLedger->name }} A/c No : {{ $company->bankLedger->account_number }} Branch & IFSC Code: {{ $company->bankLedger->branch }} & {{ $company->bankLedger->ifsc_code }} |