Name: {{ $payment->user->name ?? 'John Doe' }}
Email: {{ $payment->user->email ?? 'johndoe@example.com' }}
Title: {{ $trainingProgram->title ?? 'Sample Training Program' }}
Date: {{ $trainingProgram->start_date ?? '01 Jan 2025' }}
| Receipt No. | Amount | Payment Date | Payment Method |
|---|---|---|---|
| {{ $payment->receipt_number ?? 'RCP123456' }} | ₹{{ number_format($payment->amount ?? 0, 2) }} | {{ \Carbon\Carbon::parse($payment->created_at)->format('d M Y') }} | {{ ucfirst($payment->method ?? 'Online') }} |