@if (Session::has('error'))
×
Success! {{ Session::get('error') }}
@endif
| BOOKING DETAIL | |||
| Booking ID | {{ $booking->id }} |
@if ($booking->driver_status == 1)
Driver Assigned
@if (isset($booking->bookingStatus->name))
@if ($booking->bookingStatus->name != 'Cancelled' &&
$booking->bookingStatus->name
!= 'Completed')
Complete Ride
@endif
@endif
@elseif($booking->bookingStatus && $booking->payment_status == 1)
Assign Driver
@else
@endif
@if (isset($booking->bookingStatus->name) && $booking->bookingStatus->name ==
'Cancelled')
Booking Cancelled
@endif
Loading...
Loading...
|
|
|---|---|---|---|
| Booking Status | {{ $booking->bookingStatus->name ?? ''}} @if ($booking->payment_status == 1) Paid @else Unpaid @endif | Lead Status | {{ $booking->leadStatus->name ?? ''}} |
| CUSTOMER DETAIL | |||
| Customer |
Name: {{ $booking->first_name }} {{ $booking->last_name }} Email: {{ $booking->email }} Phone: {{ $booking->phone }} |
RIDE DETAIL | |
| Passenger |
Name: {{ $booking->booking_someone_name }} Email: {{ $booking->booking_someone_email }} Phone: {{ $booking->booking_someone_phone }} |
||
| Pickup Date | {{ getDateByFormat($booking->pickup_date) }} | Pickup Time | {{ getTimeByFormat($booking->pickup_time) }} |
| Pickup | {{ $booking->pickup_location }} | ||
| Drop-off | {{ $booking->drop_location }} | ||
| Distance | {{ $booking->total_distance }} | Duration | {{ $booking->total_time }} |
| Service Type | {{ $booking->service_type == 2 ? 'Hourly' : 'Distance' }} @if ($booking->service_type == 2) / {{ $booking->duration_in_hours }} Hours @endif | Travel Type | {{ $booking->travelType->name ?? '' }} |
| Vehicle Name | {{ $booking->vehicle->name ?? 'N/A' }} Edit | Flight No | {{ $booking->flight_no ?? 'N/A' }} |
| Promo Id | {{ $booking->promo_id ?? 'N/A' }} | Payment Method | {{ $booking->payment_method ?? 'N/A' }} Edit | DRIVER DETAIL |
| Driver Name | {{ $booking->driver->name ?? 'N/A' }} Edit | Driver Phone | {{ $booking->driver->phone ?? 'N/A' }} |
| Driver Note | {{ $booking->driver_note ?? 'N/A' }} | Pickup Sign | {{ $booking->pick_up_sign ?? 'N/A' }} |
| No of Passengers | {{ $booking->no_of_passengers ?? 'N/A' }} | No of Luggage | {{ $booking->no_of_luggage ?? 'N/A' }} |
| Comments | {{ $booking->comments }} | ||
{{-- Payment Details: --}}
@hasrole('Admin')
@endhasrole
{{--
| Base Price($) | @if (auth()->user()->can('payment-editable') && $booking->payment_status == 0) @error('basePrice') {{ $message }} @enderror @elseif($booking->payment_status == 1) ${{ $basePrice }} @else @error('basePrice') {{ $message }} @enderror @endif | |
|---|---|---|
| Toll($) | @if (auth()->user()->can('payment-editable') && $booking->payment_status == 0) @error('toll') {{ $message }} @enderror @elseif($booking->payment_status == 1) ${{ $toll }} @else @error('toll') {{ $message }} @enderror @endif | |
| Standard Gratuity | @if ($inputableType === 'Manual')@if (auth()->user()->can('payment-editable') && $booking->payment_status == 0) @error('standardGratuity') {{ $message }} @enderror @elseif($booking->payment_status == 1) ${{ $standardGratuity }} @else @error('standardGratuity') {{ $message }} @enderror @endif | @else${{ $standardGratuity }} | @endif
| Administrative Charges | @if ($inputableType === 'Manual')@if (auth()->user()->can('payment-editable') && $booking->payment_status == 0) @error('administrativeCharges') {{ $message }} @enderror @elseif($booking->payment_status == 1) ${{ $administrativeCharges }} @else @error('administrativeCharges') {{ $message }} @enderror @endif | @else${{ number_format($administrativeCharges, 2) }} | @endif
| Total | ${{ $total }} | |
| Discount($) | @if (auth()->user()->can('payment-editable') && $booking->payment_status == 0) @error('discount') {{ $message }} @enderror @elseif($booking->payment_status == 1) ${{ $discount ?? 0 }} @else @error('discount') {{ $message }} @enderror @endif | |
| Grand Total | ${{ $grandTotal }} | |
| Description | ||
| @if (auth()->user()->can('payment-editable') && $booking->payment_status == 0) @elseif ($booking->payment_status == 1) {{ $description }} @else @endif | ||
Payment Methods:
--}}