@php $company = \App\Models\CompanySetting::getSettings(); $cityLine = trim(implode(', ', array_filter([$company->company_city ?? null, $company->company_state ?? null, $company->company_zip ?? null]))); @endphp @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
Item 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) }}
Acceptance
Client Signature
Date
@if($quotation->notes)
Notes
{{ $quotation->notes }}
@endif
Terms & Conditions
{{ $quotation->terms ?? 'This quotation is valid for 30 days from the date of issue.' }}