@php $route = request()->path(); $isMaster = str_starts_with($route, 'admin/users') || str_starts_with($route, 'geo'); $isBaseline = str_starts_with($route, 'reports/baseline-report'); $isReports = ( (str_starts_with($route, 'export') || (str_starts_with($route, 'report') || str_starts_with($route, 'reports/measurement-summary'))) && !$isBaseline // 👈 Exclude Baseline from Reports ); $isIntervention = str_starts_with($route, 'bill-approval') || str_starts_with($route, 'assethandover'); @endphp