@php $emailCompany = $quote->company; $emailBrand = $emailCompany->getEmailBranding(); $emailLogoSrc = $emailBrand['logo_path'] && isset($message) ? $message->embed($emailBrand['logo_path']) : $emailBrand['logo_url']; @endphp Quote {{ $quote->quote_number }}
@if($emailLogoSrc) @endif

Quote

{{ $quote->company->name }}

Created: {{ \Carbon\Carbon::parse($quote->created_at)->format('M d, Y') }}
@if($quote->expiry_date)
Expires: {{ \Carbon\Carbon::parse($quote->expiry_date)->format('M d, Y') }}
@endif
@if($customMessage)
Message:
{{ $customMessage }}
@endif
Quote For
{{ $quote->customer->name }}
@if($quote->customer->email)
{{ $quote->customer->email }}
@endif @if($quote->customer->phone)
{{ $quote->customer->phone }}
@endif @if($quote->customer->address)
{{ $quote->customer->address }}
@endif
@if($quote->description)
Description
{{ $quote->description }}
@endif
Quote Items
@foreach($quote->lineItems as $item) @endforeach
Description Quantity Unit Price Total
{{ $item->description }} {{ $item->quantity }} {{ $quote->company->formatCurrencyZar($item->unit_price) }} {{ $quote->company->formatCurrencyZar($item->total) }}
Subtotal: {{ $quote->company->formatCurrencyZar($quote->subtotal) }}
@if($quote->discount_amount > 0)
Discount: -{{ $quote->company->formatCurrencyZar($quote->discount_amount) }}
@endif
Tax ({{ $quote->tax_rate }}%): {{ $quote->company->formatCurrencyZar($quote->tax_amount) }}
Total: {{ $quote->company->formatCurrencyZar($quote->total) }}
@if($quote->expiry_date && $quote->expiry_date < now())
Important: This quote has expired. Please contact us for a new quote.
@elseif($quote->expiry_date)
Important: This quote is valid until {{ \Carbon\Carbon::parse($quote->expiry_date)->format('M d, Y') }}.
@endif

Next Steps

  • Review the quote details above
  • Use the buttons below to accept or decline this quote
  • We can convert this quote to a jobcard to begin work
  • Keep this email for your records
@if(!empty($acceptUrl) && !empty($declineUrl)) @endif @if($quote->notes)
Notes
{{ $quote->notes }}
@endif @if($quote->terms_conditions)
Terms & Conditions
{{ $quote->terms_conditions }}
@endif