@include('pdf.partials.style') @php $logoPath = $setting->logo_path ? public_path('storage/'.$setting->logo_path) : null; $hasLogo = $logoPath && file_exists($logoPath); @endphp
@if($hasLogo) BASCORE @else
B
@endif
{{ $setting->company_name }}
{!! nl2br(e($setting->address)) !!}
{{ $setting->phone }} | {{ $setting->email }} | {{ $setting->website }}
TRN: {{ $setting->trn }}
QUOTATION
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 ?: '-' }}
Prepared For
{{ $document->customer->customer_name }}
{{ $document->customer->company_name ?: '-' }}
TRN: {{ $document->customer->trn ?: '-' }}
{!! nl2br(e($document->customer->address ?: 'Address: -')) !!}
Scope of Work
{!! nl2br(e($document->scope_of_work ?: 'As per the listed ELV / ICT scope and agreed site requirements.')) !!}
@foreach($document->items as $line) @if($line->by_others) @else @endif @endforeach
# Item Description Qty Unit Price Discount VAT Total
{{ $loop->iteration }} {{ $line->item->item_name ?? 'Custom' }} {{ $line->description }} {{ number_format($line->quantity,2) }}By OthersAED {{ 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) }}
Notes
{!! nl2br(e($document->notes ?: 'Quotation prepared according to BASCORE technical and commercial terms.')) !!}
SubtotalAED {{ number_format($document->subtotal,2) }}
DiscountAED {{ number_format($document->discount_total,2) }}
VAT TotalAED {{ number_format($document->vat_total,2) }}
Grand TotalAED {{ number_format($document->grand_total,2) }}
Terms and Conditions
{!! nl2br(e($document->terms ?: $setting->terms_conditions)) !!}
Authorization
Authorized Signature