Receipt of Payment

Booking ID: #{{ $booking->id }}

@php $statusClass = [ 'pending' => 'status-pending', 'need_payment' => 'status-need_payment', 'awaiting_verification' => 'status-awaiting_verification', 'booked' => 'status-booked', 'rejected' => 'status-rejected', 'cancelled' => 'status-rejected', ][$booking->status] ?? 'status-pending'; @endphp {{ ucfirst(str_replace('_', ' ', $booking->status)) }}
Billed To {{ $booking->user->name }}
{{ $booking->user->email }}
{{ $booking->user->phone }}
Facility {{ $booking->facility->name }}
Location {{ $booking->facility->dewan->name ?? 'Main Venue' }}
Date {{ \Carbon\Carbon::parse($booking->date)->format('l, d F Y') }}
Time {{ \Carbon\Carbon::parse($booking->time_start)->format('h:i A') }} – {{ \Carbon\Carbon::parse($booking->time_end)->format('h:i A') }}
Total Paid
RM{{ number_format($booking->total_amount, 2) }}