إجمالي المناطق
{{ $stats['total_zones'] }}
المناطق النشطة
{{ $stats['active_zones'] }}
مناطق بها محطات
{{ $stats['zones_with_stations'] }}
محطات مُعيّنة للمناطق
{{ $stats['total_stations_in_zones'] }}
محطات غير مُعيّنة
{{ $stats['unassigned_stations'] }}
مناطق غير نشطة
{{ $stats['inactive_zones'] }}
| المنطقة | الموقع | المحطات | الحالة | الإجراءات |
|---|---|---|---|---|
|
{{ $zone->name }}
{{ Str::limit($zone->description, 50) ?? 'لا يوجد وصف' }}
|
{{ $zone->region->name ?? 'غير محدد' }}
{{ $zone->city->name ?? 'غير محدد' }}
|
{{ $zone->stations_count }} محطة
@if ($zone->active_stations_count > 0)
{{ $zone->active_stations_count }} نشطة
@endif
|
@php $statusConfig = match ($zone->status) { 'active' => ['text' => 'نشطة', 'class' => 'bg-green-100 text-green-800'], 'inactive' => ['text' => 'غير نشطة', 'class' => 'bg-red-100 text-red-800'], default => ['text' => 'غير معروف', 'class' => 'bg-gray-100 text-gray-800'], }; @endphp {{ $statusConfig['text'] }} | |