@if($quote->notes) @endif
Company Logo
Source My Parts Pty Ltd
ABN - 43 602 924 210
Address - 35 Pickett St, Bayswater, WA 6053
Phone - 08 9468 4394
Email - accounts@smparts.com.au
Quotation
Quote # - {{ \App\Helpers\SiteSettingsHelper::formatId($quote->id, 'quote') }}
@if($quote->po_reference) PO# - {{ $quote->po_reference }}
@endif @if($quote->company && $quote->company->customer_reference) Ref# - {{ $quote->company->customer_reference }}
@endif @if($quote->payment_terms) Terms - {{ $quote->payment_terms_text }}
@endif @if($quote->createdUser) Sales Person - {{ $quote->createdUser->name }}
@endif {{ \Carbon\Carbon::parse($quote->created_at)->format('d/m/Y') }}

Company Details

DATE - {{ \Carbon\Carbon::parse($quote->created_at)->format('d/m/Y') }}
COMPANY - {{ $quote->company->name }}
QUOTE No. - {{ \App\Helpers\SiteSettingsHelper::formatId($quote->id, 'quote') }}
REF No. -
SALES PERSON -

Deliver to

{{ $quote->company->name }}
{{ $quote->customer->first_name }} {{ $quote->customer->last_name }},
@if($shippingAddress) @if($shippingAddress->attention_to) {{ $shippingAddress->attention_to }},
@endif @if($shippingAddress->address1) {{ $shippingAddress->address1 }}, @endif @if($shippingAddress->address2) {{ $shippingAddress->address2 }}, @endif @if($shippingAddress->suburb) {{ $shippingAddress->suburb }}, {{ $shippingAddress->state ? $shippingAddress->state->iso_code : $shippingAddress->other_state }}, {{ $shippingAddress->postcode }},
@endif @if($shippingAddress->country && $shippingAddress->country->name !== 'Australia') {{ $shippingAddress->country->name }}
@endif @if($shippingAddress->phone) Phone - {{ $shippingAddress->phone }}
@endif @if($shippingAddress->mobile) Mobile - {{ $shippingAddress->mobile }}
@endif @else No shipping address provided @endif @if($quote->customer) @if($quote->customer->phone) Phone - {{ $quote->customer->phone }} @endif
@if($quote->customer->email) Email - {{ $quote->customer->email }} @endif @endif
Additional Notes

{{ $quote->notes }}

Quote Details
@foreach($quote->details as $detail) @endforeach @if($deliveryFreight > 0) @endif @if(($internationalFreight ?? 0) > 0) @endif @if(($procurementFreight ?? 0) > 0) @endif @if($isAustralia && $gst > 0) @endif
LIN# Part # Name Availability Quantity Unit Price Total
{{ $loop->iteration }} {{ trim((string) ($detail->customer_part_number ?? '')) !== '' ? trim((string) $detail->customer_part_number) : ($detail->sku ?? '-') }} {{ $detail->name }} {{ $detail->availability ?: 'In Stock' }} {{ $detail->quantity }} ${{ number_format($detail->unit_price, 2) }} ${{ number_format($detail->unit_price * $detail->quantity, 2) }}
Sub Total{{ $isAustralia ? ' (ex GST)' : '' }} ${{ number_format($subtotal, 2) }}
Delivery Freight{{ $isAustralia ? ' (ex GST)' : '' }} ${{ number_format($deliveryFreight, 2) }}
International Freight{{ $isAustralia ? ' (ex GST)' : '' }} ${{ number_format($internationalFreight, 2) }}
Procurement Freight{{ $isAustralia ? ' (ex GST)' : '' }} ${{ number_format($procurementFreight, 2) }}
GST (10%) ${{ number_format($gst, 2) }}
Total{{ $isAustralia ? ' (inc GST)' : '' }} ${{ number_format($total, 2) }}