@php $user_role = auth()->user()->role; $admin = 1; @endphp @if(auth()->user()->can('view-branches') || $user_role == $admin) @endif @if(auth()->user()->can('edit-branches') || $user_role == $admin) @endif @if(auth()->user()->can('delete-branches') || $user_role == $admin) @endif