public function actionIndex($excludeFieldsPaginate = []) {
		if (!$this->_controller->Components->loaded('Paginator')) {
			$this->_controller->Paginator = $this->_controller->Components->load('Paginator');
			$this->_controller->Paginator->initialize($this->_controller);
		}
		if (!$this->_controller->Components->loaded('Filter')) {
			$this->_controller->Filter = $this->_controller->Components->load('CakeTheme.Filter');
			$this->_controller->Filter->initialize($this->_controller);
		}

		$excludeFieldsPaginateDefault = [
			'department_id'
		];
		$excludeFieldsPaginateFull = array_unique(array_merge($excludeFieldsPaginateDefault, (array)$excludeFieldsPaginate));
		$this->_controller->Paginator->settings = $this->_modelEmployee->getPaginateOptions($excludeFieldsPaginateFull);
		$conditions = $this->_controller->Filter->getFilterConditions();
		$employees = $this->_controller->Paginator->paginate('Employee', $conditions);
		if (empty($employees)) {
			$this->_controller->Flash->information(__d('cake_ldap', 'Employees not found'));
		}

		$filterOptions = $this->_modelEmployee->getFilterOptions();
		$fieldsConfig = $this->_modelEmployee->getFieldsConfig();
		$isTreeReady = $this->_modelConfigSync->getFlagTreeSubordinateEnable();
		$pageHeader = __d('cake_ldap', 'Index of employees');
		$headerMenuActions = [
			[
				'fas fa-sync-alt',
				__d('cake_ldap', 'Synchronize information with LDAP server'),
				['controller' => 'employees', 'action' => 'sync', 'prefix' => false],
				[
					'title' => __d('cake_ldap', 'Synchronize information of employees with LDAP server'),
					'data-toggle' => 'request-only',
				]
			]
		];
		if ($isTreeReady) {
			$headerMenuActions[] = [
				'fas fa-sitemap',
				__d('cake_ldap', 'Tree of employees'),
				['controller' => 'employees', 'action' => 'tree', 'prefix' => false],
				['title' => __d('cake_ldap', 'Tree view of employees')]
			];
		}
		$breadCrumbs = $this->_modelEmployee->getBreadcrumbInfo();
		$breadCrumbs[] = __d('cake_ldap', 'Index');
		$this->_controller->ViewExtension->setRedirectUrl(true, 'employee');

		$this->_controller->set(compact(
			'employees',
			'filterOptions',
			'fieldsConfig',
			'isTreeReady',
			'pageHeader',
			'headerMenuActions',
			'breadCrumbs'
		));
	}