{{ $i++ }} |
{{ $result->created_at->format("m/d/Y") }} |
{{$result->request_number}} |
{{ $result->converted_trip_start_time ?? '-' }} |
{{ $result->converted_completed_at ?? '-' }} |
{{$result->userDetail ? $result->userDetail->name : '-'}} |
{{$result->driverDetail ? $result->driverDetail->name : '-'}} |
@if($result->owner_id)
{{$result->ownerDetail ? $result->ownerDetail->owner_name : '-'}} |
@else
{{"Individual"}} |
@endif
@if($result->is_cancelled == 1)
@lang('view_pages.cancelled') |
@elseif($result->is_completed == 1)
@lang('view_pages.completed') |
@elseif($result->is_trip_start == 0 && $result->is_cancelled == 0)
@lang('view_pages.not_started') |
@else
- |
@endif
@if ($result->is_paid)
@lang('view_pages.paid') |
@else
@lang('view_pages.not_paid') |
@endif
@if ($result->payment_opt == 0)
@lang('view_pages.card') |
@elseif($result->payment_opt == 1)
@lang('view_pages.cash') |
@elseif($result->payment_opt == 2)
@lang('view_pages.wallet') |
@else
@lang('view_pages.cash_wallet') |
@endif
{{ $result->vehicle_type_name }} |
@php
$later = $result->is_later;
$rental = $result->is_rental;
@endphp
@if($later == 0)
@if(($later == 0) && ($rental == 0))
@lang('view_pages.regular_instant') |
@else(($later == 0) && ($rental == 1))
@lang('view_pages.rental_instant') |
@endif
@else($later == 1)
@if(($later == 1) && ($rental == 0))
@lang('view_pages.regular_scheduled') |
@else(($later == 1) && ($rental == 1 ))
@lang('view_pages.rental_scheduled') |
@endif
@endif
{{ $result->total_time .' Mins' }} |
{{ $result->total_distance .' '. $result->request_unit}} |
{{ $result->requestBill ? $result->currency .' '. $result->requestBill->driver_commision : '-' }} |
{{ $result->requestBill ? $result->currency .' '. $result->requestBill->admin_commision_with_tax : '-' }} |
{{ $result->requestBill ? $result->currency .' '. $result->requestBill->total_amount : '-' }} |
@empty