feat: complete equipment handover workflow
This commit is contained in:
@@ -48,6 +48,7 @@ class HandleInertiaRequests extends Middleware
|
||||
'can' => [
|
||||
'administer' => fn (): bool => $request->user()?->can('administer') ?? false,
|
||||
'approveReservations' => fn (): bool => $request->user()?->can('approve-reservations') ?? false,
|
||||
'operateInventory' => fn (): bool => $request->user()?->can('operate-inventory') ?? false,
|
||||
],
|
||||
'unreadNotifications' => fn (): int => $request->user()?->unreadNotifications()->count() ?? 0,
|
||||
'sidebarOpen' => ! $request->hasCookie('sidebar_state') || $request->cookie('sidebar_state') === 'true',
|
||||
|
||||
Reference in New Issue
Block a user