@extends('layouts/layoutMaster') @section('title', __('locale.Dashboard')) @section('vendor-style') @vite(['resources/assets/vendor/libs/apex-charts/apex-charts.scss', 'resources/assets/vendor/fonts/flag-icons.scss']) @endsection @section('vendor-script') @vite('resources/assets/vendor/libs/apex-charts/apexcharts.js') @endsection @section('content')
@php $currency=Helper::setting('currency_symbol','currency'); @endphp
{{ __('locale.Verified') }} {{ __('locale.Users') }}

{{ $verified }}

({{ $totalUser > 0 ? round(($verified / $totalUser) * 100, 2) : 0 }}%)

{{ __('locale.Recent analytics') }}
{{ __('locale.Verified') }} {{ __('locale.Drivers') }}

{{ $totalDriver }}

({{ $totalDriver > 0 ? round(($driverVerified / $totalDriver) * 100, 2) : 0 }}%)

{{ __('locale.Total') }} {{ __('locale.Verified') }} {{ __('locale.Drivers') }}
{{ __('locale.Active Drivers') }}

{{ $driverActive }}

({{ $totalUser > 0 ? round(($driverActive / $totalUser) * 100, 2) : 0 }}%)

{{ __('locale.Active Drivers') }}
{{ __('locale.Active Stores') }}

{{ $storeActive }}

({{ $totalStore > 0 ? round(($storeActive / $totalStore) * 100, 2) : 0 }}%)

{{ __('locale.Total') }} {{ __('locale.Active Stores') }}
{{ __('locale.Order') }}

{{ __('locale.Last week') }}

0

{{ __('locale.Order') }} {{ __('locale.Sales') }}

{{ __('locale.Last Year') }}

0

{{ __('locale.Rides') }}

{{ __('locale.Last week') }}

0

0%
{{ __('locale.Rides') }} {{ __('locale.Income') }}

{{ __('locale.Last Year') }}

0

0%
{{ __('locale.Earning Reports') }}

{{ __('locale.Yearly Earnings Overview') }}

{{ __('locale.Sales') }}

{{ __('locale.Last 6 Months') }}

{{ __('locale.Support Tickets') }}

{{ __('locale.Last Week') }}

  • {{ __('locale.Total Tickets') }}
  • {{ __('locale.Open Tickets') }}
  • {{ __('locale.Closed Tickets') }}
{{ __('locale.Active Rides') }}
    @foreach ($rides as $key => $value) @endforeach
    {{ __('locale.User Details') }} {{ __('locale.Driver') }} {{ __('locale.Address') }} {{ __('locale.Price') }}
    {{ $value['user']?->name }}

    {{ $value['user']?->name }}

    {{ $value['user']?->dial_code }} {{ $value['user']?->phone }}
    {{ $value['driver']?->driver_name }}
    {{ $value->type }}
    Pickup: {{ $value->pickup_location }}
    Drop: {{ $value->drop_location }}
    {{ $currency }}{{ $value->fare }}
{{ __('locale.Transactions') }}
@foreach ($transactions as $key => $value) @endforeach
{{ __('locale.User Details') }} {{ __('locale.Date') }} {{ __('locale.Amount Details') }} {{ __('locale.Txn Detail') }} {{ __('locale.Type') }}
{{ $value['user']?->name }}

{{ $value['user']?->name }}

{{ $value['user']?->dial_code }} {{ $value['user']?->phone }}

{{ date('M d-Y', strtotime($value->created_at)) }}

{{ date('H:i', strtotime($value->created_at)) }}
Sub Amt: {{ $currency }}{{ $value->sub_amount }}
Tax: {{ $currency }}{{ $value->tax }}

Total: {{ $currency }}{{ $value->amount }}
{{ $value->txn_id }}

{{ class_basename($value->transactionable_type) }}

@endsection @section('page-script') @vite('resources/assets/js/dashboards.js') @endsection