Payment Information
Payment Date
{{ ($payment->payment_date ?? now())->format('F d, Y') }}
Payment Method
{{ ucfirst($payment->payment_method ?? 'Bank Transfer') }}
@if($payment->transaction_id)
Transaction ID
{{ $payment->transaction_id }}
@endif
@if($payment->reference)
Reference
{{ $payment->reference }}
@endif
Customer Information
{{ $payment->customer->name }}
@if($payment->customer->email){{ $payment->customer->email }}
@endif
@if($payment->customer->phone){{ $payment->customer->phone }}@endif
Payment Breakdown
Invoice Number
{{ $payment->invoice->invoice_number }}
Invoice Total
{{ $payment->currency ?? 'USD' }} {{ number_format($payment->invoice->total ?? 0, 2) }}
Previously Paid
{{ $payment->currency ?? 'USD' }} {{ number_format(($payment->invoice->paid_amount ?? 0) - ($payment->amount ?? 0), 2) }}
Amount Paid
{{ $payment->currency ?? 'USD' }} {{ number_format($payment->amount ?? 0, 2) }}
@if($payment->invoice->balance > 0)
Remaining Balance
{{ $payment->currency ?? 'USD' }} {{ number_format($payment->invoice->balance ?? 0, 2) }}
@endif
@endif
@if($payment->invoice && $payment->invoice->balance > 0)
Outstanding Balance
Your remaining balance is {{ $payment->currency ?? 'USD' }} {{ number_format($payment->invoice->balance ?? 0, 2) }}.
Please make payment by {{ $payment->invoice->due_date->format('F d, Y') }}.