{{ $data['dashboard']['total_driver'] }}

{{ __('message.total_driver') }}

{{ $data['dashboard']['pending_driver'] }}

{{ __('message.pending_driver') }}

{{ $data['dashboard']['total_rider'] }}

{{ __('message.total_rider') }}

{{ $data['dashboard']['total_ride'] }}

{{ __('message.total_ride') }}

{{ getPriceFormat($data['dashboard']['today_earning']) }}

{{ __('message.today_earning') }}

{{ getPriceFormat($data['dashboard']['monthly_earning']) }}

{{ __('message.monthly_earning') }}

{{ getPriceFormat($data['dashboard']['total_earning']) }}

{{ __('message.total_earning') }}

{{ $data['dashboard']['complaint'] }}

{{ __('message.complaint') }}

{{ __('message.recent_request') }}

@if( count($recent_riderequest) > 0 ) @foreach ($recent_riderequest as $riderequest) @php $status = 'primary'; $ride_status = $riderequest->status; switch ($ride_status) { case 'pending': $status = 'warning'; break; case 'canceled': $status = 'danger'; break; case 'completed': $status = 'success'; break; default: // $ride_status = '-'; break; } @endphp @endforeach @else @endif
# {{ __('message.rider') }} {{ __('message.requested_date') }} {{ __('message.driver') }} {{ __('message.status') }}
{{ $riderequest->id }} {{ optional($riderequest->rider)->display_name ?? '-' }} {{ dateAgoFormate($riderequest->datetime, true) }} {{ optional($riderequest->driver)->display_name ?? '-' }} {{ __('message.'.$riderequest->status) }}
{{ __('message.no_record_found') }}

{{ __('message.income') }}

@section('bottom_script')