@extends('layouts.admin.master') @section('title') Reservation Details @endsection @section('content')
| Registration Type | {{ ucfirst($reservation->registration_type) }} |
|---|---|
| Event Name | {{ $reservation->event->name ?? 'N/A' }} |
| Event Date | @if ($reservation->eventDate) {{ \Carbon\Carbon::parse($reservation->eventDate->start_date_time)->format('d M Y, h:i A') }} - {{ \Carbon\Carbon::parse($reservation->eventDate->end_date_time)->format('d M Y, h:i A') }} @else N/A @endif |
| User Name | {{ $reservation->user->name ?? 'N/A' }} |
| Payment Status | @if ($reservation->payment_status === 'success') Success @else Pending @endif |
{{ $reservation->special_requirements ?? 'N/A' }}
| Participant Type | Count | Fee (BDT) |
|---|---|---|
| Alumni | {{ $invoice['alumni'] ?? 0 }} | {{ number_format($invoice['alumni_fee'] ?? 0, 2) }} |
| Spouse | {{ $invoice['spouse'] ?? 0 }} | {{ number_format($invoice['spouse_fee'] ?? 0, 2) }} |
| Children (Below 5) | {{ $invoice['children_below_5'] ?? 0 }} | {{ number_format($invoice['children_below_5_fee'] ?? 0, 2) }} |
| Children (5–12) | {{ $invoice['children_5_to_12'] ?? 0 }} | {{ number_format($invoice['children_5_to_12_fee'] ?? 0, 2) }} |
| Children (Above 12) | {{ $invoice['children_above_12'] ?? 0 }} | {{ number_format($invoice['children_above_12_fee'] ?? 0, 2) }} |
| Driver | {{ $invoice['driver'] ?? 0 }} | {{ number_format($invoice['driver_fee'] ?? 0, 2) }} |
| Maid | {{ $invoice['maid'] ?? 0 }} | {{ number_format($invoice['maid_fee'] ?? 0, 2) }} |
| Other Guests | {{ $invoice['other_guest'] ?? 0 }} | {{ number_format($invoice['other_guest_fee'] ?? 0, 2) }} |
| Total (Before Maintenance Fee) | {{ number_format($subTotal, 2) }} | |
| Maintenance Fee ({{ $maintenanceFeePercent }}%) | {{ number_format($maintenanceFeeAmount, 2) }} | |
| Grand Total | {{ number_format($grandTotal, 2) }} |