@extends('admin.layout.base')
@section('title', 'Request details ')
@section('content')
Request details
Back
- User Name :
-
@if(@$request->user)
{{ $request->user?@$request->user->first_name:'' }}
@else
N/A
@endif
- Provider Name :
@if($request->provider)
- {{ $request->provider?$request->provider->first_name:'' }}
@else
- Provider not yet assigned!
@endif
- Total Distance :
- {{ $request->distance ? $request->distance : '-' }}
@if($request->status == 'SCHEDULED')
- Ride Scheduled Time :
-
@if($request->schedule_at != "0000-00-00 00:00:00")
{{ date('jS \of F Y h:i:s A', strtotime($request->schedule_at)) }}
@else
-
@endif
@else
@if($request->status != "CANCELLED")
- Ride Start Time :
-
@if($request->started_at)
{{ date('jS \of F Y h:i:s A', strtotime($request->started_at)) }}
@else
-
@endif
- Ride End Time :
-
@if($request->finished_at)
{{ date('jS \of F Y h:i:s A', strtotime($request->finished_at)) }}
@else
-
@endif
@endif
@endif
- OTP :
- {{ $request->otp ? $request->otp : '-' }}
- Pickup Address :
- {{ $request->s_address ? $request->s_address : '-' }}
- Drop Address :
- {{ $request->d_address ? $request->d_address : '-' }}
@if($request->payment)
- Base Price :
- {{ currency($request->payment->fixed) }}
- Distance Price :
- {{ currency($request->payment->distance) }}
- Discount Price :
- {{ currency($request->payment->discount) }}
- ETA Discount Price :
- {{ currency($request->payment->eta_discount) }}
- Tax Price :
- {{ currency($request->payment->tax) }}
- Surge Price :
- {{ currency($request->payment->surge) }}
- Total Amount :
- {{ currency($request->payment->total) }}
- Wallet Deduction :
- {{ currency($request->payment->wallet) }}
- Paid Amount :
- {{ currency($request->payment->payable) }}
- Provider Earnings:
- {{ currency($request->payment->provider_pay) }}
- Provider Admin Commission :
- {{ currency($request->payment->provider_commission) }}
@endif
- Ride Status :
-
{{ $request->status }}
@endsection
@section('styles')
@endsection
@section('scripts')
@endsection