{{ $title ?? 'Booking' }}
@else @if($booking->start_at && $booking->payment_method == 'cash' && $booking->payment_status == 0) @else @endif @endif Share live location @endif @endcanany {{-- --}}
| Name | {{ $booking->user->name ?? '' }} | Phone | {{ $user_phone }} | ||
| {{ $booking->user->email ?? '' }} | Amount | {{ round($booking->amount, 2) . ' ' . config('constants.currency_symbol') }} | |||
| Booking Status | {{ \App\Models\Booking::$status[$booking->status] }} | Payment Status | {{ $booking->payment_status == 1 ? 'Paid' : 'Unpaid' }} | ||
| Payment Method | {{ ucfirst($booking->payment_method ?? '') }} | @if ($booking->time_cost)Pickup Time Charges | {{ $booking->time_cost }} GBP | @else@endif | |
| Created Date | {{ $booking->created_at ? date('d-m-Y h:i a', strtotime($booking->created_at)) : '' }} | ||||
| Images |
@foreach($booking->item_images as $img)
|
||||
| Pickup Proof Images |
@foreach(json_decode($booking->pickup_proof_image, true) ?? [] as $img)
|
||||
| Delivery Proof Images |
@foreach(json_decode($booking->proof_image, true) ?? [] as $img)
|
||||
| Voice Note | |||||
| Driver Signature |
|
||||
| Sr. No. | Item | Quantity |
|---|---|---|
| {{ $index + 1 }} | {{ $item['name'] ?? '-' }} | {{ $item['qty'] ?? 0 }} |
| No items found | ||
| Pickup : {{$booking->pickup??''}} | Dropoff : {{$booking->dropoff??''}} | Delivery Date : {{$booking->date??''}} {{$booking->time??''}} | |
| Pickup Floor : {{$booking->pickup_floor??''}} | Dropoff Floor: {{$booking->drop_off_floor??''}} | Is Lift Available: {{$booking->is_lift_available==1?'Yes':'No'}} | |
| Distance : {{$booking->distance}} KM | Truck Type : {{$booking->truck_type->name??''}} | Vehicle: {{$booking->vehicle->maker->name??''}} {{$booking->vehicle->model->name??''}} | |
| Note: {{$booking->note??''}} | @if($booking->driver)Driver: {{$booking->driver->name??''}} | Driver: {{$booking->driver->phone??''}} | @endif @if($booking->driver_amount)Driver amount: {{$booking->driver_amount}} | @endif
| @canany(['booking-all','booking-write']) Change Driver: @endcanany | @endifExpense: @if($booking->status != 0 && $booking->complete_at) @endif @if($booking->expenses->count()) @endif | @if($booking->status == 2) @php($rating = $booking->rating->rating??0) @php($comment = $booking->rating->comment??0) @if($rating)User Feedback: | @endif @endif|
| Total (in {{config('constants.currency_symbol')}}) : {{ number_format($booking->amount)}} | @if($expenses->sum('amount'))Total Expense : {{ number_format($expenses->sum('amount'))}} | @endif||
|---|---|---|---|
| # | Name | Phone | |
|---|---|---|---|
| 1 | {{ $booking->detail['customer_name']??$booking->user->name}} | {{ $booking->detail['customer_email']??$booking->user->email}} | {{ $booking->detail['customer_phone']??$booking->user->phone}} |