| Address: | {{ $company->address }} |
| City: | {{ $company->city }} |
| VAT Number: | {{ $company->vat_number }} |
| Phone: | {{ $company->phone }} |
| Email: | {{ $company->email }} |
| Fax: | {{ $company->fax }} |
{{ $company->bank_account_name ?? $company->name }}
@if($company->bank_name)Bank Name: {{ $company->bank_name }}
@endif @if($company->bank_account_number)Acc No: {{ $company->bank_account_number }}
@endif @if($company->bank_sort_code)Branch Code: {{ $company->bank_sort_code }}
@endif{{ $invoice->customer->account_code ?? 'N/A' }}
{{ $invoice->customer->name ?? 'CUSTOMER NAME' }}
@if($invoice->contact)Attn: {{ $invoice->contact->name }}
@endif @if($invoice->customer->address){{ $invoice->customer->address }}
@endif @if($invoice->customer->city){{ $invoice->customer->city }}
@endif @if($invoice->customer->postal_code){{ $invoice->customer->postal_code }}
@endif @php $invoiceDisplayEmail = null; if ($invoice->email && stripos($invoice->email, 'sage-migration.local') === false) { $invoiceDisplayEmail = $invoice->email; } elseif ($invoice->customer->email && stripos($invoice->customer->email, 'sage-migration.local') === false) { $invoiceDisplayEmail = $invoice->customer->email; } @endphp @if($invoiceDisplayEmail){{ $invoiceDisplayEmail }}
@endif @if($invoice->phone){{ $invoice->phone }}
@elseif($invoice->customer->phone){{ $invoice->customer->phone }}
@endif{{ $invoice->description }}
| Item Description | Item Code | QTY | Price (Ex) | Discount | Tax | Total (Excl) |
|---|---|---|---|---|---|---|
| {{ $group->name }} | ||||||
|
{{ $item->description ?? 'Item Description' }}
@if(!empty($item->serialNumbers) && $item->serialNumbers->count() > 0)
Serial Numbers:
@foreach($item->serialNumbers as $serial)
{{ $serial->serial_number }}{{ !$loop->last ? ', ' : '' }}
@endforeach
@endif
|
{{ ($item->product->sku ?? $item->product->barcode ?? $item->product->item_code ?? '—') }} | {{ $company->formatNumber($item->quantity ?? 0, 2) }} | {{ $company->formatCurrencyZar($item->unit_price ?? 0) }} | @if(($item->discount_percentage ?? 0) > 0) {{ $company->formatNumber($item->discount_percentage, 2) }}% @elseif(($item->discount_amount ?? 0) > 0) {{ $company->formatCurrencyZar($item->discount_amount) }} @else — @endif | @if($item->taxRate) {{ $company->formatCurrencyZar($item->tax_amount ?? 0) }} @else — @endif | {{ $company->formatCurrencyZar($item->total ?? 0) }} |
{{ $invoice->notes }}
@endif @if($invoice->terms_conditions){{ $invoice->terms_conditions }}
@endif