@php //cache the logo setting to reduce calling the database $applicationLogo = Cache::rememberForever('applicationLogo', function () { return \App\Models\Setting::where('key', 'applicationLogo')->value('value'); }); $applicationLogoDark = Cache::rememberForever('applicationLogoDark', function () { return \App\Models\Setting::where('key', 'applicationLogoDark')->value('value'); }); @endphp @if (storage_exists($applicationLogo)) {{ config('app.name') }} @else {{ config('app.name') }} @endif
@can('view_dashboard') {{ __('Dashboard') }} @endcan @if(can('view_crm')) Studenten Bedrijven @endif @if(can('view_owncompany') && cannot('view_crm')) Studenten Bedrijfsgegevens @endif @if(can('view_opleidingen') || can('view_eigenopleidingen') || can('view_dagopleidingen')) Opleidingen @if(can('view_opleidingsinstellingen')) Opleidingstypes Diplomatypes @endif @endif @if(can('view_offertes')) Offertes Standaard teksten @endif @can('view_system_settings') Mails @endcan @can('view_system_settings') Bedrijfsgegevens @endcan @if(can('view_system_settings') || can('view_roles') || can('view_audit_trails') || can('view_sent_emails')) @can('view_audit_trails') Audit Trails @endcan @can('view_roles') Rollen @endcan @can('view_sent_emails') Verzonden mails @endcan @can('view_system_settings') @endcan @endif @can('view_users') Gebruikers @endcan