@php $cur = $currency; $money = static fn (int $m): string => $cur.' '.number_format($m / 100, 2); $ratePct = ($quote['tax_rate_bps'] ?? 0) > 0 ? rtrim(rtrim(number_format($quote['tax_rate_bps'] / 100, 2), '0'), '.') : null; @endphp
{{ $biz['business_name'] ?? __('Business') }}
@foreach(($biz['address_lines'] ?? []) as $line)
{{ $line }}
@endforeach @php $hPhone = $biz['location_phone'] ?? ($biz['phone'] ?? null); @endphp @if(!empty($hPhone))
{{ __('Tel') }}: {{ $hPhone }}
@endif @if(!empty($biz['email']))
{{ $biz['email'] }}
@endif @if(!empty($biz['tax_registration_number']))
{{ __('Tax Reg No') }}: {{ $biz['tax_registration_number'] }}
@endif
{{ __('Quote') }}
{{ __('Reference') }}{{ $reference }}
{{ __('Date') }}{{ optional($issued_at)->format('Y-m-d') }}
{{ __('Estimate') }}
{{ __('Prepared for') }}
{{ $customer['name'] ?? '—' }}
@if(!empty($customer['email']))
{{ $customer['email'] }}
@endif
{{ __('Description') }}{{ __('Qty') }}{{ __('Unit price') }}{{ __('Amount') }}
{{ $description }} {{ $quantity }} {{ $money($quote['package_minor'] ?? 0) }} {{ $money($quote['package_minor'] ?? 0) }}
{{ __('This is a quote / estimate only — it is not a tax invoice and no payment is due. Prices and taxes are estimated and may change until the sale is finalized.') }}
@if(($quote['discount_minor'] ?? 0) > 0) @endif @if(($quote['tax_minor'] ?? 0) > 0) @endif
{{ __('Subtotal') }}{{ $money($quote['package_minor'] ?? 0) }}
{{ __('Discount') }}-{{ $money($quote['discount_minor']) }}
{{ __('Estimated tax') }}@if($ratePct) ({{ $ratePct }}%)@endif{{ $money($quote['tax_minor']) }}
{{ __('Estimated total') }}{{ $money($quote['total_minor'] ?? 0) }}
@if($tax_reg_missing)
{{ __('A sales tax is estimated but no GST/HST registration number is configured. Add it in Business Settings → Operations.') }}
@endif