@section('title', 'تحليلات المحطة - FuelPlus') @section('page-title', 'تحليلات المحطة') @section('page-description', 'توزيع موارد وموظفي {{ $station->name }}') @php $sections = [ ['title' => 'الخزانات حسب نوع الوقود', 'items' => $analytics['tanks_by_fuel_type'], 'color' => 'blue'], ['title' => 'المضخات حسب الحالة', 'items' => $analytics['pumps_by_status'], 'color' => 'green'], ['title' => 'الموظفون حسب النوع', 'items' => $analytics['employees_by_type'], 'color' => 'purple'], ]; @endphp
@foreach($sections as $section)

{{ $section['title'] }}

@forelse($section['items'] as $label => $count)
{{ $label ?: 'غير محدد' }} {{ $count }}
@empty

لا توجد بيانات متاحة.

@endforelse
@endforeach