@extends('admin.layouts.app') @section('content')
Order ID : {{ $item->request_number }}
{{--
--}}
Trip Details :

Vehicle Type : {{ $item->vehicle_type_name }}

Payment Details:

Payment Type : {{ $item->payment_opt == 1 ? 'Cash' : 'Card' }}

Amount : @if ($item->requestBill) {{ $item->currency . ' ' . $item->requestBill->total_amount }} @else - @endif

@if ($item->driverDetail)
Driver Details:

Name : {{ $item->driverDetail->name }}

Email : {{ $item->driverDetail->email }}

Phone : {{ $item->driverDetail->mobile }}

Ratings : {{ $item->driverDetail->driverDetail->rating }}

@endif @if ($item->zoneType->vehicleType)
Vehicle Details:

Plate No : {{ $item->driverDetail ? $item->driverDetail->vehicle_number : '-' }}

Color : {{ $item->driverDetail ? $item->driverDetail->car_color : '-' }}

Type : {{ $item->vehicle_type_name }}

Make : {{ $item->driverDetail ? $item->driverDetail->carMake->name : '-' }}

Model : {{ $item->driverDetail ? $item->driverDetail->carModel->name : '-' }}

@endif @if($custom_fields->count() > 0)
Additional Details:
@foreach($custom_fields as $cf)

{{ $cf->title }} : {{ $item->{$cf->slug} ?? '' }}

@endforeach
@endif
Customer Details :

Customer Detail :

Name : {{ $item->adHocuserDetail->name ?? $item->userDetail->name}}

Number : {{ $item->adHocuserDetail->mobile?? $item->userDetail->mobile }}

Activity Timeline :
    @if ($item->converted_created_at)
  • Request Made at :
    {{ $item->converted_created_at }}

  • @endif @if ($item->converted_accepted_at)
  • Accepted at :
    {{ $item->converted_accepted_at }}

  • @endif @if ($item->converted_arrived_at)
  • Arrived at :
    {{ $item->converted_arrived_at }}

  • @endif @if ($item->converted_trip_start_time)
  • Trip Started at :
    {{ $item->converted_trip_start_time }}

  • @endif @if ($item->converted_completed_at)
  • Reached to Drop location at :
    {{ $item->converted_completed_at }}

  • @endif

Pickup Details :

{{-- Coimbatore --}}

Location :
{{ $item->requestPlace->pick_address }}

Time :
{{ $item->converted_trip_start_time }}

Drop Details :

{{-- Coimbatore --}}

Location :
{{ $item->requestPlace->drop_address }}

Time :
{{ $item->converted_completed_at }}

@endsection