@php $money = fn ($value) => 'R '.number_format((float) $value, 2); $company = \App\Models\CompanySetting::current(); $bankingLines = $company->bankingDetailsLines($invoice->invoice_number); @endphp

Secure payment

Pay invoice {{ $invoice->invoice_number }}

Pay online or upload EFT proof.

Amount due now

{{ $money($amount) }}

{{ $currency }} · balance due

Invoice total

{{ $money($invoice->grand_total) }}

Already paid

{{ $money($invoice->totalPaid()) }}

Due date

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

Secure online payment

Pay the balance online.

@csrf

Pay by EFT / bank transfer

Transfer, then upload proof.

Reference

{{ $invoice->invoice_number }}

EFT amount

{{ $money($amount) }}

@if ($bankingLines !== [])
@foreach ($bankingLines as $line)
@if ($line['label']) {{ $line['label'] }} @endif {{ $line['value'] }}
@endforeach
@if ($pendingEftPayment)

Proof already submitted

Waiting for approval: {{ $pendingEftPayment->gateway_reference }}.

@else
@csrf

Counts after approval.

@endif @else

Contact us for EFT details.

@endif
Back to invoice

Pending payments need approval.