@foreach($list as $booking) @endforeach
Booking ID Customer Name Customer Phone Cab Type Journey Type Vehicle Name Vehicle Number Vehicle Category Pickup Date Pickup Time Pickup Location Drop Location From City To City Total Distance Booking Amount Paid Amount Remaining Amount Total Amount Grand Total Coupon Discount Payment Method Status Driver ID Departure Time Round Trip Cancelled By Cancellation Reason Seats Booked Created At Updated At
{{ $booking->booking_id }} {{ $booking->getUser->name ?? 'N/A' }} {{ $booking->getUser->phone ?? 'N/A' }} {{ ucfirst($booking->cab_type) }} {{ $booking->journey_type ? ucfirst(str_replace('_', ' ', $booking->journey_type)) : 'N/A' }} {{ $booking->getVehicle->name ?? 'N/A' }} {{ $booking->getVehicle->vehicle_number ?? 'N/A' }} {{ $booking->getCab->getVehicleCategory->name ?? 'N/A' }} {{ $booking->pickup_date }} {{ $booking->pickup_time }} {{ $booking->pickup_location }} {{ $booking->drop_location }} {{ $booking->getCab->getDestinationFrom->name ?? 'N/A' }} {{ $booking->getCab->getDestinationTo->name ?? 'N/A' }} {{ $booking->getCab->total_distance ? $booking->getCab->total_distance . ' km' : 'N/A' }} ₹{{ number_format($booking->booking_amount, 2) }} ₹{{ number_format($booking->paid_amount, 2) }} ₹{{ number_format($booking->remaining_amount, 2) }} ₹{{ number_format($booking->total_amount, 2) }} ₹{{ number_format($booking->grand_total, 2) }} ₹{{ number_format($booking->coupon_discount, 2) }} {{ ucfirst($booking->payment_method) }} {{ ucfirst($booking->status) }} {{ $booking->driver_id ?? 'Not Assigned' }} {{ $booking->departure_time ?? 'N/A' }} {{ $booking->is_round_trip ? 'Yes' : 'No' }} {{ $booking->cancelled_by ? ucfirst($booking->cancelled_by) : 'N/A' }} {{ $booking->cancellation_reason ?? 'N/A' }} {{ $booking->getSeatBookings->count() > 0 ? $booking->getSeatBookings->count() . ' seats' : 'N/A' }} {{ $booking->created_at->format('Y-m-d H:i:s') }} {{ $booking->updated_at->format('Y-m-d H:i:s') }}