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