@extends('backend.layouts.app') @section('content') @if(env('MAIL_USERNAME') == null && env('MAIL_PASSWORD') == null)
{{translate('Please Configure SMTP Setting to work all email sending functionality')}}, {{ translate('Configure Now') }}
@endif @if(Auth::user()->user_type == 'admin' || in_array('25', json_decode(Auth::user()->staff->role->permissions)))
{{ translate('Total') }} {{ translate('Customer') }}
{{ \App\Models\User::where('user_type', 'customer')->where('email_verified_at', '!=', null)->count() }}
{{ translate('Total') }} {{ translate('Order') }}
{{ \App\Models\Order::count() }}
{{ translate('Total') }} {{ translate('Product category') }}
{{ \App\Models\Category::count() }}
{{ translate('Total') }} {{ translate('Product brand') }}
{{ \App\Models\Brand::count() }}
{{ translate('Products') }}
{{ translate('Sellers') }}
@endif @if(Auth::user()->user_type == 'admin' || in_array('25', json_decode(Auth::user()->staff->role->permissions)))
{{ translate('Category wise product sale') }}
{{ translate('Category wise product stock') }}
@endif
{{ translate('Top 12 Products') }}
@endsection @section('script') @endsection