@extends('layouts.back-end.app') @section('title', \App\CPU\translate('Dashboard')) @push('css_or_js') @endpush @section('content') @if(auth('admin')->user()->admin_role_id==1 || \App\CPU\Helpers::module_permission_check('dashboard'))

{{\App\CPU\translate('business_analytics')}}

@include('admin-views.partials._dashboard-order-stats',['data'=>$data])

{{\App\CPU\translate('admin_wallet')}}

@include('admin-views.partials._dashboard-wallet-stats',['data'=>$data])

{{\App\CPU\translate('earning_statistics')}}

@include('admin-views.partials._top-customer',['top_customer'=>$data['top_customer']])
@include('admin-views.partials._top-store-by-order',['top_store_by_order_received'=>$data['top_store_by_order_received']])
@include('admin-views.partials._top-selling-store',['top_store_by_earning'=>$data['top_store_by_earning']])
@include('admin-views.partials._most-rated-products',['most_rated_products'=>$data['most_rated_products']])
@include('admin-views.partials._top-selling-products',['top_sell'=>$data['top_sell']])
@include('admin-views.partials._top-delivery-man',['top_deliveryman'=>$data['top_deliveryman']])
@else
@endif @endsection @push('script') @endpush @push('script_2') @endpush