Payment Received
{{ $payment->currency ?? 'USD' }} {{ number_format($payment->amount ?? 0, 2) }}
Payment Method: {{ ucfirst($payment->payment_method ?? 'Bank Transfer') }}
@if($payment->notes || ($payment->invoice && $payment->invoice->notes))
{{ $payment->notes ?? ($payment->invoice->notes ?? '') }}
@endif
@if($payment->customer)
@endif
@if($payment->invoice)
Paid By
@if(($payment->customer->image && \Illuminate\Support\Facades\Storage::disk('public')->exists($payment->customer->image)) || (isset($payment->customer->logo) && $payment->customer->logo && \Illuminate\Support\Facades\Storage::disk('public')->exists($payment->customer->logo)))
@endif
@endif @if($payment->customer->phone){{ $payment->customer->phone }}@endif
{{ $payment->customer->name }}
@if($payment->customer->email){{ $payment->customer->email }}@endif @if($payment->customer->phone){{ $payment->customer->phone }}@endif
Payment Details
Date: {{ ($payment->payment_date ?? now())->format('F d, Y') }}
@if($payment->transaction_id)
Txn ID: {{ $payment->transaction_id }}
@endif
@if($payment->reference)
Reference: {{ $payment->reference }}
@endif
Invoice Number
{{ $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) }}
Remaining Balance
{{ $payment->currency ?? 'USD' }} {{ number_format($payment->invoice->balance ?? 0, 2) }}
Status
Fully Paid
Notes
{{ $payment->notes }}