@include('pdf.partials.style')
@php $logoPath = $setting->logo_path ? public_path('storage/'.$setting->logo_path) : null; $hasLogo = $logoPath && file_exists($logoPath); @endphp| Quotation No. | {{ $document->number }} |
| Issue Date | {{ $document->issue_date->format('d M Y') }} |
| Valid Until | {{ optional($document->valid_until)->format('d M Y') }} |
| Project | {{ $document->project_name ?: '-' }} |
| # | Item | Description | Qty | Unit Price | Discount | VAT | Total | ||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $line->item->item_name ?? 'Custom' }} | {{ $line->description }} | {{ number_format($line->quantity,2) }} | @if($line->by_others)By Others | @elseAED {{ number_format($line->unit_price,2) }} | AED {{ number_format($line->discount,2) }} | AED {{ number_format($line->vat_amount,2) }} | AED {{ number_format($line->line_total,2) }} | @endif|||
| Subtotal | AED {{ number_format($document->subtotal,2) }} |
| Discount | AED {{ number_format($document->discount_total,2) }} |
| VAT Total | AED {{ number_format($document->vat_total,2) }} |
| Grand Total | AED {{ number_format($document->grand_total,2) }} |