update staff permissions
This commit is contained in:
@@ -537,7 +537,7 @@
|
||||
Manage all containers, track status, and view entries in real-time
|
||||
</div>
|
||||
</div>
|
||||
@can('containers.create')
|
||||
@can('container.create')
|
||||
<a href="{{ route('containers.create') }}" class="add-container-btn">
|
||||
<i class="fas fa-plus-circle"></i>
|
||||
Add New Container
|
||||
@@ -655,7 +655,7 @@
|
||||
</span>
|
||||
|
||||
|
||||
@can('containers.view')
|
||||
@can('container.update')
|
||||
<a href="{{ route('containers.show', $container->id) }}" class="action-btn view-btn">
|
||||
<i class="fas fa-eye"></i> View
|
||||
</a>
|
||||
@@ -678,7 +678,7 @@
|
||||
|
||||
|
||||
|
||||
@can('containers.delete')
|
||||
@can('container.delete')
|
||||
<form action="{{ route('containers.destroy', $container->id) }}" method="POST"
|
||||
onsubmit="return confirm('Are you sure you want to delete this container and all its entries?');">
|
||||
@csrf
|
||||
|
||||
@@ -273,12 +273,12 @@ header .bi-bell .badge {
|
||||
|
||||
|
||||
|
||||
{{-- Container – NEW MENU --}}
|
||||
@can('containers.view')
|
||||
{{-- Container NEW MENU --}}
|
||||
@can('container.view')
|
||||
<a href="{{ route('containers.index') }}" class="{{ request()->routeIs('containers.*') ? 'active' : '' }}">
|
||||
<i class="fa-solid fa-box"></i> Container
|
||||
</a>
|
||||
@endcan
|
||||
@endcan
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user