@extends('admin.layouts.container') @section('content')
{{__('dashboard.all_visits')}}

{{__('dashboard.website_visits')}}
{{$allUsersCounts}}
{{__('dashboard.visits_this_year')}} ({{date('Y')}})
{{$yearUsers}}
{{__('dashboard.month_visits')}} ({{ __('web.'.date('F')) }})
{{$monthUsers}}
{{__('dashboard.day_visits')}} ({{ __('web.'.date('l')) }})
{{!empty($dayUsers) ? $dayUsers : 0}}
{{__('dashboard.now_visits')}}
{{!empty($nowUsersCounts) ? $nowUsersCounts : 0}}
{{__('dashboard.count_members')}}
{{!empty($members) ? $members : 0}}
{{__('dashboard.orders_total')}}
{{!empty($orders) ? $orders : 0}}
{{__('dashboard.categories_visits')}}
@foreach($categories_visits as $key=>$row) @endforeach
# {{__('dashboard.category')}} {{__('dashboard.visits')}}
{{$key+1}} {{$row->currentDescription->title}} {{$row->visits}}
{{__('dashboard.categories_total')}}
@foreach($categories as $key=>$row) @endforeach
# {{__('dashboard.category')}} {{__('dashboard.total')}}
{{$key+1}} {{$row->currentDescription->title}} {{$row->count ?? '0'}} {{__('web.sar')}}
{{__('dashboard.products_total')}}
@foreach($products as $key=>$row) @endforeach
# {{__('dashboard.product')}} {{__('dashboard.total')}}
{{$key+1}} {{$row->currentDescription->title}} {{$row->count ?? '0'}} {{__('web.sar')}}
@endsection @section('inner_js') @endsection