{{ config('app.name') }}
{{ $isPaid ? 'Tax invoice' : 'Invoice' }}
{{ $order->number }}
- Issued
- {{ $order->created_at->format('d M Y') }}
- Due
- {{ $order->payment_due_at?->format('d M Y') ?? 'On receipt' }} @if($order->po_number)
- Your PO
- {{ $order->po_number }} @endif
- Status
- {{ $isPaid ? 'Paid' : ($order->isOverdue() ? 'Overdue' : 'Awaiting payment') }}
Bill to
{{ $company->name }}
@if($company->abn)ABN {{ $company->abn }}
@endif{{ $order->email }}
Deliver to
{{ collect([$address['line1'] ?? null, $address['line2'] ?? null, $address['city'] ?? null, $address['region'] ?? null, $address['postal_code'] ?? null, $address['country'] ?? null])->filter()->implode(', ') ?: '—' }}
| Item | Qty | Unit | Amount |
|---|---|---|---|
{{ $line->title }} {{ $line->variant_title ?: '' }} {{ $line->sku ? '· '.$line->sku : '' }} |
{{ number_format($line->quantity) }} | {{ $order->moneyFromCents((int) $line->unit_price_cents) }} | {{ $order->moneyFromCents((int) $line->total_cents) }} |
Subtotal{{ $order->money('subtotal_cents') }}
Trade discount−{{ $order->money('discount_cents') }}
@if($order->shipping_cents)Freight{{ $order->money('shipping_cents') }}
@endif
@foreach($order->tax_lines ?? [] as $taxLine)
{{ $taxLine['title'] ?? 'GST' }}{{ isset($taxLine['rate']) ? ' ('.rtrim(rtrim(number_format((float) $taxLine['rate'] * ((float) $taxLine['rate'] < 1 ? 100 : 1), 2), '0'), '.').'%)' : '' }}{{ $order->moneyFromCents((int) ($taxLine['price_cents'] ?? 0)) }}
@endforeach
@if(empty($order->tax_lines))
GST{{ $order->money('tax_cents') }}
@endif
Total {{ $order->currency }}{{ $order->money('total_cents') }}