@include('pdf.partials.style')
@php $logoPath = $setting->logo_path ? public_path('storage/'.$setting->logo_path) : null; $hasLogo = $logoPath && file_exists($logoPath); @endphp| Receipt No. | {{ $payment->receipt_number }} |
| Date | {{ $payment->payment_date->format('d M Y') }} |
| Invoice | {{ $payment->invoice->number }} |
| Payment Method | Reference | Notes | Amount Received |
|---|---|---|---|
| {{ str_replace('_',' ',ucfirst($payment->payment_method)) }} | {{ $payment->reference_number ?: '-' }} | {{ $payment->notes ?: '-' }} | AED {{ number_format($payment->amount,2) }} |
| Invoice Total | AED {{ number_format($payment->invoice->grand_total,2) }} |
| Total Paid | AED {{ number_format($payment->invoice->paid_amount,2) }} |
| Balance Due | AED {{ number_format($payment->invoice->balance_due,2) }} |