{{-- Row actions of a tank: one visible «عرض» plus a ⋯ menu with only the allowed actions (needs station::partials.action-script). --}} @php $u = auth()->user(); $inMaintenance = $tank->status === 'maintenance'; @endphp @if ($u->hasPermission('tanks.edit')) تعديل @endif @if ($u->hasPermission('tanks.adjust')) تسوية الخزان @endif @if ($u->hasPermission('tanks.view_adjustments')) سجل التسويات @endif @if ($u->hasPermission('tanks.toggle_maintenance')) {{ $inMaintenance ? 'إنهاء الصيانة' : 'وضع في الصيانة' }} @endif