@if($charterSources ?? null)
Charter billing evidence · Executed CPA {{ $charterSources->cpa_reference }} · On-Hire {{ $charterSources->certificate_number }} @if($charterSources->certificate_state !== 'issued')

The source certificate is no longer issued. Review the invoice before proceeding.

@endif
@endif
Map to OneERP receivables

Payment balances and overdue status follow posted OneERP receivable records.

{{ $invoice->reference_no }}

{{ match($invoice->invoice_type) { 'ppe' => 'PPE', 'ambrey' => 'Ambrey', default => $invoice->invoice_type } }}

{{ $invoice->customer->name }}

@if($invoice->invoice_type === 'split') PDF A (USD) PDF B (NGN) @else Download PDF @endif Edit

Invoice Date

{{ $invoice->invoice_date->format('d M Y') }}

Customer Code

{{ $invoice->displayCustomerCode() ?? '—' }}

Company

{{ $invoice->resolvedCompany()?->name ?? '—' }}

Prepared By

{{ $invoice->creator?->name ?? '—' }}

@if($invoice->title || $invoice->po_number)

{{ $invoice->title }}{{ $invoice->po_number ? ' - PO '.$invoice->po_number : '' }}

@endif

Addressed To

Customer's Name: {{ $invoice->customer->name }}

@if($invoice->customer->company_name)

Company's Name: {{ $invoice->customer->company_name }}

@endif

Customer's Address: {{ $invoice->customer->address }}

@if($invoice->customer->country)

Country: {{ $invoice->customer->country }}

@endif
@if($invoice->invoice_type === 'ppe') @endif @if($invoice->invoice_type === 'ambrey') @endif @foreach($invoice->displayItems() as $item) @if($invoice->invoice_type === 'ppe') @endif @if($invoice->invoice_type === 'ambrey') @endif @endforeach
Description Unit Cost {{ $invoice->invoice_type === 'ambrey' ? 'No of Days' : 'Qty' }}TaxableFSV Cost VAT ConsumablesAmount Remark
{{ $item->description }} {{ number_format($item->unit_cost, 2) }} {{ rtrim(rtrim(number_format($item->quantity, 2), '0'), '.') }} {{ $item->unit_label }}{{ $item->taxable ? 'X' : '' }}{{ number_format($item->fsv_cost, 2) }} {{ number_format($item->vat_amount, 2) }} {{ number_format($item->consumables, 2) }}{{ number_format($item->line_total, 2) }} {{ $item->remark }}
@if($invoice->invoice_type === 'split')

USD Portion — Ref. {{ $invoice->referenceNumberFor('A') }} ({{ $invoice->split_percentage }}%)

SubtotalUSD {{ number_format($invoice->usd_subtotal, 2) }}
@if($invoice->vat_enabled)
VAT ({{ rtrim(rtrim(number_format($invoice->vat_rate, 2), '0'), '.') }}%)USD {{ number_format($invoice->usd_tax_total, 2) }}
@endif
TotalUSD {{ number_format($invoice->usd_grand_total, 2) }}

NGN Portion — Ref. {{ $invoice->referenceNumberFor('B') }} ({{ 100 - $invoice->split_percentage }}%)

SubtotalNGN {{ number_format($invoice->ngn_subtotal, 2) }}
@if($invoice->vat_enabled)
VAT ({{ rtrim(rtrim(number_format($invoice->vat_rate, 2), '0'), '.') }}%)NGN {{ number_format($invoice->ngn_tax_total, 2) }}
@endif
TotalNGN {{ number_format($invoice->ngn_grand_total, 2) }}

CBN Rate used: {{ number_format($invoice->exchange_rate_snapshot, 4) }}

@elseif($invoice->invoice_type === 'ppe')
Subtotal{{ $invoice->currency }} {{ number_format($invoice->subtotal, 2) }}
Taxable{{ $invoice->currency }} {{ number_format($invoice->taxable_amount, 2) }}
@if($invoice->vat_enabled)
Tax rate (VAT){{ rtrim(rtrim(number_format($invoice->vat_rate, 2), '0'), '.') }}%
Tax due{{ $invoice->currency }} {{ number_format($invoice->tax_total, 2) }}
@endif
Total VAT Inclusive{{ $invoice->currency }} {{ number_format($invoice->grand_total, 2) }}
@elseif($invoice->invoice_type === 'ambrey')
Total{{ $invoice->currency }} {{ number_format($invoice->subtotal, 2) }}
@if($invoice->discount_amount > 0)
Discount-{{ $invoice->currency }} {{ number_format($invoice->discount_amount, 2) }}
@endif
Amount Payable{{ $invoice->currency }} {{ number_format($invoice->grand_total, 2) }}
@else
Subtotal{{ $invoice->currency }} {{ number_format($invoice->subtotal, 2) }}
@if($invoice->invoice_type === 'bunker' && $invoice->discount_amount > 0)
Discount-{{ $invoice->currency }} {{ number_format($invoice->discount_amount, 2) }}
@endif @if($invoice->vat_enabled && $invoice->tax_total > 0)
VAT ({{ rtrim(rtrim(number_format($invoice->vat_rate, 2), '0'), '.') }}%){{ $invoice->currency }} {{ number_format($invoice->tax_total, 2) }}
@endif
Amount Payable{{ $invoice->currency }} {{ number_format($invoice->grand_total, 2) }}
@endif @if($invoice->bankAccounts->isNotEmpty())

Bank Details

@foreach($invoice->bankAccounts as $account)

{{ $account->label ?? ($account->currency === 'NGN' ? 'Nigerian Account (NGN)' : 'US Account (USD)') }}

@if($account->bank_name)
Bank: {{ $account->bank_name }}
@endif @if($account->account_name)
Account Name: {{ $account->account_name }}
@endif @if($account->account_number)
Account No: {{ $account->account_number }}
@endif @if($account->currency === 'NGN') @if($account->sort_code)
Sort Code: {{ $account->sort_code }}
@endif @if($account->iban)
IBAN: {{ $account->iban }}
@endif @else @if($account->routing_number)
Routing No: {{ $account->routing_number }}
@endif @endif @if($account->tin)
TIN: {{ $account->tin }}
@endif @if($account->swift)
SWIFT: {{ $account->swift }}
@endif
@endforeach
@endif @if($invoice->other_comment)

Other Comment

{{ $invoice->other_comment }}

@endif @if($invoice->signatories->isNotEmpty())
@foreach($invoice->signatories as $signatory)
@if($signatory->signature_path) {{ $signatory->name }} @endif

{{ $signatory->name }}

{{ $signatory->position }}

@endforeach
@endif

Update Status

@csrf @method('PATCH')

Customer

{{ $invoice->customer->name }}

Code: {{ $invoice->displayCustomerCode() ?? '—' }}

{{ $invoice->customer->email }}

{{ $invoice->customer->phone }}

View customer profile
@if(auth()->user()->isAccounts())

Danger Zone

@endif