@php $configData = Helper::appClasses(); @endphp @extends('layouts/layoutMaster') @section('title', __('locale.Dashboard')) @section('vendor-style') @vite(['resources/assets/vendor/libs/apex-charts/apex-charts.scss', 'resources/assets/vendor/libs/swiper/swiper.scss', 'resources/assets/vendor/libs/datatables-bs5/datatables.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-responsive-bs5/responsive.bootstrap5.scss', 'resources/assets/vendor/fonts/flag-icons.scss']) @endsection @section('page-style') @vite('resources/assets/vendor/scss/pages/cards-advance.scss') @endsection @section('vendor-script') @vite(['resources/assets/vendor/libs/apex-charts/apexcharts.js', 'resources/assets/vendor/libs/swiper/swiper.js', 'resources/assets/vendor/libs/datatables-bs5/datatables-bootstrap5.js']) @endsection @section('page-script') {{-- Pass PHP arrays to JS --}} @vite('resources/assets/js/dashboards-store.js') @endsection @section('content')
@php $currency=Helper::setting('currency_symbol','currency'); @endphp
{{ __('locale.Order Analytics') }}
{{ __('locale.Total Orders') }}
  • {{ $orderCount->count() }}

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

  • {{ $orderCount->sum('items_count') }}

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

  • {{ $pendingOrderCount }}

    {{ __('locale.Pending Orders') }}

Website Analytics
{{ __('locale.Product Analytics') }}
{{ __('locale.Total Products') }}
  • {{ $productCount }}

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

{{ __('locale.Wallet') }}
Website Analytics
{{ __('locale.Average Daily Sales') }}

{{ __('locale.Total Sales This Month') }}

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

{{ $sales_percent >= 0 ? '+' : '' }}{{ $sales_percent }}%

{{ $currency }}{{ $sales->total_sales }}

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

{{ $orders_percent >= 0 ? '+' : '' }}{{ $orders_percent }}%
{{ $sales->total_orders }}
{{ __('locale.Earning Reports') }}

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

{{ $currency }}{{ number_format($earnings, 2) }}

{{ $percentageChange >= 0 ? '+' : '' }}{{ $percentageChange }}%
{{ __('locale.You informed of this week compared to last week') }}
{{ __('locale.Earnings') }}

{{ $currency }}{{ number_format($earnings, 2) }}

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

{{ $currency }}{{ number_format($profit, 2) }}

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

{{ $currency }}{{ number_format($expenses, 2) }}

{{ __('locale.Total Earning') }}

{{ $currency }}{{ number_format($totalRevenue, 2) }}

@if ($percentageChangeList >= 0)
{{ number_format($percentageChangeList, 1) }}%
@else
{{ number_format(abs($percentageChangeList), 1) }}%
@endif
{{ __('locale.Total Revenue') }}
+{{ $currency }}{{ number_format($totalRevenue, 2) }}
{{ __('locale.Total Sales') }}
{{ __('locale.Orders Count') }}
{{ $totalSales }}
@endsection