@extends('store.layouts.container') @section('content')
{{__('dashboard.today_orders_total')}}

SAR {{!empty($today_orders_total) ? $today_orders_total : 0}}

{{--
25,5% +4k Today
--}}
{{__('dashboard.month_orders_total')}}

SAR {{!empty($month_orders_total) ? $month_orders_total : 0}}

{{--
5% +4k Today
--}}
{{__('dashboard.year_orders_total')}}

SAR {{!empty($year_orders_total) ? $year_orders_total : 0}}

{{--
12% +1k Today
--}}
{{__('dashboard.today_orders_count')}}

{{!empty($today_orders_count) ? $today_orders_count : 0}}

{{--
12% +13 Today
--}}
{{__('dashboard.month_orders_count')}}

{{!empty($month_orders_count) ? $month_orders_count : 0}}

{{--
25,5% +4k Today
--}}
{{__('dashboard.year_orders_count')}}

{{!empty($year_orders_count) ? $year_orders_count : 0}}

{{--
5% +4k Today
--}}
{{ __('dashboard.count_products') }}

{{!empty($store_products_count) ? $store_products_count : 0}}

{{--
12% +1k Today
--}}
{{--
Total Products

10,313

12% +13 Today
--}}
{{__('dashboard.latest_orders')}}
@forelse($latest_orders as $key=>$row) @empty @endforelse
# {{__('dashboard.order_id')}} {{__('dashboard.order_user')}} {{__('dashboard.count_products')}}
{{$key+1}} {{$row->id}} {{$row->user->name}} {{$row->productsStore(auth()->user()->store_id)->count()}}
{{__('dashboard.noResult')}}
{{__('dashboard.products_total')}}
@foreach($most_sold_products as $key=>$row) @endforeach
# {{__('dashboard.product')}} {{__('dashboard.user_order')}}
{{$row->id}} {{$row->currentDescription->title}} {{$row->sold_count ?? '0'}}
@endsection @section('inner_js') @endsection