@include('receipts.partials.pdf-styles')
@php $companySettings = \App\Models\CompanySetting::getSettings(); @endphp
|
Receipt
{{ $payment->payment_number ?? '—' }}
|
| PAYMENT RECEIPT |
| Payment information | |
|
Date
{{ ($payment->payment_date ?? now())->format('F d, Y') }}
|
Method
{{ ucfirst(str_replace('_', ' ', (string) ($payment->payment_method ?? '—'))) }}
|
|
Transaction ID
{{ $payment->transaction_id }}
| |
|
Reference
{{ $payment->reference }}
| |
| Customer |
| {{ $payment->customer->name }} |
|
@if($payment->customer->email){{ $payment->customer->email }}@endif
@if($payment->customer->phone)@if($payment->customer->email) @endif{{ $payment->customer->phone }}@endif |
| @if($payment->invoice ?? null)Payment breakdown @else Summary @endif | |
| Invoice # | {{ $payment->invoice->invoice_number }} |
| Invoice total | {{ $payment->currency ?? 'USD' }} {{ number_format($payment->invoice->total ?? 0, 2) }} |
| Amount paid | {{ $payment->currency ?? 'USD' }} {{ number_format($payment->amount ?? 0, 2) }} |
| Balance due | {{ $payment->currency ?? 'USD' }} {{ number_format($payment->invoice->balance, 2) }} |
| Notes |
| {{ $payment->notes }} |
|
Thank you for your payment
Official proof of payment — retain for your records.
|