# Employee settings # Employee settings ## Purpose and navigation **Human resources → Employees → Settings**, `/employees/settings`. This page manages scientific qualification catalogs and the rule for including lecturers in department workload exports. It is an institution-wide configuration, not an individual's profile. To edit a person, open [Employees](/en/docs/employees) and their [employee details](/en/docs/employee-details). There are four tabs. Each is independently visible according to permissions. A missing tab does not necessarily mean that there are no records. ## Scientific title A catalog of titles such as Associate Professor or Professor. This is neither an employee's job position nor a scientific degree. | Field | Input | |---|---| | Scientific title | Required translated name, e.g. Доцент / Associate Professor / Դոցենտ. | | Status | Activity switch; edit an existing record's status separately from its name. | Search before adding. Enter translations and save. To update, correct the existing translations and status. Selection, deletion, deleted items and restoration are available with corresponding permissions; deletion is soft. Avoid duplicate records when only a translation needs correction. ## Scientific Degree The degree describes research qualifications, such as Candidate of Technical Sciences or Doctor of Medical Sciences. | Field | Input | |---|---| | Scientific degree | Required translated name, up to 255 characters. | | Scientific degree category | Optional link to an existing category; displayed as not selected when empty. | If a category is needed, create it on the third tab first. The server supports status 0/1, but this form does not expose a status switch. Search, selection, creation, editing, soft deletion and restoration are permission-dependent. ## Scientific Degree Category Categories group degrees, for example Candidate of Sciences and Doctor of Sciences (illustrative, not required catalog values). The form has one required translated name, up to 255 characters. An internal slug is generated by the server from a translation; neither slug nor status is exposed in this UI. Create a category, return to the degree tab and assign it to the relevant degree. Correct existing records instead of creating duplicates. Search, selection, soft deletion, the deleted-items bin and restoration are supported. Deleting a category does not delete its degrees; physical deletion of a category nulls its foreign-key relationship from degrees. Check usage before deletion. Catalog rules: provide at least one nonempty translation in a supported language; RU/EN/HY are recommended. Names are limited to 255 characters. For degrees and categories the server checks duplicate translations, including deleted records; the title request has no separate name-uniqueness check. If a duplicate is reported, check the deleted-items bin too. Maintaining the catalogs does not automatically assign qualifications to employees. ## Department workload export The fourth tab has two fields and Save. | Field | Behavior | |---|---| | Show each lecturer in only one department export | Enables the primary teaching work rule. An absent setting is interpreted as disabled. | | Teaching roles | Searchable multi-select with clearing. Only roles scoped to Department are available. At least one is required when enabled. The selector is disabled while the switch is off. | | Save | Saves the switch and entire role selection. Controls are unavailable without edit permission. | A role selected here defines teaching affiliation; it does not grant that role to a user. Incorrect choices can exclude staff from exports. See [roles](/en/docs/roles). **Disabled:** previous department-affiliation/filter behavior is preserved. **Enabled:** for the selected academic year, a lecturer needs exactly one applicable primary teaching period with a department and a selected teaching role. The lecturer is attributed to that department, which receives the lecturer's whole year's workload, including hours originally allocated to other units, subject to remaining export parameters. Changing the setting does not alter workload assignments or employment records. See [lecturer workload](/en/docs/lecturer-workload). ## Assign the primary department Open the employee's Work tab. Find or add a work entry with a selected teaching role and department. Complete ordinary employment dates, enable Primary teaching period for department export, and fill the start and optional end date. A new period control is shown when the rule is enabled and the role selected; an existing saved period is also visible. - Primary start is required. Primary end may be open only when employment is not bounded by an end date. - Primary start cannot precede employment start; primary end cannot precede primary start or exceed employment end. A closed employment record cannot have an open primary period. - Primary periods for selected teaching roles cannot overlap for the same person, including a shared boundary date. Preserved entries outside the editor's scope also participate in validation. - Workload resolution for an academic year compares calendar years of the dates: primary start year ≤ academic start year, primary end year (if specified) ≥ academic end year. Exactly one work entry must match. This is distinct from the HR main-work flag. - The employees table export's special main-department mode instead matches an exact date, accounting for ordinary employment dates too. If none or multiple match, the employee remains in the file but their works list is empty. **Example.** A lecturer works in Mathematics and Computer Science in 2025–2026. Enable the one-department rule, select their teaching role, set Mathematics as primary from 1 September 2025 through 31 August 2026 within employment dates, and do not set a conflicting primary period for Computer Science. After saving, the Mathematics department export for that year includes their entire matching workload; Computer Science does not include them. Set the appropriate entry for the next academic year using non-overlapping dates and test the outcome. ## Conflicts and troubleshooting After loading or saving an enabled configuration, a warning lists employees and academic years with conflicts. Click a name to open their Work tab. Candidates are selected-role employees with lesson assignments or norms in nondeleted workloads for an academic year; it is not a checklist of all personnel. - Primary place of work missing: no applicable period covers the academic year. Check role, department, dates and work entry. - Multiple primary places of work match: several entries match the year. Correct periods and confirm unambiguous selection; periods that do not overlap by day can still match the same years. - No roles: configure a Department-scoped role. Other role scopes are not allowed. - Save rejected: select at least one role for an enabled rule; resolve duplicate or invalid IDs. For a work entry, check dates and overlap. - No warning but a problem remains: check employees list permission and scopes, reload, verify the selected academic year and workload records. ## Permissions and scopes Catalog tabs are checked separately: prefixes `ScientificTitle`, `ScientificDegree`, `ScientificDegreeCategory` with `TablePull`, `CreateAction`, `EditAction`, `DeleteAction`, `RestorePull`, `RestoreAction` respectively. These catalogs do not declare Faculty/Profession/Department scopes. Export settings use `TeachingExportSettingsPull` (`employees.teaching-export-settings.show`, bound to `employee-works.index`) and `TeachingExportSettingsUpdate` (`employees.teaching-export-settings.update`). The configuration is global, with no separate department scope. Disclosure of conflict names additionally requires `employees.index`, applies Faculty, Department, Profession list scopes and verifies department affiliation. Opening and editing work records require their own permissions and scopes. The setting does not broaden employee visibility. See [role permissions](/en/docs/role-permissions). ## Verified source files - [EmployeesSettingsTab.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/EmployeesSettingsPages/tabPage/EmployeesSettingsTab.tsx) - [TeachingExportSettings.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/EmployeesSettingsPages/tabPage/TeachingExportSettings.tsx) - [ScientificTitleDescriptor.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/EmployeesSettingsPages/ScientificTitle/ScientificTitleDescriptor.ts) - [ScientificDegreeDescriptor.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/EmployeesSettingsPages/ScientificDegree/ScientificDegreeDescriptor.ts) - [ScientificDegreeCategoryDescriptor.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/EmployeesSettingsPages/ScientificDegreeCategory/ScientificDegreeCategoryDescriptor.ts) - [WorkEntry.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/EmployeesPages/Work/components/WorkEntry/WorkEntry.tsx) - [hrRoutes.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/router/routes/hrRoutes.ts) - [ScientificTitleController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Http/Controllers/ScientificTitleController.php) - [ScientificDegreeRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ScientificDegree/Http/Requests/ScientificDegreeRequest.php) - [ScientificDegreeCategoryRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ScientificDegreeCategory/Http/Requests/ScientificDegreeCategoryRequest.php) - [ScientificDegreeCategoryService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ScientificDegreeCategory/Http/Services/ScientificDegreeCategoryService.php) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/routes/api.php) - [EmployeeTeachingExportSettingsController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Http/Controllers/EmployeeTeachingExportSettingsController.php) - [EmployeeTeachingExportSettings.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Services/EmployeeTeachingExportSettings.php) - [EmployeeTeachingExportConflicts.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Services/EmployeeTeachingExportConflicts.php) - [PrimaryTeachingWorkResolver.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Services/PrimaryTeachingWorkResolver.php) - [EmployeeTableExportRows.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Services/EmployeeTableExportRows.php) - [EmployeeWorkRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Http/Requests/EmployeeWorkRequest.php) - [LecturerWorkloadService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LecturerWorkload/Services/LecturerWorkloadService.php) - [DepartmentWorkloadPresenter.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExport/Presenters/DepartmentWorkloadPresenter.php)