{{-- Row actions of a station: «عرض» + ⋯ (تعديل, إيقاف/تشغيل, حذف). Only the actions the user's permissions allow. --}} @php $me = auth()->user(); $isActive = $station->status === 'active'; @endphp @if ($me?->hasPermission('stations.edit')) تعديل {{ $isActive ? 'إيقاف المحطة' : 'تشغيل المحطة' }} @endif @if ($me?->hasPermission('stations.delete')) حذف @endif