{{ __('variables.total_orders') }}
{{ $orders ? $orders->count() : 0 }}
{{ $orders_ago_week ?? 0 }} {{ __('variables.from_last_week') }}
{{ __('variables.total_revenue') }}
{{ getDefaultPriceFormat($orders_total_price) }}
{{ getDefaultPriceFormat($orders_total_price_ago_week) }} {{ __('variables.from_last_week') }}
{{ __('variables.total_customers') }}
{{ $front_users ? $front_users->count() : 0 }}
{{ $front_users_ago_week ?? 0 }} {{ __('variables.from_last_week') }}
{{ __('variables.total_feedback') }}
{{ $feedback ? $feedback->count() : 0 }}
{{ $feedback_ago_week ?? 0 }} {{ __('variables.from_last_week') }}
{{ __('variables.recent_orders') }}
@if(!empty($orders) && count($orders))
@endif
| №.: | {{__('variables.name_text')}} | {{__('variables.email_text')}} | {{__('variables.phone')}} | {{__('variables.total_count')}} | {{__('variables.total_price')}} | {{__('variables.date_table')}} |
|---|---|---|---|---|---|---|
| {{ $one_order->id }} | {{$one_order->ordersUsers->name .' '.$one_order->ordersUsers->last_name ?? ''}} | {{$one_order->ordersUsers->email ?? ''}} | {{$one_order->ordersUsers->phone ?? ''}} | {{$one_order->ordersData->total_count ?? ''}} | {{$one_order->ordersData->total_price ?? ''}} | {{ getDefaultDateFormatAdmin($one_order->created_at) }} |
{{ __('variables.recent_goods') }}
@if(!empty($goods_items) && count($goods_items))
@foreach($goods_items as $one_goods_item)
@php
$subject_alias = getItemById($one_goods_item->goods_subject_id, 'GoodsSubjectId')->alias ?? '';
@endphp
@endforeach
@endif
{{ Str::limit($one_goods_item->itemByLang->name, 40) }}
@endif