@foreach ($yearChart as $count)
@endforeach
@foreach ($monthChart as $month => $count)
@endforeach
@foreach ($weekChart as $month => $count)
@endforeach
{{--
--}}
{{__('dashboard.view_in_year')}}
{{--
--}}
{{--
--}}
{{--
--}}
{{--
The proportion of new users
--}}
{{--
2019-06-13 ~ 2019-06-19 | Last 7 days
--}}
{{--
--}}
{{--
--}}
{{-- --}}
{{--
--}}
{{--
--}}
{{--
--}}
{{__('dashboard.view_in_year')}} ({{date('Y')}})
{{__('dashboard.year')}}: {{date('Y')}}
@php
/** @var TYPE_NAME $yearVisitorCounts */
$percentage = $yearVisitorCounts ? ($yearVisitorCounts*100)/$yearVisitorCounts . '%' : '0 %';
@endphp
{{$yearVisitorCounts}}
{{__('dashboard.visits')}}
{{__('dashboard.view_in_month')}} ({{date('F')}})
{{__('dashboard.month')}}: {{date('m')}}
@php
/** @var TYPE_NAME $monthChart */
/** @var TYPE_NAME $yearVisitorCounts */
$month = date('n');
$count = $monthChart[$month] ?? 0;
$percentage = $count ? ($count*100)/$yearVisitorCounts . '%' : '0 %';
@endphp
{{$count}}
{{__('dashboard.visits')}}
{{__('dashboard.view_in_week')}} ({{date('W')}})
{{__('dashboard.week')}}: {{date('W')}}
@php
/** @var TYPE_NAME $weekVisitorCounts */
$percentage = $weekVisitorCounts ? ($weekVisitorCounts*100)/$weekVisitorCounts . '%' : '0 %';
@endphp
{{$weekVisitorCounts}}
{{__('dashboard.visits')}}
{{__('dashboard.view_in_day')}} ({{date('l')}})
{{__('dashboard.day')}}: {{date('F')}}
@php
/** @var TYPE_NAME $dayVisitCounts */
$percentage = $dayVisitCounts ? ($dayVisitCounts*100)/$dayVisitCounts . '%' : '0 %'
@endphp
{{$dayVisitCounts}}
{{__('dashboard.visits')}}
{{__('dashboard.orders_counts')}}
{{$ordersCounts}}
{{__('dashboard.order')}}
{{--
--}}
{{--
--}}
{{--
--}}
{{--
{{__('dashboard.clients_counts')}}
--}}
{{-- --}}
{{--
--}}
{{--
{{$clientCounts}}--}}
{{--
--}}
{{--
{{__('dashboard.client')}}
--}}
{{--
--}}
{{--
--}}
{{--
--}}
{{--
--}}
{{--
--}}
{{--
--}}
{{--
--}}
{{--
{{__('dashboard.sales_revenue')}}
--}}
{{-- --}}
{{--
--}}
{{--
{{$revenueTotal}}--}}
{{--
--}}
{{--
{{__('dashboard.sar')}}
--}}
{{--
--}}
{{--
--}}
{{--
--}}
{{--
--}}
{{--
--}}
{{--
--}}
{{-- --}}
{{-- --}}
{{-- --}}
{{--
--}}
{{-- --}}
{{-- | Serial | --}}
{{-- Article title | --}}
{{-- Visited count | --}}
{{--
--}}
{{-- --}}
{{-- --}}
{{-- @foreach ($articles as $article)--}}
{{-- --}}
{{-- | {{$loop->iteration}} | --}}
{{-- {{$article->title}} | --}}
{{-- {{$article->visit_counts}} | --}}
{{--
--}}
{{-- @endforeach--}}
{{-- --}}
{{--
--}}
{{--
--}}
@endsection
@section('inner_js')
{{----}}
{{----}}
@endsection