แก้ไขสิทธิ์ {{ $role->role_name }}

@if (session('status')) @endif
@csrf @method('PUT')
@foreach ($actions as $label) @endforeach @foreach ($menuRows as $menuRow) parent_id) data-parent="{{ $menuRow->parent_id }}" @endif> @foreach ($actions as $action => $label) @php $permission = $permissions->get($menuRow->id.'|'.$action)?->first(); @endphp @endforeach @endforeach
เมนู ทั้งหมด{{ $label }}
{{ $menuRow->menu_name }} parent_id) data-include-children @endif aria-label="เลือกทั้งหมด {{ $menuRow->menu_name }}" > @if ($permission) contains($permission->id)) class="h-4 w-4 rounded border-slate-300" > @endif
@if ($menuRows->isEmpty())

ยังไม่มีเมนู

@endif @error('permissions')

{{ $message }}

@enderror @error('permissions.*')

{{ $message }}

@enderror
@if ($menu) กลับ @endif
@if ($errors->any()) @endif