@php // Staff users only see the actions that they are allowed to perform. $canCreatePurchase = \App\Support\AdminAccess::canAction('purchases', 'create'); $canEditPurchase = \App\Support\AdminAccess::canAction('purchases', 'edit'); $canDeletePurchase = \App\Support\AdminAccess::canAction('purchases', 'delete'); @endphp