{{ trans('plugins/ecommerce::reports.sales_reports') }}
format('Y-m-d') }}' date_to='{{ $count['endDate']->format('Y-m-d') }}'>
{{ trans('plugins/ecommerce::reports.earnings') }}
@if (collect($count['revenues'])->count())
@foreach (collect($count['revenues'])->where('status') as $item) {{ format_price($item['value']) }} @endforeach {{ trans('plugins/ecommerce::reports.total_earnings') }}
@foreach ($count['revenues'] as $item)

{{ format_price($item['value']) }} {{ $item['label'] }}

@endforeach
@else
@include('core/dashboard::partials.no-data')
@endif
{{ trans('plugins/ecommerce::reports.statistics') }}

{{ trans('plugins/ecommerce::reports.orders') }}

{{ $count['orders'] }}
@if (Auth::user()->hasPermission('orders.index')) @endif

{{ trans('plugins/ecommerce::reports.revenue') }}

{{ format_price(collect($count['revenues'])->where('status')->sum('value')) }}

{{ trans('plugins/ecommerce::reports.products') }}

{{ $count['products'] }}
@if (Auth::user()->hasPermission('products.index')) @endif

{{ trans('plugins/ecommerce::reports.customers') }}

{{ $count['customers'] }}
@if (Auth::user()->hasPermission('customers.index')) @endif