@php
use App\Support\PermissionScope;
use Illuminate\Support\Facades\Auth;
$sphfUser = Auth::guard('tenant')->user() ?? Auth::guard('web')->user();
$sphfCan = fn (string $permission): bool => PermissionScope::sphfCan($sphfUser, $permission);
@endphp
@if($sphfCan('view.ageing'))
Executive
Ageing
@endif
@if($sphfCan('view.branch'))
Bank
@endif
@if($sphfCan('view.ip_performance'))
IP Performance
@endif
@if($sphfCan('view.ifi_view'))
IFI View
@endif
@if(!empty($exportButton))
{!! $exportButton !!}
@endif