@extends('Common::admin.layout.page') @section('page')
@foreach ($counters as $count)

{{ $count['count'] }}

{{ $count['title'] }}

@lang('More')
@endforeach
{{__('Last Clients')}}
@if(count($users) > 0) @foreach($users as $user) @endforeach @else @endif
{{__('ID')}} {{__('name')}} {{__('phone')}} {{__('image')}} {{__('Created At')}}
{{$user->id}} {{$user->name}} {{@$user->mobile}} Avatar {{date('Y-m-d',strtotime($user->created_at))}}
{{__('No Data')}}
{{__('Last Orders')}}
@if(count($latest_orders) > 0) @foreach($latest_orders as $order) @endforeach @else @endif
{{__('ID')}} {{__('username')}} {{__('phone')}} {{__('total')}} {{__('Created At')}}
{{$order->id}} {{$order->user?->name}} {{$order->user?->mobile}} {{@$order->total}} {{date('Y-m-d',strtotime($order->created_at))}}
{{__('No Data')}}
{{__('Last Products')}}
@if(count($latest_products) > 0) @foreach($latest_products as $product) @endforeach @else @endif
{{__('ID')}} {{__('name')}} {{__('price')}} {{__('image')}} {{__('Created At')}}
{{$product->id}} {{$product->title}} {{@$product->price}} Avatar {{date('Y-m-d',strtotime($product->created_at))}}
{{__('No Data')}}
{{__('Last Services')}}
@if(count($latest_services) > 0) @foreach($latest_services as $service) @endforeach @else @endif
{{__('ID')}} {{__('name')}} {{__('image')}} {{__('Created At')}}
{{$service->id}} {{$service->title}} Avatar {{date('Y-m-d',strtotime($service->created_at))}}
{{__('No Data')}}
@if (isset($sales))

@lang('Orders')

@endif
@endsection