Cab Booking Service
Invoice #{{ $data->booking_id }}Date: {{ \Carbon\Carbon::parse($data->created_at)->format('d M Y') }}
Status: {{ ucfirst($data->status) }}
| Name: | {{ $data->getUser->name }} |
| Phone: | {{ $data->getUser->phone }} |
| Email: | {{ $data->getUser->email }} |
| From: | {{ $data->getCab->getDestinationFrom->name ?? $data->pickup_location }} |
| To: | {{ $data->getCab->getDestinationTo->name ?? $data->drop_location }} |
| Date & Time: | {{ \Carbon\Carbon::parse($data->pickup_date . ' ' . $data->pickup_time)->format('d M Y, h:i A') }} |
| Journey Type: | {{ ucwords(str_replace('_', ' ', $data->journey_type)) }} |
| Distance: | {{ $data->getCab->total_distance ?? 'N/A' }} km |
| Vehicle: | {{ $data->getVehicle->name }} |
| Category: | {{ $data->getCab->getVehicleCategory->name }} |
| Vehicle Number: | {{ $data->getVehicle->vehicle_number }} |
| Seats: | {{ $data->getVehicle->number_of_seat }} |
| Color: | {{ $data->getVehicle->color }} |
| Year: | {{ $data->getVehicle->year }} |
| Description | Amount (₹) |
|---|---|
| Base Fare ({{ $data->getCab->total_distance ?? 'N/A' }} km) | {{ number_format($data->booking_amount, 2) }} |
| Discount Applied Coupon: {{ $data->coupon_detail['code'] }} ({{ $data->coupon_detail['discount'] }}{{ $data->coupon_detail['type'] == 'percentage' ? '%' : '₹' }} off) | -{{ number_format($data->coupon_discount, 2) }} |
| Sub Total | {{ number_format($data->total_amount, 2) }} |
| Grand Total | ₹{{ number_format($data->grand_total, 2) }} |
| Payment Method: | {{ ucfirst($data->payment_method) }} |
| Paid Amount: | ₹{{ number_format($data->paid_amount, 2) }} |
| Remaining Amount: | ₹{{ number_format($data->remaining_amount, 2) }} |
Code: {{ $data->coupon_detail['code'] }}
Discount: {{ $data->coupon_detail['discount'] }}{{ $data->coupon_detail['type'] == 'percentage' ? '%' : '₹' }}
Thank you for choosing RedGoCab!
This is a computer generated invoice and does not require a signature.