@if($order->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
Proforma Invoice
Proforma Invoice # - {{ $proformaNumber }}
@if($order->po_reference) PO# - {{ $order->po_reference }}
@endif @if($order->company && $order->company->customer_reference) Ref# - {{ $order->company->customer_reference }}
@endif @if($order->payment_terms) Terms - {{ $order->payment_terms_text ?? '' }}
@endif @if($order->createdUser) Sales Person - {{ $order->createdUser->name }}
@endif {{ \Carbon\Carbon::parse($order->created_at)->format('d/m/Y') }}

Company Details

DATE - {{ \Carbon\Carbon::parse($order->created_at)->format('d/m/Y') }}
COMPANY - {{ $order->company->name }}
ORDER No. - {{ $order->id }}
REF No. -
SALES PERSON -

Deliver to

{{ $order->company->name }}
{{ $order->customer->first_name }} {{ $order->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($order->customer) @if($order->customer->phone) Phone - {{ $order->customer->phone }}
@endif @if($order->customer->email) Email - {{ $order->customer->email }} @endif @endif
Additional Notes

{{ $order->notes }}

Order Details
@foreach($order->details as $detail) @endforeach @if(($internationalForNet ?? 0) > 0) @endif @if(($procurementForNet ?? 0) > 0) @endif @if($isAustralia && $gst > 0) @endif @if($order->surcharges > 0) @endif
LINE# PART# DESCRIPTION AVAILABILITY ORD B/ORDER 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 }} - {{ $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($deliveryForNet, 2) }}
International Freight{{ $isAustralia ? ' (ex GST)' : '' }} ${{ number_format($internationalForNet, 2) }}
Procurement Freight{{ $isAustralia ? ' (ex GST)' : '' }} ${{ number_format($procurementForNet, 2) }}
GST (10%) ${{ number_format($gst, 2) }}
Surcharges ${{ number_format($order->surcharges, 2) }}
Total{{ $isAustralia ? ' (inc GST)' : '' }} ${{ number_format($total, 2) }}