@php if(auth()->user()->hasRole('admin')) { $url = url()->current() == route('filament.admin.pages.dashboard') || url()->current() == route('filament.admin.pages.currency-report') ? $classUrl = route('filament.admin.pages.currency-report') : ''; } elseif(auth()->user()->hasRole('client')) { $url = url()->current() == route('filament.client.pages.dashboard') || url()->current() == route('filament.client.pages.currency-report') ? $classUrl = route('filament.client.pages.currency-report') : ''; } @endphp @if($url) {{ __('messages.currency_reports') }} @endif