@foreach ($quotations as $quotation) @if ($header != null) Logo @endif

Party Name : {{ $quotation->debitLedger->name }}

MOB: {{ $quotation->debitLedger->mobile_no }}

EST No Date
{{ $quotation->quotation_no }} {{ date('d-m-Y', strtotime($quotation->quotation_date)) }}
@foreach ($quotation->quotationItems as $item) {{-- Handle image for PDF --}} @endforeach
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
@php $media = $item->stockItem->getFirstMedia('image'); @endphp @if ($media) @php $imagePath = str_replace('\\', '/', $media->getPath()); @endphp @if (file_exists($imagePath)) @if ($media) @endif @else Image Missing @endif @else No Image @endif @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) }}
@if ($printSettings->quotation_terms != null)
{!! $printSettings->quotation_terms !!}
@endif @if ($company->bankLedger != null)
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 }}
@endif
@if ($footer != null) Logo @endif @if ($quotations->last() != $quotation)
@endif @endforeach