Thank you for your payment. Your payment ID is {{ $payment->paypal_id }}.
--}}| User | {{ $booking->user->email }} | |
|---|---|---|
| Car Model | {{ $booking->car->name }} | |
| Fuel type | {{ $booking->car->fuel_type }} | |
| Book_date | {{ $booking->formatted_book_date }} | |
| Return_date | {{ $booking->formatted_return_date }} | |
| Booking Duration | {{ $booking->duration_in_days }} day's | |
| Price per day | Rs. {{ $booking->car->price }} | |
| {{ $booking->duration_in_days }} day's Total Price | Rs. {{ $booking->duration_in_days * $booking->car->price}} | |
| Booking status | @if ($booking->book_status === 'pending') {{ ucfirst($booking->book_status) }} @elseif($booking->book_status === 'approved') {{ ucfirst($booking->book_status) }} @elseif($booking->book_status === 'rejected') {{ ucfirst($booking->book_status) }} @else {{ ucfirst($booking->book_status) }} @endif | |
| Payment status | @if ($booking->payment->status === 'CANCELED') {{ $booking->payment->status }} @elseif($booking->payment->status === 'APPROVED') {{ $booking->payment->status }} {{-- PAID --}} @elseif($booking->payment->status === 'COMPLETED') {{ $booking->payment->status }} PAID @else {{ $booking->payment->status }} ... @endif |