@php $logo='data:image/png;base64,'.base64_encode(file_get_contents(public_path('images/morbrick-brand.png'))); @endphp
@include('pdf.partials.company-letterhead')
{{ $quote->quote_number }}

Valid until {{ $quote->expiry_date?->format('d M Y') }}

Prepared for

{{ $quote->customer->name }}
{{ $quote->customer->billing_address }}
{{ $quote->customer->email }} {{ $quote->customer->phone }}

@foreach($quote->items as $item) @endforeach
DescriptionQtyUnit priceVATTotal
{{ $item->description }}{{ number_format((float)$item->quantity,2) }} {{ $item->unit }}KES {{ number_format((float)$item->unit_price,2) }}KES {{ number_format((float)$item->tax_amount,2) }}KES {{ number_format((float)$item->line_total,2) }}
SubtotalKES {{ number_format((float)$quote->subtotal,2) }}
DiscountKES {{ number_format((float)$quote->discount_amount,2) }}
VATKES {{ number_format((float)$quote->vat_amount,2) }}
TotalKES {{ number_format((float)$quote->total_amount,2) }}

Terms & notes

{{ $quote->notes ?: 'Prices are valid until the expiry date shown above.' }}