1; ?> 'admin/departments', 'label' => t('All'), 'active' => $activeTenant === '', ], ]; foreach ($tenants ?? [] as $tenant) { $tenantUuid = (string) ($tenant['uuid'] ?? ''); if ($tenantUuid === '') { continue; } $listTabsItems[] = [ 'href' => 'admin/departments?tenant=' . rawurlencode($tenantUuid), 'label' => (string) ($tenant['description'] ?? ''), 'active' => $activeTenant === $tenantUuid, ]; } require templatePath('partials/app-list-tabs.phtml'); ?>
$searchConfig, 'filterSchema' => $clientFilterSchema, 'filterChipMeta' => $filterChipMeta, 'gridLang' => $gridLang, 'labels' => [ 'description' => t('Description'), 'status' => t('Status'), 'code' => t('Code'), 'costCenter' => t('Cost center'), 'activeUsers' => t('Active users'), 'inactiveUsers' => t('Inactive users'), 'created' => t('Created'), 'modified' => t('Modified'), 'active' => t('Active'), 'inactive' => t('Inactive'), ], ]; ?>