@php $company = \App\Models\CompanySetting::getSettings(); @endphp
@if(!empty($pdfLogoUri ?? null)) @endif
{{ $company->company_name ?? config('app.name') }}
@if($company->company_address){{ $company->company_address }}
@endif @if($company->company_phone){{ $company->company_phone }}
@endif @if($company->company_email){{ $company->company_email }}@endif
QUOTATION
Quote #{{ $quotation->quotation_number }}
Date{{ $quotation->issue_date->format('M d, Y') }}
Valid Until{{ $quotation->expiry_date ? $quotation->expiry_date->format('M d, Y') : '—' }}
Status{{ ucfirst($quotation->status) }}
Valid until {{ $quotation->expiry_date ? $quotation->expiry_date->format('F d, Y') : '—' }}
@if($quotation->customer)
Quoted To
{{ $quotation->customer->name }}
@if($quotation->customer->email){{ $quotation->customer->email }}
@endif @if($quotation->customer->phone){{ $quotation->customer->phone }}
@endif @if($quotation->customer->address){{ $quotation->customer->address }}@endif
@endif @forelse($quotation->items as $item) @php $line = ($item->quantity * $item->unit_price) * (1 + (($item->tax_rate ?? 0) / 100)); @endphp @empty @endforelse
Description Qty Unit Tax Total
{{ $item->description }} @if($item->notes)
{{ $item->notes }} @endif
{{ number_format($item->quantity, 2) }} {{ $quotation->currency }} {{ number_format($item->unit_price, 2) }} {{ $item->tax_rate ?? 0 }}% {{ $quotation->currency }} {{ number_format($line, 2) }}
No items
@if(($quotation->tax_amount ?? 0) > 0) @endif @if(($quotation->discount_amount ?? 0) > 0) @endif
Subtotal{{ $quotation->currency }} {{ number_format($quotation->subtotal, 2) }}
Tax{{ $quotation->currency }} {{ number_format($quotation->tax_amount, 2) }}
Discount-{{ $quotation->currency }} {{ number_format($quotation->discount_amount, 2) }}
Total{{ $quotation->currency }} {{ number_format($quotation->total, 2) }}
@if($quotation->notes)
Notes
{{ $quotation->notes }}
@endif
Terms & Conditions
{{ $quotation->terms ?? 'This quotation is valid for 30 days from the date of issue.' }}