Consultation Receipt

Receipt ID: {{ $settlement->id }} • Billed at: {{ optional($settlement->created_at)->format('F j, Y \a\t g:i A') }}
Patient: {{ $patient->name ?? '—' }}
Email: {{ $patient->email ?? '—' }}
Patient Number: {{ $patient->patient_number ?? '—' }}
Doctor: {{ $doctor->name ?? '—' }}
Speciality: {{ $doctor?->healthcareProfessional?->speciality ?? '—' }}
Consultation: #{{ $consultation->id ?? $settlement->consultation_id ?? $settlement->id }}
Scheduled: {{ $consultation?->scheduled_at?->format('F j, Y \a\t g:i A') ?? '—' }}
Type: {{ $consultation?->consultation_type ?? '—' }}
Payment breakdown (UGX)
Item Amount
Amount paid by patient {{ number_format((float) $amountPaid, 2) }}
Platform fee ({{ number_format((float) $platformFeePercent, 2) }}%) {{ number_format((float) $settlement->platform_fee, 2) }}
Doctor earning {{ number_format((float) $doctorEarning, 2) }}
Thank you for using Dr. O Virtual Consultations.