@extends('frontend.master') @section('meta') @endsection @section('content')

Booking Details

Booking ID: {{ $booking->uid }}
Date: {{$booking->created_at->format('d-m-Y') }}
Customer Information:

User Name: {{ $booking->user->name }}

Route Details:
@foreach($booking->service_bookings as $tr)
Pickup. {{$loop->iteration}}
From :{{$tr->detail['from_city']}}
To :{{$tr->detail['to_city']}}
Date :{{ date('d-m-Y',strtotime($tr->detail['date'])) . ' at ' . $tr->detail['time'] }}
{{ucfirst($tr->detail['model']??'')}}
@php $image = \App\Models\VehicleModel::where('name', $tr->detail['model'])->value('image') ?? 0; @endphp Car Icon
@endforeach
Amount Details:
Amount: {{$booking->currency_symbol}} {{number_format($booking->user_currency_amt)}}
@if($booking->payment_status == 0 && $booking->payment_method=='cash')
@csrf
@else
Status: Paid
@endif
@endsection