'', 'aria' => '', 'isActive' => false]; } $helpdeskNavGroups = [ [ 'key' => 'helpdesk-overview', 'label' => t('Overview'), 'icon' => 'bi-speedometer2', 'items' => [ [ 'label' => t('Dashboard'), 'path' => 'helpdesk/dashboard', 'active' => $dashboardActive, 'visible' => $canViewDashboard, ], ], ], [ 'key' => 'helpdesk-lookup', 'label' => t('Lookup'), 'icon' => 'bi-search', 'items' => [ [ 'label' => t('Customers'), 'path' => 'helpdesk', 'active' => $customersActive, 'visible' => true, ], [ 'label' => t('Domains'), 'path' => 'helpdesk/domains', 'active' => $domainsActive, 'visible' => true, ], ], ], [ 'key' => 'helpdesk-monitoring', 'label' => t('Monitoring'), 'icon' => 'bi-bar-chart-line', 'items' => [ [ 'label' => t('Team workload'), 'path' => 'helpdesk/team', 'active' => $teamActive, 'visible' => $canViewTeam, ], [ 'label' => t('Risk radar'), 'path' => 'helpdesk/risk-radar', 'active' => $riskRadarActive, 'visible' => $canViewRiskRadar, ], [ 'label' => t('Customer analytics'), 'path' => 'helpdesk/analytics', 'active' => $analyticsActive, 'visible' => $canViewRiskRadar, ], ], ], [ 'key' => 'helpdesk-operations', 'label' => t('Operations'), 'icon' => 'bi-clipboard-check', 'items' => [ [ 'label' => t('Handovers'), 'path' => 'helpdesk/handovers', 'active' => $handoversActive, 'visible' => $canViewHandovers, ], [ 'label' => t('Updates'), 'path' => 'helpdesk/updates', 'active' => $updatesActive, 'visible' => $canViewUpdates, ], ], ], [ 'key' => 'helpdesk-administration', 'label' => t('Administration'), 'icon' => 'bi-sliders', 'items' => [ [ 'label' => t('Software products'), 'path' => 'helpdesk/software-products', 'active' => $softwareProductsActive, 'visible' => $canManageSoftwareProducts, ], [ 'label' => t('Settings'), 'path' => 'helpdesk/settings', 'active' => $settingsActive, 'visible' => $canManageSettings, ], ], ], ]; ?>