N
{{ $org->name }}
{{ config('nowills.tagline') }}
{{ $org->billing_address ?? $org->address }}
@if ($org->city){{ $org->city }}, @endif{{ $org->country }}
@if ($org->support_phone){{ $org->support_phone }} @endif
@if ($org->support_email)· {{ $org->support_email }}@endif
PAYMENT RECEIPT
{{ $transaction->reference }}
@if ($transaction->status === 'success')
RECEIVED
@endif
{{ $transaction->currency }} {{ number_format($transaction->amount, 2) }}
| Received from | {{ $transaction->customer->display_name }}
{{ $transaction->customer->customer_number }} |
| Payment date | {{ $transaction->paid_at?->format('l, j F Y \a\t H:i') }} |
| Payment method | {{ title_case_words($transaction->method) }} |
@if ($transaction->payer_reference)
| Payer reference | {{ $transaction->payer_reference }} |
@endif
@if ($transaction->gateway)
| Processor | {{ $transaction->gateway->name }} |
@endif
| Received by | {{ $transaction->collector?->name ?? 'Automated gateway' }} |
@if ($transaction->allocations->isNotEmpty())
Applied to
| Invoice |
Amount |
@foreach ($transaction->allocations as $allocation)
| {{ $allocation->invoice->invoice_number }}
{{ $allocation->invoice->period_start?->format('M Y') ?? '' }}
|
{{ $transaction->currency }} {{ number_format($allocation->amount_allocated, 2) }} |
@endforeach
| Total applied |
{{ $transaction->currency }} {{ number_format($transaction->amount_allocated, 2) }} |
@if ($transaction->unallocated_amount > 0)
| Held as account credit |
{{ $transaction->currency }} {{ number_format($transaction->unallocated_amount, 2) }} |
@endif
@else
This payment is held as account credit and will be applied to your next invoice.
@endif
Thank you for your business. Please keep this receipt for your records.
Generated by {{ config('nowills.name') }} v{{ config('nowills.version') }} on {{ now()->format('d M Y H:i') }}.