@inject('Category','App\Models\Category') @inject('Product','App\Models\Product') @inject('checkOut','App\Models\CheckOut') @inject('Company','App\Models\Company') @inject('Offer','App\Models\Offer') @extends('panel._layout.app') @section('content')
@foreach ([ ['name' => 'العروض', 'count' => $Offer->count()], ['name' => 'الشركات', 'count' => $Company->count()], ['name' => 'الطلبات', 'count' => $checkOut->count()], ['name' => ' المنتجات', 'count' => $Product->count()], ['name' => 'الاقسام', 'count' => $Category->count()] ] as $item)
{{ $item['name'] }}
{{ $item['count'] }}
@endforeach
{{-- Chart --}}
{{-- End Chart --}}
@endsection