@extends('admin.layouts.app') @section('content') @lang('view_pages.drivers_registered') {{ $total_drivers[0]['total'] }}@lang('view_pages.see_all') @lang('view_pages.drivers_approved'){{number_format($total_drivers[0]['approve_percentage'],2)}}% {{ $total_drivers[0]['approved'] }}@lang('view_pages.see_all') @lang('view_pages.drivers_waiting_for_approval'){{number_format($total_drivers[0]['decline_percentage'],2)}}% {{ $total_drivers[0]['decline'] }}@lang('view_pages.see_all') @lang('view_pages.users_registered') {{ $total_users }}@lang('view_pages.see_all') @if(!auth()->user()->hasRole('owner')) @lang('view_pages.notified_sos') @lang('view_pages.no_data_found') @endif @lang('view_pages.todays_trips') {{$currency}} {{$todayEarnings[0]['total']}} @lang('view_pages.today_earnings') {{$currency}} {{$todayEarnings[0]['cash']}} @lang('view_pages.by_cash') {{$currency}} {{$todayEarnings[0]['wallet']}} @lang('view_pages.by_wallet') {{$currency}} {{$todayEarnings[0]['card']}} @lang('view_pages.by_card_online') {{$currency}} {{$todayEarnings[0]['admin_commision']}} @lang('view_pages.admin_commision') {{$currency}} {{$todayEarnings[0]['driver_commision']}} @lang('view_pages.driver_earnings') @lang('view_pages.overall_earnings') {{$currency}} {{$overallEarnings[0]['total']}} @lang('view_pages.overall_earnings') @lang('view_pages.by_cash') {{$currency}} {{$overallEarnings[0]['cash']}} {{ $overallEarnings[0]['cash_percentage'] }} @lang('view_pages.by_wallet') {{$currency}} {{$overallEarnings[0]['wallet']}} {{ number_format($overallEarnings[0]['wallet_percentage'], 2) }}% @lang('view_pages.by_card_online') {{$currency}} {{$overallEarnings[0]['card']}} {{ number_format($overallEarnings[0]['card_percentage'], 2) }}% {{$currency}} {{$overallEarnings[0]['admin_commision']}} @lang('view_pages.admin_commision') {{$currency}} {{$overallEarnings[0]['driver_commision']}} @lang('view_pages.driver_earnings') @lang('view_pages.cancellation_chart') {{$trips[0]['total_cancelled']}} @lang('view_pages.total_request_cancelled') {{$trips[0]['auto_cancelled']}} @lang('view_pages.cancelled_due_to_no_drivers') {{$trips[0]['user_cancelled']}} @lang('view_pages.cancelled_by_user') {{$trips[0]['driver_cancelled']}} @lang('view_pages.cancelled_by_driver') @endsection