# Getting started Source: https://docs.kamoorj.com/en/docs/introduction ## Using this guide Kamoorj documentation helps institution staff complete their daily work. The left menu contains sections and full-text search across published articles. The right menu contains headings from the current article. Both menus expand above the content on smaller screens. The language switch opens the published translation of the same article when available. Examples use fictional names and numbers. Replace them with your institution's actual plans, subjects and students. ## Recommended sequence 1. Check the student's curriculum, year of study, semester and current educational status. 2. For an elective, save the student's [subject choice](/en/docs/elective-subjects). 3. Configure the [combined subject category](/en/docs/united-lessons). 4. Open the category roster and [assign students to groups](/en/docs/united-students). 5. Distinguish actual workload headcounts from [expected students](/en/docs/student-cohort). > Choosing a subject and assigning a group are separate operations. A group assignment does not replace an elective choice. ## Permissions Available application pages depend on your permissions. Combined subjects use `united-lessons`; their student page uses `united-lesson-students`. Access to a list does not grant every action or access to every department. Ask your administrator for the specific page and action you need. ## Languages and settings Articles are published separately in Russian, English and Armenian. A missing translation is not silently replaced with another language. Documentation language is independent of educational application settings. Some module settings are shared, while detail-page display preferences may be stored in your browser. Changing sorting does not change student membership. ## Markdown and AI integration “Open Markdown” returns the source of the current article. “All articles for AI” exports published content in the selected language with source URLs. Drafts are excluded. Preserve source URLs and update dates when indexing; remove unpublished articles from the AI index as well. A chat assistant is not connected yet. ## Coverage Learning Management guides cover study plans, subject groups, individual subject choices, combined classes and virtual groups. ## Related guides - [Student eligibility](/en/docs/student-cohort) - [Elective subjects](/en/docs/elective-subjects) - [Combined subjects](/en/docs/united-lessons) - [Group assignments](/en/docs/united-students) - [Study plans](/en/docs/learning-plans) - [Subject groups](/en/docs/subject-groups) - [Virtual group catalog](/en/docs/virtual-group-catalog) --- # Actual and expected students Source: https://docs.kamoorj.com/en/docs/student-cohort ## How the roster is determined The system matches the selected group's curriculum, year of study and semester against the student's current educational state. Matching only the profession or subject name is insufficient. It uses the latest non-deleted academic-course record and that record's latest non-deleted semester state. Both must be active. Deleted students, course records, semester records and study-year records are excluded. ## Actual and expected students | Target period | Eligible students | | --- | --- | | At least one actual active student exists | Only actual students in the target curriculum, year and semester | | No actual students; target is semester 2 | Active students in semester 1 of the same year and curriculum | | No actual students; target is semester 1 of year 2 or above | Active students from the previous year of the same curriculum, from either semester | | No actual students; target is year 1, semester 1 | Empty roster; there is no preceding year | Expected students have a corresponding label. The two rosters are not added together. As soon as one actual student reaches the target period, the expected-student source is no longer used. ## Example: planning next year The curriculum is “Computer Science — 2025”; the target is year 2, semester 1. Until an active student reaches year 2, active year-1 students from the same curriculum can be assigned in advance. After the first student's advancement, the roster shows actual year-2 students. Others appear after their own advancement if eligible. Their previously saved assignments have not necessarily been deleted. ## Advancement and status changes Advance assignments persist but do not contribute to actual workload headcounts until the student becomes active in the target period. A failed advancement, a newer inactive state or a move to another curriculum can exclude a student. An old assignment alone does not make the student eligible again. ## Missing-student checklist 1. Compare the exact curriculum, year and semester. 2. Check the latest course and semester records rather than an older active record. 3. Determine whether actual students already exist in the target period. If so, the previous-year roster is not included. 4. For an elective, check the [saved choice of the correct subject](/en/docs/elective-subjects). 5. Check the combined category's source groups and your permitted data scope. ## Related guides - [Combined subjects](/en/docs/united-lessons) - [Assigning students](/en/docs/united-students) --- # Learning Plan Source: https://docs.kamoorj.com/en/docs/learning-plans ## Find a learning plan Open **Learning Management → Learning Plan** (`/learning/plan`). Each row identifies the curriculum for one academic year, degree, study format, faculty and profession. Create plans and change their main attributes here. Open the [plan details](/en/docs/learning-plan-details) to maintain subjects and the calendar. ## Select the correct intake 1. Search for part of the profession name. To find a particular intake, set the academic year filter. 2. Select the degree and study format, then the faculty. Available professions also depend on faculty and sector. If the result is empty, remove one filter at a time and check the profession name. 3. Compare academic year and duration. Sorting by profession or faculty uses the displayed names. Active course can show a course number, inactive, completed or no data. This status column has no sort or filter control. 4. Open the required row using the view action. If the row appears but cannot be opened, check the permission to view a single plan. ## Create a plan For example, a Computer Science intake starts in 2026/27 on a four-year full-time bachelor's program. 1. In the creation form, choose academic year, degree and study format. Choose the available faculty, then the Computer Science profession registered for that faculty, degree and format. 2. Ensure that the profession has an education sector. The list displays the profession's sector. If it is missing, update the profession record and return to the form. 3. Set the duration to 4 and choose a configured **Creation Option**. The server accepts durations up to 15. Opening the form from a missing-plan notice in a student record can prefill some fields. 4. Save the plan and find the new row. The system links student academic records using the plan's intake year, degree, study format and profession. To investigate one student, check [their curriculum and study period](/en/docs/student-cohort). ### If a duplicate is reported Uniqueness uses five fields together — academic year, degree, study format, faculty and profession. Changing duration or creation option leaves that combination intact. Open the matching active record. If the matching plan is in the trash, restore it there. ## Clone or edit a plan Choose clone from the row menu. The new-record form opens with the source parameters. For the next intake, change the academic year, check the remaining values and save. The new record receives the process schedule rows and their symbols, subject rows with departments, teaching formats, components and competencies, and term schedules. Student records are matched against the new plan's attributes. Open the new plan and verify its subjects and calendar. Reducing duration from four years to three archives the fourth year's calendar weeks and symbols. Increasing duration creates additional calendar weeks as you fill them in. For a plan under approval lock, the server determines whether the current user can edit content. Delete is hidden for a locked plan. ## Actions, permissions and scopes The `learning-plan` module supports `faculty` and `profession` scopes. Saving checks the faculty and profession submitted in the form. The form also depends on read access to the year, degree, study format, education sector, years of study, faculties, professions and creation options. | Task | Permission | | --- | --- | | Open the list or a plan | `learning-plan.index` or `learning-plan.show`, respectively | | Create or clone | `learning-plan.store` | | Edit or delete | `learning-plan.update`, `learning-plan.destroy`, respectively | | View trash or restore a record | `learning-plan.deleted-items`, `learning-plan.restore` | | Export the table | `learning-plan.export-excel` or `learning-plan.export-pdf` for the chosen file type | | Change module settings | `learning-plan.settings` | Deleted plans go to the trash. The menu also supports exporting the selected plan's content using a template, subject to export access and templates available for its degree and format. ## Settings available from the list The module setting `subject_name_postfix_enabled` is off by default. Enable it to use stored subject-name postfixes in the editor and supported exports. Turning it off preserves the values for later use. The separate settings screen at `/learning/plan/settings` contains educational symbols, extracurricular activities and learning plan structure. Available tabs depend on the user's rights. ## Implementation references - [container/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LearningPlan/container/index.tsx) - [LearningPlanDescriptor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LearningPlan/LearningPlanDescriptor.tsx) - [routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/routes/api.php) - [Http/Repositories/LearningPlanTableRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Http/Repositories/LearningPlanTableRepository.php) - [Http/Requests/LearningPlanFilterRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Http/Requests/LearningPlanFilterRequest.php) - [Http/Requests/LearningPlanRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Http/Requests/LearningPlanRequest.php) - [Http/Controllers/LearningPlanController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Http/Controllers/LearningPlanController.php) - [Services/LearningPlanCloneService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Services/LearningPlanCloneService.php) - [Services/LearningPlanService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Services/LearningPlanService.php) - [Learning plan settings](/en/docs/learning-plan-settings) - [Restore a plan](/en/docs/learning-plan-restore) - [Operational study plan](/en/docs/operational-study-plans) --- # Plan details Source: https://docs.kamoorj.com/en/docs/learning-plan-details ## Open the correct curriculum In **Learning Management → Learning Plan**, open a record in the [plan list](/en/docs/learning-plans). The detail URL is `/learning/plan/information/:id`. For example, a link ending in `/42` opens plan 42 if your account has access. Check the plan name before entering hours, especially when the same profession has multiple intakes or learning formats. The header contains plan information, available actions and the approval panel when a process exists. The expandable schedule and curriculum editor appear below. The tabs for educational symbols and educational blocks are inside the statistics dialog. Module settings open on a separate page. ## Add a subject to a semester 1. Select the year of study, then the semester. Changing the year clears the semester filter. Reset the filters to see the whole curriculum. 2. Open or add the semester’s educational block. A compulsory row takes one subject. An elective row contains alternatives. This defines what is offered. Record each student’s choice under [Elective subjects](/en/docs/elective-subjects). 3. Select the department, subject and assessment type. Enter the credits and hours for the applicable teaching types. For example, a compulsory first-semester Mathematics row could use the Mathematics department, Exam, 4 credits, 30 lecture hours and 30 practical hours. Use your curriculum’s own credit and hour values when entering a real row. 4. Save the semester using its save action or use **Save All**. A validation message identifies the year of study, semester, block and row number. Reopen the semester and check the saved values. A subject can appear only once in the same educational block, year of study and semester, including across compulsory and elective rows. Separate blocks and semesters are checked independently. ## Settings that change the result | Setting | What to check | | --- | --- | | Modular subject takes values from the parent row (`parent`) | Enter values at module level. This source uses a common bulletin. Combining it with separate bulletins fails validation. | | Values come from child rows (`children`) | Add child subjects and enter their values. Workload uses the child rows. A common bulletin brings the results together for the module, while separate bulletins track child subjects individually. | | Subject name postfix enabled (`subject_name_postfix_enabled`) | Add a row-specific label for exports, for example “taught in English”. The subject catalog retains its original name. Turning off the setting preserves the postfix for future use. | | Compact mode | Changes table density. The row values and hours are preserved. | ## Mark weeks and check statistics Expand **Graphics**. Year and Month change the visible range of the grid. Select cells for the relevant year of study and weeks, open their context menu and choose the applicable symbols. On a phone use the edit button for the selection. Save the schedule change and check the legend. For example, mark practical training weeks using the institution’s training symbol. Open **Statistics** from the editor toolbar. Inspect the distribution of symbols in the symbols tab and block totals in the educational blocks tab. Depending on access, the header also offers template-based export and a link to [Virtual groups](/en/docs/virtual-group-attachments) with filters from the plan. Export template selection takes the plan’s degree and learning format into account. ## Replace a subject with existing records If the old subject already has linked groups, elective choices, workload or schedule records, saving asks how to handle the affected data. The whole request is rolled back pending that decision. To transfer, select an eligible new subject on the same row without active links. Each source needs its own target. Elective modules also require mapping child alternatives. Transfer retains linked record IDs and membership. Clearing removes active distributions and related assignments. Historical grades and bulletins stay with the old subject. After saving, check student memberships and teaching assignments for the changed row. ## Permissions, scopes and approval | Area | Module | Actions | | --- | --- | --- | | Plan details | `learning-plan` | `learning-plan.show` | | Subject editor | `lp-manage` | `learning-plan-subjects.index` to read, `learning-plan-subjects.upsert` to write | | Schedule | `lp-schedule` | `learning-plan-subjects.term-schedule.index` and `learning-plan-subjects.term-schedule.upsert` | | Statistics | `lp-statistic` | `educational-statistic.index` | All four modules support **faculty** (`faculty`) and **profession** (`profession`) scopes on these routes. Academic year and year-of-study filters narrow the display. The detail page and each of its sections have separate permission checks. If the page opens but Save is unavailable, check the write action and this plan’s approval panel. The editor also considers content editing access granted through approval. A content lock applies to changes to subjects and the schedule. Reading and statistics are available according to their respective permissions. ## Implementation references - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LearningPlan/container/index.tsx) - [LearningPlanItem.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LearningPlan/components/LearningPlanItem/App/LearningPlanItem.tsx) - [CurriculumEditor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LearningPlan/components/LearningPlanItem/components/LearningPlanSubject/components/CurriculumEditor.tsx) - [validation.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LearningPlan/components/LearningPlanItem/components/LearningPlanSubject/model/validation.ts) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/routes/api.php) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlanSubject/routes/api.php) - [SaveLearningPlanSubjectRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlanSubject/Http/Requests/SaveLearningPlanSubjectRequest.php) - [SubjectReplacementService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlanSubject/Service/SubjectReplacementService.php) ## Editor catalogs - [Educational blocks](/en/docs/educational-blocks) - [Competencies](/en/docs/competences) --- # Learning plan settings Source: https://docs.kamoorj.com/en/docs/learning-plan-settings ## Open a settings tab Open plan settings from the [learning plan list](/en/docs/learning-plans). The page at `/learning/plan/settings` contains three shared catalogs. Changes affect entries used by multiple plans. The subject-name postfix switch is a separate module setting on the list page. | Tab | What you maintain | Admin path | | --- | --- | --- | | Educational Symbols | Calendar week symbols and their inclusion in the exported summary | `/learning/plan/settings?tab=1` | | Extracurricular activities | Subject component fields and participation in workload | `/learning/plan/settings?tab=2` | | Learning Plan Structure | Names of plan creation options | `/learning/plan/settings?tab=3` | The browser remembers the selected tab for the session. A direct tab link opens the requested tab subject to the user's permissions. ## Educational symbols 1. Search for an existing symbol by name. To create one, enter a code up to three characters long, then enter its name and short description in the languages you use. Each supplied translation requires both a name and description, up to 255 characters each. 2. Choose one or more degrees and study formats. When editing, retain all the values you need. Saving replaces the degree and format links with the current selection. 3. Choose whether to include the symbol in final data. A new symbol defaults to included. Turning the switch off keeps the week marked on the calendar and excludes the symbol from the summary list in the plan export. 4. For example, enter “PR” for a practice week, “Practice” as the name and “Supervised practice week” as its description. Select bachelor's degree and full-time study. Assign the symbol to a calendar week and check the summary section of the exported plan. A deleted user-defined symbol can be restored from the trash. The server protects system symbols with IDs 1 and 2 from deletion, including for users with delete permission. ## Extracurricular activities Each entry configures one component field in a subject row. Search by the translated name. 1. Enter a name and abbreviation in the languages you use. Select the academic year. For example, for 2026/27 enter “Consultation hours” and “Cons.”. 2. Choose `Input` to enter a value or `Checkbox` to mark whether the component applies. The subject editor uses this type when displaying the cell. 3. Set **Status** and **Workload** separately. The plan export reads active components. Workload calculation selects components with the `work_load` flag enabled. 4. Save and verify the field label in the plan editor. For the consultation example, enter a value in a subject row. If the hours are meant to count toward workload, verify them after calculation. Adding a field leaves the hours for each subject to be filled in. ## Learning plan structure This catalog supplies the labels in the **Creation Option** field. A new installation seeds a cyclic option (`cyclic-cycle`) and an academic term option (`academic-term`). Edit an existing row, enter the name in the languages you use and save. For example, set the English name of `academic-term` to “By semester”. Reopen the plan form and check its creation-option dropdown. The update changes the translations for the existing option and retains its ID. Existing plans continue to reference that option. The service supports viewing, renaming and exporting entries. This tab has no create, delete or restore operation. ## Permissions and scopes Check permissions for the individual tab when configuring a role. These catalog routes declare no faculty, department, subject or profession scopes. The degree and format assigned to a symbol describe its use. Access to the catalog depends on the action permission. | Tab and module | List permission | Other operations | | --- | --- | --- | | Educational Symbols, `lp-educational-symbols` | `educational-symbols.index` | Create, edit, delete, view trash and restore use the suffixes `.store`, `.update`, `.destroy`, `.deleted-items`, `.restore` on `educational-symbols` | | Extracurricular activities, `lp-extracurricular` | `learning-component-setting.index` | The same five suffixes on `learning-component-setting` | | Learning Plan Structure, `lp-structure` | `course-format.index` | `course-format.show`, `course-format.update`, `course-format.export-excel`, `course-format.export-pdf` | The first tab also depends on reading degrees and study formats. Creating or editing an extracurricular component requires access to the academic years catalog. If a colleague sees a tab but cannot save a change, check the update permission for that specific catalog. ## Implementation references - [tabPage/PlanSettingsPages.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LearningPlan/PlanSettingsPages/tabPage/PlanSettingsPages.tsx) - [EducationalSymbols/EducationalSymbolsDescriptor.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LearningPlan/PlanSettingsPages/EducationalSymbols/EducationalSymbolsDescriptor.ts) - [LearningSettings/LearningSettingsDescriptor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LearningPlan/PlanSettingsPages/LearningSettings/LearningSettingsDescriptor.tsx) - [ProcessSchedules/ProcessSchedulesDescriptor.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LearningPlan/PlanSettingsPages/ProcessSchedules/ProcessSchedulesDescriptor.ts) - [EducationalSymbol/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EducationalSymbol/routes/api.php) - [LearningComponentSetting/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningComponentSetting/routes/api.php) - [CourseFormat/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/CourseFormat/routes/api.php) - [EducationalSymbol/Http/Controllers/EducationalSymbolController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EducationalSymbol/Http/Controllers/EducationalSymbolController.php) - [ContentExport/Presenters/LearningPlanPresenter.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExport/Presenters/LearningPlanPresenter.php) - [WorkloadSubject/Services/WorkloadSubjectCalculationService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/WorkloadSubject/Services/WorkloadSubjectCalculationService.php) - [database/seeders/CourseFormatSeeder.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/database/seeders/CourseFormatSeeder.php) --- # Restore a plan Source: https://docs.kamoorj.com/en/docs/learning-plan-restore ## When to open deleted plans In **Learning Management → Learning Plan**, open deleted items or go to `/learning/plan/restore`. Restoring returns the original plan under its existing ID. Use this page if creating a plan reports a deleted match for the same academic year, degree, study format, faculty and profession. A warning in the student record can also lead here. When its status is `deleted`, staff with restore access see the link. For a missing or ambiguous plan, check the student's academic details in the [plan list](/en/docs/learning-plans). ## Permissions and scopes The page belongs to `learning-plan`. Reading the bin requires `learning-plan.deleted-items`. Restoring requires `learning-plan.restore`. After restoration the interface refreshes both lists, including the main list protected by `learning-plan.index`. The server declares the `faculty` and `profession` scopes. Check the staff member's scope when searching for a missing row. ## Restore a matching plan Suppose creating a Computer Science plan for 2026/27 reports that a matching plan was deleted. Compare the intended plan with the deleted record before restoring it. 1. Open deleted items and match the academic year, degree, faculty, study format and profession. Check the duration, study type and education sector for additional confirmation. Narrow screens hide some of these columns. 2. Select **Restore** on the matching row. Choose **Yes** in the confirmation dialog. **No** cancels the action. 3. After the success message, the row disappears from deleted items. Return to the main list, open [plan details](/en/docs/learning-plan-details) and verify its schedule and semesters. 4. If you came from a student warning, reopen that student's academic details. Compare the year and profession on the active academic record with the restored plan. ## If the plan does not appear - **The bin is empty.** Check the main list in case the plan is already active. Verify the role's faculty and profession scope. - **The row is visible but Restore is disabled.** Check the role's restore permission. Viewing deleted records and restoring them are separate actions. - **The success message appeared but the dialog stayed open.** The two list refreshes follow the restore request. Reload the main list and verify the record before retrying. - **Record not found.** Refresh the list and search again using the original plan details. An old ID may no longer resolve to a record available to the role. ## Implementation references - [PlanRestoreTable.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LearningPlan/components/LearningPlanRestore/components/PlanRestoreTable/App/PlanRestoreTable.tsx) - [MissingLearningPlanAlert.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/StudentsManagement/Students/StudentsPages/EducationalDetails/components/MissingLearningPlanAlert.tsx) - [permissionActionMap.json](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/public/permissionActionMap.json) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/routes/api.php) - [LearningPlanController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Http/Controllers/LearningPlanController.php) --- # Operational study plan Source: https://docs.kamoorj.com/en/docs/operational-study-plans ## When to use the operational plan Open **Learning Management → Operational study plan** at `/operational-study-plans`. Use it to produce a document for one year of study from an existing curriculum. For example, a coordinator can print the subjects and hours taught in year two for a department. The chosen document configuration controls column selection and order, orientation and totals. Correct the underlying hours or subjects in the [learning plan details](/en/docs/learning-plan-details). ## Select the context and generate the document 1. Select the **original plan’s** academic year, degree, learning format and faculty. 2. Select the profession in the tree. Then choose the year of study and the learning plan. The selected course year must fit the plan’s duration. If only four-year plans match, year five is unavailable. 3. In the **Operational study plan** field choose a configuration. Its status appears beside its name. Choose an active configuration (`active`) to generate the document. 4. Select **Search**. All seven context fields and the configuration are required. The submitted selection is stored in the page URL. When opening that URL again, select Search to generate the document. 5. Verify the year, course, semester headings and subjects. Changing an earlier filter clears dependent values and removes the old preview. Complete the selection and search again. Reset clears the form and preview. **Example.** For a 2025/26 intake plan choose Bachelor’s degree, full-time study, your faculty, Computer Science, year two and the corresponding four-year plan. Select an active document configuration. The expected document data for year two is academic year 2026/27 and semesters three and four. The filter uses the plan’s intake year, while the document year includes the course-year offset. ## Read the table and totals | What you see | Where it comes from | | --- | --- | | Title, plan information, header and footer | The server builds the document for the selected plan, course year and configuration. Preview bands appear when assigned to the configuration. | | One subject across one or two semesters | Curriculum rows with the same set of subjects can appear on one line for the course year. Cells for a missing semester remain blank. | | Hours, teaching and assessment types | Active columns in the configuration appear when their keys exist in the catalog for that course year. A separate laboratory column, for example, depends on the teaching types used in the plan. | | Total row | Appears when totals are enabled and rows exist. For each elective group the calculation takes one representative and multiplies its values by the number of choices required. Three equivalent 30-hour alternatives with one required choice contribute 30 hours. | ## Print or download Once the preview is ready, choose Print, PDF or Excel. Print opens the browser dialog. The server generates PDF and XLSX using the same plan, course year and configuration. Preview zoom ranges from 50 to 150 percent, starting at 80 percent. Zoom changes only the screen preview. If a downloaded file has a header or footer missing from the preview, check the module defaults. Server export uses the configuration’s band first and can use an applicable module default when that band is unset. ## Permissions and troubleshooting | Action | Permission and scope | | --- | --- | | Open module, select plans and generate document | `lp-operational`, action `operational-plans.index`. Supported scopes are `faculty` and `profession` on the source plan. | | Load profession tree and configuration list | The tree uses `profession.index`. Configurations use `operational-plan-configs.index` in `lp-operational-config` and are shared system-wide. | | Download PDF or XLSX | The server requires `operational-plans.export` and access to the plan’s faculty and profession. | | Open configuration settings | The button opens `/operational-study-plans/configuration` with permission to read the configuration list. Saving configuration changes requires a separate action. | **No plans in the selector.** Compare the intake year, previous filters, plan duration and role scopes against the [learning plan list](/en/docs/learning-plans). **No document after Search.** Check the selected configuration and status. Draft or archived configurations may appear in the list, but only an active configuration generates a document. If the list is empty, check configuration-list access. **Unexpected hours.** Compare the same course year and semester in the [source curriculum](/en/docs/learning-plan-details). Search and export again after correcting the plan. Approval locking protects source-plan edits. Operational plan reading and printing remain available within the assigned permissions. ## Implementation references - [MainPage.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/OperationalStudyPlans/MainPage.tsx) - [OperationalPlanDocument.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/OperationalStudyPlans/OperationalPlanDocument.tsx) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/routes/api.php) - [OperationalPlanFilterService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Services/OperationalPlanFilterService.php) - [OperationalPlanContextResolver.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Services/OperationalPlanContextResolver.php) - [OperationalPlanPresenter.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Presenters/OperationalPlanPresenter.php) - [OperationalPlanController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Http/Controllers/OperationalPlanController.php) ## Related pages - [Table view and list settings](/en/docs/operational-plans-table) - [Operational plan configuration](/en/docs/operational-study-plan-configuration) - [Document header and footer](/en/docs/operational-study-plan-partials) --- # Table view and list settings Source: https://docs.kamoorj.com/en/docs/operational-plans-table ## Where to work Under **Learning Management → Operational study plan**, the menu key `lp-operational` points to `/learning/operational-plans`. This view renders an ordinary table. Its settings button opens `/learning/operational-plans/configurations`. Both screens use the same stored configurations and study plans as the [document preview and print screen](/en/docs/operational-study-plans). ## Build a table for a course 1. Select the source plan's academic year, degree, study mode, faculty, profession, course and study plan. The options narrow progressively. Changing a filter clears its successors and the previously built document. 2. Select the document configuration. This screen offers active configurations only. 3. Click the build button once the course, plan and configuration have been selected. The plan filter offers records whose duration is at least the selected course. 4. Check the title, metadata, subjects, nested semester columns and totals. The table scrolls horizontally and does not paginate its rows. 5. Click PDF or XLSX to download the current selection. If a filter or configuration changes, build the document again first. **Example.** Select a 2025/26 intake plan, Bachelor's degree, full-time study, Computer Science faculty, Computer Science profession, course 2 and an active configuration called “Department summary”. Compare semesters 3 and 4 with the [source plan details](/en/docs/learning-plan-details). Choosing another course clears the table until you build it again. ## Configure using the list panel The configuration list shows name, code and status. Add opens a drawer, the pencil opens an existing configuration and Delete requires confirmation. | Field | Example and meaning | | --- | --- | | Code | `department-summary`, unique among undeleted configurations; up to 50 characters consisting of letters, digits, hyphens and underscores | | Name | Department summary and translations; the Armenian name is required in this form | | Status | Draft on creation; active when ready for use; archived when retired | | Orientation | Landscape (initial value) or portrait | | Default format | XLSX (initial value in this drawer) or PDF | | Header, footer | An active partial for the operational plan context, or an empty selection | | Show totals | Enabled by default on creation | ### Configure columns 1. In the catalog, select a sample source plan and course, then click Load columns. A new configuration receives all available columns, with default and required columns initially enabled. When editing a saved configuration, existing columns remain and the catalog lets you select additional keys. 2. Select the desired columns. For example, include subject name, lecture and practical hours, total workload and credits. Keep the required subject column active. 3. Use the up/down arrows to arrange columns. Set the width (1–1000), alignment, rotation and an optional Armenian custom label per column. Grouped columns must be contiguous, and column keys must be unique and recognized by the system. 4. Save as a draft. Reopen it, verify the values and columns, change the status to active and save. Build documents for several source plans, because specific teaching types vary by plan while the configuration is shared. 5. For additional layout controls, open the [configuration editor](/en/docs/operational-study-plan-configuration). Create or edit header and footer designs in the [partial editor](/en/docs/operational-study-plan-partials). ## Permissions and scopes | Action | Permission | | --- | --- | | Open the table, load filters and column catalog | `operational-plans.index` (`lp-operational`); faculty and profession scopes of the source plan | | Export | `operational-plans.export`, same scopes | | List configurations | `operational-plan-configs.index` (`lp-operational-config`) | | Create / edit / delete | `operational-plan-configs.store` / `.update` / `.destroy` respectively; opening an existing configuration uses `.show` | | Select header or footer | Read access to `export-templates/{header,footer}-partials` in context `operational-plan` | Configurations have no faculty or profession scopes. Changing an active configuration affects subsequent documents generated with it by all users. Source plan scopes continue to restrict access to source data. Create, edit and delete have separate permission groups. ## Troubleshooting - **Build is disabled.** Select a course, plan and configuration. If no plans are listed, verify earlier filters and scopes. - **The required configuration is missing.** Verify that it is active and that the configuration list is accessible. - **Save fails.** Check code uniqueness, name, the required subject column, duplicate keys, contiguous groups and valid widths. - **A configuration disappeared after deletion.** The server soft-deletes it; this drawer has no restore button. To retire a record while retaining it in the list, use the archived status instead. - **Unexpected data.** Verify the source plan and course, check the column selection and build again. ## Implementation references - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/layout/data/index.tsx) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/OperationalPlans/index.tsx) - [Configurations.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/OperationalPlans/Configurations.tsx) - [OperationalPlansService.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/OperationalPlans/OperationalPlansService.ts) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/routes/api.php) - [StoreOperationalPlanConfigRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Http/Requests/StoreOperationalPlanConfigRequest.php) - [OperationalPlanConfigService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Services/OperationalPlanConfigService.php) - [OperationalPlanConfigController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Http/Controllers/OperationalPlanConfigController.php) --- # Operational plan configuration Source: https://docs.kamoorj.com/en/docs/operational-study-plan-configuration ## Purpose and access An operational study plan configuration defines the document layout: column selection, order, headings, page orientation, totals, header and footer. The same configuration can be used for different faculties, professions and course years. 1. Open **Learning Management → Operational study plan**. 2. Select a source learning plan and course year. See [generating a document](/en/docs/operational-study-plans) for the filters. 3. Open the page settings. The editor is located at `/operational-study-plans/configuration`. The selected plan, course and configuration identifiers are passed along with the other filters. 4. Select an existing configuration or click Add. Without a valid plan identifier and course number, the editor asks you to go back and select them. They provide the context for the column catalog. ## Configuration fields | Field | Meaning | Example | | --- | --- | --- | | Name | Translated display name, up to 255 characters per language. At least one nonempty translation is required when creating. | Department plan, План для кафедры, Ամբիոնի պլան | | Code | Unique among non-deleted configurations, up to 50 characters. Use Latin letters, digits, dashes and underscores for a stable code. | `department_plan_2026` | | Orientation | Landscape or portrait page layout. | Landscape | | File format | Preferred PDF or Excel (XLSX) format, stored in the configuration. The document page allows explicit format selection when exporting. | PDF | | Status | Draft, active or archived. Document generation requires an active configuration. | Draft while preparing | | Totals | Includes or hides the totals row. | On | The new editor starts with landscape orientation, PDF, active status and totals enabled. Select Draft manually if the work is still in preparation. ## Columns and order The Columns tab shows a dynamic catalog for the selected course. General fields include row number, classifier, subject, total workload, classroom and independent study hours, credits and department. Semester groups include credits, hours and assessment types. There is also a group of hours by teaching type. The available teaching and assessment types depend on the source plan rows. | Column setting | Result | | --- | --- | | Active | Includes the column in the document. The subject column (`subject`) is required. | | Custom heading | Translated column heading. If omitted, the catalog heading is used. | | Width | Integer from 1 to 1000 pixels. | | Alignment | Left, center or right. | | Rotate | Displays the column heading vertically. | | Drag and drop | Reorders entire groups and columns within their group. | Semester keys are relative: `term_1.*` and `term_2.*` refer to the first and second semesters of the selected course. For the second course year these correspond to semesters 3 and 4. Absolute numbers in group headings are calculated from the course. Keep active columns belonging to the same semester or teaching-type group adjacent. The server rejects a configuration with a split group. Saved columns unavailable in the current course catalog are marked as missing. They remain in the configuration and are omitted when building a document for this course. For an existing form, newly available columns are added disabled. A new form enables required and default columns. This allows one form to serve courses with different teaching types. **Example.** For a compact department document, keep Subject, Department and Total workload, then add credits and classroom hours for each available semester. Set widths of 330 for the subject, 90 for the department and 45–60 for numeric fields, with subject text left aligned and numbers centered. Drag the general columns before the semester groups. Save and check the form against two courses with different subjects. ## Header and footer Use the corresponding tabs to choose active bands. The selector includes templates specific to the operational plan context and shared templates. Only templates belonging to the current context can be edited, archived or deleted here. Shared templates are selectable. Choosing a draft or archived template does not attach it to the configuration. Clearing the selection removes the association when you save. See the [header and footer editor](/en/docs/operational-study-plan-partials) for creating bands and configuring their fields and variables. ## Save and preview - Save writes the settings, translations, column order and activity, and band selections together. Switching configurations or navigating back can lose unsaved settings. - Preview **first saves the configuration and sets it to active**, then requests the document for the selected course. A newly saved form receives its own ID. Keep this in mind if the form is still being prepared and should not yet be available to other staff. - Opening an active configuration loads its preview automatically. Editing a field alone does not regenerate it. The zoom buttons adjust display from 40 to 100 percent (initially 80). - After saving, return to the document page, select the configuration, repeat the search and check print, PDF and Excel. Layout changes affect all documents subsequently generated using that configuration. ## Manage configurations The Settings button next to the configuration selector opens a manager with All, Active, Draft, Archived and Trash filters. The list shows translated names, codes and status. Use the 15-row pagination for larger lists. | Action | Behavior | | --- | --- | | Add | Start a new form using the selected course catalog. | | Edit | Open a selected configuration in the editor. | | Status switch | Immediately saves the active ↔ draft transition. The switch is disabled for archived items; their status can be changed in the editor. | | Duplicate | Enter a new unique code, for example `department_plan_copy`. Copies translations, settings, order and layout into a draft with its own ID. Header and footer associations still refer to the same templates. | | Delete | Confirm to move the configuration to Trash. It becomes unavailable for normal document generation. | | Restore | Recovers the item with its stored status. Check that the configuration is active before using it. | ## Permissions, scopes and troubleshooting The `lp-operational-config` module has no faculty or profession scope: configurations are system-wide. The column catalog and generated documents are read through `lp-operational`, which supports the source plan's `faculty` and `profession` scopes. | Operation | Required permission | | --- | --- | | Open configuration list and record | `operational-plan-configs.index`, access to `operational-plan-configs.show` | | Load columns and document preview | `operational-plans.index` (the catalog is bound to this permission) | | Create or preview a new configuration | `operational-plan-configs.store` | | Edit, change status or preview an existing configuration | `operational-plan-configs.update` | | Duplicate | `operational-plan-configs.duplicate` (bound to creation permission) | | Delete | `operational-plan-configs.destroy` | | Open Trash and restore | `operational-plan-configs.deleted-items`, `operational-plan-configs.restore` respectively | | Read or change bands | Separate `export-header-templates.index/store` and `export-footer-templates.index/store` permissions for the relevant library | If saving fails, check the unique code, at least one nonempty translation, active subject column, absence of duplicate or unknown keys, contiguous active groups and valid widths. A header or footer must be active, compatible with the context and of the correct kind. For an empty preview, check the course, plan access, status and save result. If Settings is missing from the document page, check configuration list access. ## Implementation references - [ConfigurationPage.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/OperationalStudyPlans/ConfigurationPage.tsx) - [ColumnEditor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/OperationalStudyPlans/ColumnEditor.tsx) - [ConfigManagerModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/OperationalStudyPlans/ConfigManagerModal.tsx) - [utils.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/OperationalStudyPlans/utils.ts) - [PartialSelector.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/OperationalStudyPlans/PartialSelector.tsx) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/routes/api.php) - [StoreOperationalPlanConfigRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Http/Requests/StoreOperationalPlanConfigRequest.php) - [OperationalPlanConfigService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Services/OperationalPlanConfigService.php) - [OperationalPlanColumnCatalog.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Services/OperationalPlanColumnCatalog.php) - [OperationalPlanPresenter.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Presenters/OperationalPlanPresenter.php) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ExportTemplates/routes/api.php) --- # Document header and footer Source: https://docs.kamoorj.com/en/docs/operational-study-plan-partials ## Purpose and access Open **Learning Management → Operational study plan → Configuration**. Expand the header or footer section and click Add, or select a context-specific layout and click Edit. The editor route is `/operational-study-plans/configuration/partials/:id` (use `new` for a new layout). The URL retains the partial kind and configuration return path. A partial is a reusable header or footer. Configure institutional details, plan title and course in the header, and signatures or notes in the footer. The [operational plan configuration](/en/docs/operational-study-plan-configuration) controls partial assignment and document columns. Editing partials does not change subjects, hours or grades. ## Create and assign a header 1. Save the configuration before opening the editor, since returning reloads the saved configuration. 2. Enter a multilingual name, for example “Operational plan — header”, “Оперативный план — шапка”, or “Օպերատիվ պլան — վերնամաս”. At least one nonempty translation is required, with up to 255 characters per translation. 3. Confirm the Header kind. Switching the kind opens a new layout of the chosen type and leaves the existing partial unchanged. Create a separate Footer for the bottom of the document. There is no student/employee subject type here. 4. Add sections and blocks. Insert the university name as a variable and “Operational study plan” as fixed text. Position the blocks on the grid and configure their dimensions, alignment and formatting. Add a library image, date or signature line as needed. Background color applies to the partial itself. 5. Open the layout preview to inspect positions and sizing. Verify the actual plan values later against a document generated for a particular course. 6. Save. A new partial receives a permanent ID and initially has draft status. Saving does not assign it to a document. 7. Return to the configuration, select the new partial and activate it. Save the configuration separately and generate the [operational study plan](/en/docs/operational-study-plans) again. The partial and the configuration have independent save operations. Leaving the editor with unsaved changes triggers a warning. ## Available data The editor creates templates in the `operational-plan` context. Common institutional variables include `university.name`, abbreviation, address, website, phone and email. | Key | Meaning | | --- | --- | | `plan.academic_year` | Academic year of the selected course. For intake year 2025/26 and course 2, this is 2026/27 if present in the calendar. | | `plan.faculty` | Faculty name from the plan. | | `plan.speciality` | Parent speciality for a child program, or the root speciality itself. | | `plan.program` | Child educational program; empty for a root speciality. | | `plan.learning_format`, `plan.educational_degree`, `plan.education_sector` | Plan's learning format, degree and sector. | | `plan.course` | Selected course number. | | `plan.name` | Original plan speciality/program name and intake year. | | `plan.term_1_caption`, `plan.term_2_caption` | Both semester captions from the same catalog that supplies the table headings. | For footers, `role.name` prints the role name, `employee.by_role_scope` prints the signatory's name, and `signatory.attribute` prints their position, abbreviated position, academic position, department, degree or title. Choose a role in the block properties and pin a particular employee where the selection allows it. Use the same role and signatory on the name and attribute blocks. If multiple employees hold the role, inspect the actual exported signature. Sections are static. Data sets and loops over students or subjects are unavailable. Each variable is a single value. A saved partial's context cannot be changed. ## Manage assignments and status The header and footer selectors list shared and operational-plan partials with their names and statuses. Search uses the displayed option label. Selecting a draft or archived item lets you view its status, but only active IDs are assigned in the configuration. | Action | Result | | --- | --- | | Choose active | Set its ID in the editable configuration; save the form. | | Clear | Remove the assignment in the editable configuration. | | Activate | Change the context-specific partial to active and select it. | | Archive | Change its status to archived and clear the assignment in the current form. | | Delete | After confirmation, soft-delete the partial and refresh the cleared selector. | Active shared layouts can be assigned. Editing, activation, archiving and deletion from this selector apply to layouts in the `operational-plan` context. The Current marker identifies that context, regardless of the author. If another configuration uses the same partial, edits affect that document too. Check other assignments after archiving or deleting, as the server accepts only applicable active partials. When no partial is assigned, a server export may use the module's default layout. ## Permissions and troubleshooting | Action | Required access | | --- | --- | | Open editor | `lp-operational-config`; the editor save button uses the configuration create/edit permission group. | | List, open, read variables and signatory candidates | `export-header-templates.index` or `export-footer-templates.index`, depending on the kind. | | Create partial | The respective `export-header-templates.store` or `export-footer-templates.store`. Backend update, status, delete and media-writing routes are also bound to the corresponding store permission. | | Save assignment | Create/update rights for `operational-plan-configs`. | Partial libraries are system-wide, without faculty or profession scope for their templates. Document generation checks access to the original plan separately. - **List empty or loading error:** check library read access. - **Edit unavailable:** check ownership context and configuration permissions; saving also requires library write access. - **Missing name or layout validation error:** enter at least one translation and inspect the editor's error list for invalid properties, variables or formatting. - **Cannot assign:** activate the template and verify matching kind/context. The server rejects invalid, deleted, inactive or inapplicable IDs (`operational_plan.partial_not_applicable`). - **Missing program in export:** check the speciality tree, translations and original plan. An empty program for a root speciality is expected. - **Unexpected header in PDF/XLSX:** check the selected configuration's saved assignment and module default header, then rebuild and export the document. ## Implementation references - [PartialEditorPage.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/OperationalStudyPlans/PartialEditorPage.tsx) - [PartialSelector.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/OperationalStudyPlans/PartialSelector.tsx) - [operationalPartialAdapter.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/OperationalStudyPlans/operationalPartialAdapter.ts) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/References/ReferenceTemplates/Editor/container/index.tsx) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ExportTemplates/routes/api.php) - [ExportPartialService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ExportTemplates/Services/ExportPartialService.php) - [ExportVariableCatalog.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ExportTemplates/Services/ExportVariableCatalog.php) - [OperationalPlanPartialContextProvider.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Services/OperationalPlanPartialContextProvider.php) - [OperationalPlanConfigService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Services/OperationalPlanConfigService.php) - [OperationalPlanController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlan/Http/Controllers/OperationalPlanController.php) --- # Subject groups Source: https://docs.kamoorj.com/en/docs/subject-groups ## Open the register Go to **Learning Management → Subject groups** (`/subject/groups`). Each record has a translated group name, a department, one subject and dates. To record a student's individual subject choice, open [Elective Subjects](/en/docs/elective-subjects). To teach groups from different study plans together, open [United Lessons](/en/docs/united-lessons). ## Permissions and scopes The module key is `subject-groups`. The list requires `subject-groups.index`, creation requires `subject-groups.store` and editing requires `subject-groups.update`. The list and forms use `academic-departments.index` and `subjects.index` for their lookups. Deletion requires `subject-groups.destroy`. Viewing deleted items requires `subject-groups.deleted-items`. Restoring a record requires `subject-groups.restore`. The module's routes declare no faculty, profession, department or subject scope. The department field identifies the department for the record. Filtering the table by department changes the displayed rows. If a lookup is empty, check the role's access to that lookup separately. ## Create a subject group For this example, create a group called “Language preparation” in the Foreign Languages Department. First check that the department and the English subject exist in their respective registers. | Field | Example | Entry rule | | --- | --- | --- | | Name | Language preparation | Enter the translations you use. Each translation submitted requires a registered language code and a name of up to 100 characters. | | Department | Foreign Languages | Select a department from the list. | | Subject | English | Select a record from the subject tree. The server requires an existing subject ID even though the control allows clearing the selection. | | Start date | 1 September 2026 | Required by the form. | | End date | 30 June 2027 | Leave blank if the end date is unknown. | 1. Open the create action, enter the names and select the department. 2. Expand the subject tree or search by part of the name. The available translations determine the displayed names. 3. Set the dates and save. Search for the name, reopen the row and check the department, subject and dates. 4. To extend the period, change the end date on the same row. Creating another group with the same name may cause a duplicate translation error. ## Find or restore a record Search matches translated names. The list accepts department and subject filters and ranges for the start and end dates. If a row disappears after its dates change, clear the date range and search again. Deleted groups appear in the deleted items list. If creating a group produces a `deleted_data_check` conflict, look up its name among the deleted records. Check the record before restoring it, then find it again in the main list. If the restore action is missing, check the role's restore permission. ## Implementation references - [SubjectGroupsDescriptor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/SubjectGroups/SubjectGroupsDescriptor.tsx) and the adjacent [SubjectGroupsSubjectField.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/SubjectGroups/SubjectGroupsSubjectField.tsx) define the form fields and subject selector. - [permissionActionMap.json](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/public/permissionActionMap.json) lists action permissions and dependencies. - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/SubjectGroup/routes/api.php), [SubjectGroupRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/SubjectGroup/Http/Requests/SubjectGroupRequest.php) and the adjacent [IndexSubjectGroupRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/SubjectGroup/Http/Requests/IndexSubjectGroupRequest.php) define the module, validation and filters. - [SubjectGroupService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/SubjectGroup/Http/Services/SubjectGroupService.php) handles saving, conflicts with deleted records and restoration. --- # Process Schedules Source: https://docs.kamoorj.com/en/docs/process-schedules ## Purpose Open **Learning Management → Process Schedules** (`/process-schedules`). Compare learning plan calendars and obtain a single schedule grid for plans with identical schedules. A curriculum coordinator can, for example, identify bachelor programs that share the same teaching, placement and holiday weeks. Groups are calculated automatically for each request. To change source weeks, open the [learning plan details](/en/docs/learning-plan-details). This screen does not create student groups or assign teachers. ## Build a selection 1. Select the source plan's academic year, for example 2025/26. 2. Choose the educational degree, for example bachelor's. 3. Choose the learning format, for example full-time. 4. Click Search. All three values are required. If one is missing, the screen displays a prompt rather than schedules. 5. Check the number of groups and number of plans in each card. Repeat the search to compare a different degree or learning format. Filters are stored in the address. A shared link restores the selection with the recipient's access rights. Reset clears the three parameters and hides results. There are no separate faculty or profession selectors on this screen. The server supports additional restrictions by these fields and the role scopes. The year filter refers to the source [learning plan](/en/docs/learning-plans), while rows represent its courses. For an intake plan created in 2024/25, choose that year even when inspecting its second course. ## How plans are grouped The server selects plans matching year, degree and learning format. It normalizes each schedule using: - Courses from saved schedule records in ascending order, considering weeks 1–52 for each course. - The set of educational symbol IDs in every corresponding cell, regardless of entry order. - The saved semester boundaries, including course, week and the start/end types of the first and second semesters. Schedules belong to the same group when their number of represented courses, corresponding symbol sets and semester boundaries match. Speciality names do not determine grouping. Two distinct symbol records with the same displayed glyph can split groups because IDs are compared. **Example.** Computer Science and Mathematics have four identically filled courses, use the same examination symbol in week 20 and have matching semester boundaries. They form one group. If Physics uses week 21 for that examination period or has a different semester boundary, it belongs to another group. Groups are sorted by descending plan count, then by the group's lowest plan ID in ascending order. Group numbers are recalculated on each search; they are not permanent identifiers. ## Read the schedule | Card element | Meaning | | --- | --- | | Title | First plan's speciality name, or the group number if the name is missing. | | Plan count | Number of matching plans. Plan IDs, speciality, degree and learning format appear below the table. | | Course | One row for each course represented by saved weekly schedule records. | | Month, dates, week number | Calendar axis of the selected academic year. A week spanning two months receives its own column without a shared month heading. | | Cell | All displayed symbols for that week. Where several exist, the cell color comes from the first visible symbol. Missing cells and the empty sentinel are displayed blank. | | Semester boundaries | Special formatting of semester starts and ends. | | Legend | Symbols used across the selection with translated names, falling back to the slug or glyph when unavailable. | Scroll horizontally when the grid is wider than the screen. The course column remains fixed. The symbol-type count refers to the distinct visible symbols in the group; all groups share the legend. ## Change source data Identify the plan ID below the card, open it from the learning plan list and expand the schedule. Set the appropriate weekly symbols and semester boundaries, then save. Return here and refresh the selection. Symbol definitions are managed in [learning plan settings](/en/docs/learning-plan-settings). To change the legend name of a symbol, update its translation in the directory; all plans using that symbol will display the revised name. To change the calendar itself, select the appropriate symbol in the individual plan's schedule. Schedule editing requires its own permission and respects approval locks on the plan. Previously exported files do not update automatically. ## Export and configure the document After completing all three filters, the content export button is available to users with export access. The export represents the entire selected slice of plans. 1. Click Export and choose an available schedule template when the module allows template selection. 2. Select PDF or Excel. If template-free export is enabled, the standard course-and-week form is available. Default-only mode requires a suitable default template. 3. Complete additional parameters required by the form. Select a header, footer or signatory if those controls are available. Headers and footers fixed in module settings are automatically selected. 4. Check the preview and download the file or use the print action when shown. The document is configured under Administration → Module Export Builder for Process Schedule (`process-schedule`). Templates can target a degree and learning format. Its data catalog includes course, weeks 1–52 with symbols, occupied-week count and the number of weeks of a particular symbol. The builder can include these measures in the document. Shared header/footer settings belong to `lp-schedule-groups`. Changing templates and settings requires the corresponding administrative permissions. ## Permissions and scopes | Action | Permission | | --- | --- | | Open screen | Module `lp-schedule-groups`. | | Retrieve grouped schedules | Backend action `learning-plan-subjects.term-schedule-grouped.index`. | | Load filters | `academic-years.index`, `educational-degrees.index`, `learning-formats.index`. | | Export/print | `process-schedules.export`; column lookup is bound to the same right. | | Modify the source schedule | Module `lp-schedule`, action `learning-plan-subjects.term-schedule.upsert`, subject to approval status. | Grouped retrieval and export declare faculty (`faculty`) and profession (`profession`) scopes. Users with different scopes can see different groups and plan counts for the same filters. Check the content export builder permissions separately when managing templates. ## Common issues - **Required filters prompt:** select the original plan year, degree and learning format, then search. - **No plans:** check the source plan list and the user's faculty/profession access. - **Plan appears but no course rows:** inspect the saved weekly symbols in its details. An empty schedule structure can also be grouped. - **Near-identical schedules split:** compare every course, week, symbol ID and semester boundary. - **No export button or applicable template:** check `process-schedules.export`, the export mode and an active template for the selected degree and format. - **Outdated file:** refresh the selection after saving the source schedule and generate a new file. ## Implementation references - [container.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProcessSchedulesGrouped/container.tsx) - [ProcessScheduleGrid.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProcessSchedulesGrouped/components/ProcessScheduleGrid.tsx) - [processSchedulesMapper.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProcessSchedulesGrouped/utils/processSchedulesMapper.ts) - [ContentExportTab.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/components/TableExport/ContentExportTab.tsx) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LearningPlanSubject/routes/api.php) - [ProcessScheduleService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProcessSchedule/Services/ProcessScheduleService.php) - [GroupedScheduleRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProcessSchedule/Http/Requests/GroupedScheduleRequest.php) - [ProcessSchedulePresenter.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExport/Presenters/ProcessSchedulePresenter.php) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExport/routes/api.php) --- # United Lessons Source: https://docs.kamoorj.com/en/docs/united-lessons ## Pages and concepts The combined-subject list is at `/united/lessons`; details are at `/united/item/:id`. A combined category connects specific source groups and teaching types so students from different curricula can attend together. A source group already linked to another category is rejected on save. Check its current category before trying to add it again. ## Permissions and scope Open **Learning Management → United Lessons** (`united-lessons`). The list and record use the faculty scope (`faculty`). Saving checks the selected faculties. Categories and source groups belong to the child module `united-lesson-manage` with the same scope. Sector, study format and year of study narrow the data displayed in the record. | Task | Action permission | | --- | --- | | List, create or edit records | `united-lessons.index`, `united-lessons.store`, `united-lessons.update`, respectively | | View available subjects and groups | `united-lessons-categories.show` | | Create, edit or remove a category | `united-lessons-categories.store`, `united-lessons-categories.update`, `united-lessons-categories.destroy` | | Synchronize groups | `united-lessons.sync` | ## Example record Create a record for academic year 2026/27. Choose semester 1, bachelor's degree, full-time study, the faculty, year of study 2 and a limit of 20 students. Degree, study format, faculty and year of study each accept one or more values. The student limit must be an integer from 1 to 10,000. In the record, add a subject from the available list and choose the branches to combine. Select the teaching types and an assessment type used by at least one selected branch. If specifying a main study format, select a format from one of their curricula. If a maximum-course warning appears, check the year, format and degree it lists. With permission to create an educational duration, follow the warning link to complete the missing combination and reload the data. When editing a record, the system checks whether any linked group still uses a year of study, faculty, degree or study format you are removing. ## Prerequisites Prepare curricula containing the subject in the intended years and semesters, professions with educational sectors, and the teaching types to combine. For electives, [save student choices first](/en/docs/elective-subjects). Automatic allocation also requires a positive per-instance student limit. ## Workflow 1. Open the intended combined-subject record. 2. Find the subject and review the proposed curriculum branches. 3. Select the source groups and shared teaching types. 4. For groups from different sectors, select a main sector belonging to one of those groups. 5. Save the category and inspect its student roster. 6. Configure named groups and student assignments, then check teacher assignments separately. ## Sector filtering Sector filtering happens before candidate subjects are selected. A subject needs at least two matching curricula inside the chosen sector. A subject appearing in one curriculum in sector A and one in sector B may qualify without the filter but disappear when only A is selected. The candidate-sector filter and the category's main sector serve different purposes. The main sector determines where the combined workload row belongs, including sector totals in applicable exports. ## Example with two sectors English is present in two professions, one in sector A and another in sector B. Select both branches and the shared “Lecture” teaching type. Select A or B as the main sector when saving. Sector C is invalid if none of the selected branches belongs to it. Review the student roster afterwards. For an elective, only students who selected English in the appropriate curriculum row qualify, subject to current-period eligibility. ## Setting-dependent behavior | Condition | Result | | --- | --- | | Automatic groups disabled | Creating a category does not trigger automatic allocation | | `united_lessons_auto_groups` enabled | A new category allocates its eligible roster automatically | | Enabled after a category already exists | Existing categories are not automatically redistributed | | Existing category edited | Editing alone does not trigger allocation | See [student assignments](/en/docs/united-students) for limits and a numerical example. ## Troubleshooting No candidate subjects: check the sector filter and number of matching curricula. Main-sector validation error: select a sector belonging to a selected branch. Missing student: check elective choice and current enrollment. Workload count differs from the advance roster: check expected-student labels. ## Related guides - [Elective choices](/en/docs/elective-subjects) - [Student eligibility](/en/docs/student-cohort) - [Student assignments](/en/docs/united-students) ## Implementation references - [UnitedLessons/UnitedLessonsDescriptor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/UnitedLessons/UnitedLessonsDescriptor.tsx) - [UnitedLessons/Http/Requests/UnitedLessonsRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/UnitedLessons/Http/Requests/UnitedLessonsRequest.php) - [UnitedLessons/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/UnitedLessons/routes/api.php) - [UnitedLessonsCategory/Http/Requests/UnitedLessonsCategoryRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/UnitedLessonsCategory/Http/Requests/UnitedLessonsCategoryRequest.php) - [UnitedLessonsCategory/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/UnitedLessonsCategory/routes/api.php) - [UnitedLessonsGroup/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/UnitedLessonsGroup/routes/api.php) --- # Academic Structure Source: https://docs.kamoorj.com/en/docs/academic-structure ## Purpose **Learning Management → Academic Structure** (`/academic/structure`) stores the hierarchy of educational units, such as Course → Group → Subgroup. It defines the levels at which classes are organized and student counts are calculated. Individual students and subjects are assigned in their respective modules. The settings page (`/academic/structure/settings`) links educational units to teaching formats and academic years. These links participate in workload calculations and student distribution for united and elective subjects. ## Add an educational unit Open the Add action and complete the form. | Field | What to enter | | --- | --- | | Name | The unit name in the languages used by your institution. Required, up to 150 characters. Letters, numbers, spaces, periods and hyphens are allowed. Names of non-deleted records must be distinct. | | Parent | An existing unit at the level above the new one. Leave empty for the first root. | | Status | The record's status switch. Turn it on if the unit should be active. | **Example hierarchy** | Name EN / RU / HY | Parent | Status | | --- | --- | --- | | Course / Курс / Կուրս | Empty | Active | | Group / Группа / Խումբ | Course | Active | | Subgroup / Подгруппа / Ենթախումբ | Group | Active | 1. If a root exists, use it when adding lower levels. The server allows only one non-deleted record without a parent. 2. Create Group with Course as its parent. Then create Subgroup with Group as its parent. 3. Reload and compare the links in the Parent column. With default sorting, the parent comes first, followed by its descendants. 4. Check the teaching format settings described below for the created levels. The server checks that the selected parent exists and prevents moving the root under another element. You cannot select a unit as its own parent or choose a descendant as its parent and thus create a cycle. When changing names, preserve meaningful translations. Creating an educational unit also automatically creates a linked calculation option with its translations. ## Table, editing and Trash The main table displays name, parent and status. Search matches translated names. Status filtering and sorting are supported, and clearing explicit sorting restores the hierarchy order. Search may omit parent rows when they do not match the query. Use Edit to change a name, status or valid parent. Before changing a level, check its use in calculation rules and settings. Deleting moves the record and linked calculation option to Trash. The teaching-format links and child records are not automatically cleared. Before deleting a level, check its usage and children. If it was deleted in error, open Trash and restore the educational unit. Restoration also returns the linked deleted calculation option. Check the whole branch and its settings afterwards. The main page supports PDF and Excel table exports with the appropriate permissions. ## Teaching format settings 1. Open the settings from the main Academic Structure page using its header action. If the button is unavailable, check settings read permissions. 2. Find the desired unit in the list. The table shows the name, linked teaching formats and effective period. 3. Select Edit in the row actions. The form includes a locked educational unit field, teaching formats, a start year and an end year. 4. Select one or more teaching formats. Enter the first year of the period; the last year may be left blank. Use integer years corresponding to the start of an academic year, for example 2026 for 2026/27. The end year must be at least the start year. A blank end means an open-ended period. 5. Click Save and check the updated row. All selected formats for the unit share one year range in this form. Changing the range replaces the interval for retained formats; deselecting a format removes its link. Clearing all selected formats during editing removes the unit's links. ### Example assignment | Educational unit | Teaching formats | Start | End | | --- | --- | --- | --- | | Course | Lecture | 2026 | Empty | | Group | Practical class, seminar | 2026 | Empty | | Subgroup | Laboratory work | 2026 | Empty | Select the teaching formats actually configured by your institution. For example, lectures are attended by the entire course, while laboratory classes are organized in subgroups. The link tells the system which educational structure level to use for a particular teaching format's calculation. ### Periods and conflicting assignments Both start and end years are included. A teaching format cannot be linked to different educational units for overlapping periods. For example, Lecture is assigned to Course from 2026 through 2027. Assigning Lecture to Group starting in 2027 conflicts. The server supports non-overlapping periods, such as 2026–2027 and 2028 onward, but the current UI disables teaching formats already assigned to another unit regardless of period. To change a historical rule, account for this form limitation and coordinate the change with an administrator. Simply removing an old link deletes its history. ## Effects in other modules - For [elective subjects](/en/docs/elective-subjects), applicable units are determined from teaching formats with nonzero hours or weekly values on the plan row and the effective period. Explicit grouping has its own set of rules. A missing applicable assignment may cause an expected allocation column to be absent. - For [united lessons](/en/docs/united-lessons), applicable levels depend on teaching formats in categories linked to the chosen group and the source plan's start year adjusted for its course. For the 2025/26 intake plan on course year 2, the year is 2026. - Workload calculation primarily selects the assignment for the workload's own academic year start. If no assignment covers that year, the calculation uses the latest assignment for that teaching format. If there is no assignment at all, the ordinary educational-unit contribution is zero; a separate [virtual-group attachment](/en/docs/virtual-group-attachments), where present, may still contribute to workload. After changing assignments, check expected student counts for the relevant year in the connected modules and verify the workload calculation again. ## Permissions, scopes and troubleshooting The `academic-structure` and `academic-structure-settings` modules are shared directories. Their routes declare no faculty, profession, department or other object scopes. Access is based on role action permissions. | Operation | Required route permission | | --- | --- | | Open the main table | `educational-units.index` | | Add | `educational-units.store` | | Edit | `educational-units.update` | | Delete | `educational-units.destroy` | | Open Trash | `educational-units.deleted-items` | | Restore | `educational-units.restore` | | Export | `educational-units.export-excel`, `educational-units.export-pdf` | | Open settings | `educational-unites-settings.index`, `educational-units.index` for the unit list | | Edit assignment | `educational-unit-settings.update`, `teaching-types.index` to select formats | | Create the first assignment | The frontend uses `educational-units/settings.store`; the server binds POST to `educational-unit-settings.update`. | The settings edit action is displayed only when both the create and edit action groups are accessible. Check exact route names, including the historical spelling `educational-unites-settings.index`. **Unit cannot be saved:** check translations, allowed characters, the unique name, the root and the selected parent. Moving the root or creating a cycle causes a validation error. **Teaching format is unavailable:** check whether it is assigned to another unit and compare the year intervals. Verify that the role can read the teaching formats list. **The required level is missing from allocation or workload:** compare the calculation or course year, the source subject's teaching formats, the assignment period and the unit's current state. Check the grouping rules of the relevant module. ## Implementation references - [AcademicStructureDescriptor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/AcademicStructure/AcademicStructureDescriptor.tsx) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/AcademicStructure/container/index.tsx) - [EditStructureSettingsModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/AcademicStructure/components/AcademicStructureSettings/components/StructureSettingsTable/components/EditStructureSettingsModal.tsx) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/AcademicStructure/components/AcademicStructureSettings/components/StructureSettingsTable/columns/index.tsx) - [permissionActionMap.json](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/public/permissionActionMap.json) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicStructure/routes/api.php) - [EducationalUnitRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicStructure/Http/Requests/EducationalUnitRequest.php) - [EducationalUnitController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicStructure/Http/Controllers/EducationalUnitController.php) - [EducationalUnitSettingsRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicStructure/Http/Requests/EducationalUnitSettingsRequest.php) - [EducationalUnitSettingsService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicStructure/Http/Services/EducationalUnitSettingsService.php) - [UniqueTeachingTypesPerUnit.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Rules/UniqueTeachingTypesPerUnit.php) - [EducationalUnitSettingsRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicStructure/Http/Repositories/EducationalUnitSettingsRepository.php) - [WorkloadSubjectCalculationService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/WorkloadSubject/Services/WorkloadSubjectCalculationService.php) - [ElectiveSubjectBlockService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ElectiveSubjectBlock/Services/ElectiveSubjectBlockService.php) - [UnitedLessonStudentService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/UnitedLessonStudent/Services/UnitedLessonStudentService.php) --- # Academic scheduling Source: https://docs.kamoorj.com/en/docs/academic-scheduling ## Purpose Open **Learning Management → Academic scheduling** (`/academic/scheduling`). This is the academic-hour catalog, for example, “First class” and “Second class”. Each record defines a start time, duration in minutes, year range, degrees and modes of study. Records provide class-time options, including in the gradebook. Subjects and workload hours are defined in the [study plan](/en/docs/learning-plan-details). ## Create an academic hour First ensure that the required degrees and study modes exist in the educational structure catalogs. Click Add and fill in the fields. | Field | Example | Rule | | --- | --- | --- | | Duration | 90 | Positive integer minutes | | Period | Первая пара, First class, Առաջին դասաժամ | Name in the relevant languages, at most 100 characters; registered language and valid translation | | Start time | 09:00 | Required 24-hour HH:mm time; the time picker has five-minute steps | | End time | 10:30 | Calculated by the server as start plus duration | | Educational degree | Bachelor, Master | Select one or more existing degrees | | Study mode | Full-time | Select one or more existing modes | | Start | 2026 | Required four-digit year | | End | 2027 | Four-digit year or blank for an open interval | 1. Set the start to 09:00 and duration to 90, select degrees and study mode, and set the years to 2026 and 2027. 2. Save. The table should display an end time of 10:30. Reopen the record and check its degrees and modes. 3. Create another record for the next class with a different name and time. For instance, 10:45 plus 90 minutes gives 12:15. 4. To change the time, edit the record and check the calculated end. The server stores the start and duration, and the form has no separate end-time input. ## Search, filters and validity The table supports pagination, searching by period name and years, and filtering by academic year, degrees and study modes. The academic-year filter checks the complete range: the academic-hour start year must be no later than the academic year's start, and its end must be no earlier than the academic year's end or remain blank. For instance, 2026–2027 covers 2026/27. Filtering for 2027/28 excludes this record. A blank end permits subsequent academic years starting from 2026. Choose consistent interval boundaries. Editing preserves stored translations in other languages. The selected degree and mode sets are updated from the form. The server separately retrieves academic hours for an educator workload by matching degrees and modes, so if an option is missing in a gradebook, check the workload data too. ## Delete and restore Select a record and delete it. Soft deletion moves it into the deleted-items list. Open that list, find the period, restore it and check the main table. If creation or editing reports a match in deleted data, locate and restore the appropriate existing record before recreating it. ## Permissions and scopes Module `academic-scheduling`, API `academic-hours`. Its routes declare no faculty or profession scopes. Degree, study mode and years are catalog attributes and filters. | Action | Permission | | --- | --- | | List | `academic-hours.index` | | Create | `academic-hours.store` | | Edit | `academic-hours.update` | | Delete | `academic-hours.destroy` | | Deleted items | `academic-hours.deleted-items` | | Restore | `academic-hours.restore` | Listing, creating and editing also use `educational-degrees.index` and `learning-formats.index`. The separate workload lookup `academic-hours/workload/{educator_workload_id}` is bound to `grade-book.index`. ## Troubleshooting - **No degrees or modes are available.** Check the catalogs and their read permissions. - **A record disappeared after selecting a year.** Compare the interval with both boundaries of the academic year. - **Time cannot be saved.** Provide an HH:mm start and a positive integer duration. - **Unexpected end time.** Enter the duration in minutes. A start of 09:00 and duration of 45 yields 09:45. - **An hour is missing in a gradebook.** Compare the educator workload's degree and mode with the catalog record. ## Implementation references - [AcademicSchedulingDescriptor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/AcademicScheduling/AcademicSchedulingDescriptor.tsx) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/AcademicScheduling/container/index.tsx) - [permissionActionMap.json](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/public/permissionActionMap.json) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicHour/routes/api.php) - [AcademicHourRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicHour/Http/Requests/AcademicHourRequest.php) - [FilterAcademicHoursRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicHour/Http/Requests/FilterAcademicHoursRequest.php) - [AcademicHourResource.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicHour/Http/Resources/AcademicHourResource.php) - [AcademicHourRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicHour/Http/Repositories/AcademicHourRepository.php) - [AcademicHourService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicHour/Http/Services/AcademicHourService.php) --- # Baseline Source: https://docs.kamoorj.com/en/docs/baseline-data ## Purpose and access Open **Learning Management → Baseline** (`/baseline`). A baseline records planned student counts and quantities of educational units by profession and course year for an academic year and semester. These values are used when organizing teaching and calculating workload. The `/baseline/data` and `/baseline/data/settings` routes currently display an Under Construction screen. Operational input settings are available in the baseline's detail page opened from the list. See [filling baseline data](/en/docs/baseline-data-details). ## Before creating a baseline Check the academic year, educational degree, learning format and the Maximum Courses setting for their combination. The profession directory must contain active leaf professions for the degree and format. Group-count columns depend on the [academic structure](/en/docs/academic-structure). ## Create a baseline Click Add and enter all five required fields. | Field | What to enter | Example | | --- | --- | --- | | Academic year | The year for which workload is planned | 2026/27 | | Semester | The semester number, exactly 1 or 2 | 1 | | Educational degree | Degree from the directory | Bachelor's | | Learning format | Format from the directory | Full-time | | Start date | Calendar starting date to be stored for this baseline | 1 September 2026 | The academic year, semester, degree and format combination must be unique, including records in Trash. A different start date does not allow a duplicate combination. On saving, the system checks Maximum Courses. For example, with a maximum of four courses, it automatically creates course blocks 1–4 for each active leaf profession of the selected degree and format. Student and educational unit counts start at zero and course classifiers are empty. Educational units come from the current academic structure. Open the new record and enter the actual planned values. ## List, editing and restoration The list shows year, semester, degree, format, start date and approval status. Refine selection with search and filters for year, degree, format (dependent on degree), semester and start date range. Use the row's open action to access its details. Record actions include editing, deletion and cloning. Changing an existing record's fields alone does not regenerate its blocks. After changing the baseline combination, check its professions, courses and values in the detail page and refresh professions if necessary. For duplicate errors, find the existing record, including in Trash. Restoration returns the original baseline. Check its contents and approval status afterwards. A completed baseline or one in approval may be locked for editing depending on its approval process. Status is shown in the list and details. Active locks prevent delete and edit actions. If the workflow grants specific content-edit access, that access depends on the assigned approval permissions. The server enforces approval locking. ## Clone a baseline 1. Select a source baseline in the list, for example 2025/26, semester 2. Open Clone. 2. Academic year, semester and start date are editable. Educational degree and learning format are prefilled from the source and locked. 3. For example, select 2026/27, semester 1 and 1 September 2026. The target combination must be unused, including in Trash, and have a Maximum Courses setting. 4. Save and open the new baseline. Source professions, student counts, classifiers and educational unit values have been copied. Cloning has special course-number behavior. Within the same academic year, course numbers are unchanged. When switching to a later year, the first course stays first and other courses increase by one, capped at the destination's maximum course. For an earlier year, the current implementation also increases courses by one capped at the maximum, leaving the maximum course unchanged. The change is based on the direction of the year difference, regardless of its size. If courses coincide or rows are missing after cloning, verify values manually. Cloning does not recalculate student counts from student records. The UI disables cloning when the source is approval-locked. The server clone operation creates a separate record and is bound to creation permission; in normal use wait until the action becomes available in the UI. If professions have changed, refresh them on the new baseline after checking transferred values. ## Permissions and scopes The list module is `baseline-data`; details also use `baseline-data-manage`. Baseline and block routes declare no faculty, profession or department scopes. The baseline model declares an empty scope list and represents a shared year, degree and format combination. Approval operations additionally depend on the workflow steps and assigned roles. | Operation | Permissions | | --- | --- | | List and lookups | `reference-datas.index`, `academic-terms.index`; fields may need `academic-years.index`, `educational-degrees.index`, `learning-formats.index` | | Create | `reference-datas.store` | | Edit | `reference-datas.update` | | Clone | `reference-datas.store` (the clone route is bound to this permission) | | Delete, view Trash and restore | `reference-datas.destroy`, `reference-datas.deleted-items`, `reference-datas.restore` respectively | | Open details | `reference-blocks/get-table.getTable` in the frontend (server binds it to `reference-blocks.show`) | | Export | `reference-datas.export` for record content; separate `reference-datas.export-excel`, `reference-datas.export-pdf` for table export | **If creation fails:** for `no_max_course`, check Maximum Courses for the selected year, degree and format. If a new baseline has no rows, check the active leaf professions associated with the degree and format. If a button is unavailable, check role permissions and approval status. ## Implementation references - [BaselineDescriptor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/BaselineDescriptor.tsx) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/container/index.tsx) - [CloneBaselineModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/components/BaselineTable/components/CloneBaselineModal/App/CloneBaselineModal.tsx) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/EducationalSettings/BaselineData/container/index.tsx) - [pagePaths.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/router/pagePaths.ts) - [permissionActionMap.json](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/public/permissionActionMap.json) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ReferenceData/routes/api.php) - [ReferenceData.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ReferenceData/Models/ReferenceData.php) - [ReferenceDataRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ReferenceData/Http/Requests/ReferenceDataRequest.php) - [IndexReferenceDataRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ReferenceData/Http/Requests/IndexReferenceDataRequest.php) - [ReferenceDataService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ReferenceData/Http/Services/ReferenceDataService.php) - [ReferenceDataRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ReferenceData/Http/Repositories/ReferenceDataRepository.php) - [ReferenceBlockService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ReferenceBlock/Http/Services/ReferenceBlockService.php) - [ReferenceBlockRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ReferenceBlock/Http/Repositories/ReferenceBlockRepository.php) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExport/routes/api.php) --- # Fill in baseline data Source: https://docs.kamoorj.com/en/docs/baseline-data-details ## Open baseline details In **Learning Management → Baseline**, open an existing record. The detail route is `/baseline/items/:id`. If you do not yet have a baseline, [create one first](/en/docs/baseline-data). This page stores planned counts by profession and course year. Verify year, semester, degree and learning format before entering data. The educational program and profession list comes from the baseline's blocks. Professions with child records are excluded from the displayed rows. Educational unit columns are taken from the [academic structure](/en/docs/academic-structure) in hierarchy order. ## Fields to complete Large screens display an educational program/profession table. Each existing course year has its own column group. On screens up to 1024 pixels wide, the interface displays cards. | Field | Meaning and example | | --- | --- | | Educational program, profession | The block's profession directory relationships identify the row. | | Course year | The block's numeric course, for example 2. The system sets it at creation. | | Course (classifier) | Optional course label, e.g. `INF-2A`. It does not change the course number. Up to 15 characters, using letters, digits, spaces and `- _ . ( ) \| \ / : ,`. | | Students | Total planned count, e.g. 48. | | Course/stream, group, subgroup and other units | Count of the indicated unit, e.g. 1 stream, 2 groups, 4 subgroups. Labels depend on the configured directory. | Enter nonnegative whole-number counts. Zero values in the desktop table may appear blank; clearing a numeric field submits zero. Group quantities are entered separately by hand. The form does not automatically divide students into groups of a given size. ### Example For the Computer Science program, course year 2 with 48 students, enter the following. | Classifier | Students | Stream/course | Group | Subgroup | | --- | --- | --- | --- | --- | | INF-2A | 48 | 1 | 2 | 4 | 1. Find the program or profession using search. The search matches translations of the profession name and its parent; clearing the query returns the list. 2. On a large screen, enter values directly in the cells. Changes save automatically after approximately one second or when leaving a field. Wait for save confirmation. 3. On a narrow screen, open the card's edit action, select the course year using the switcher and enter the values. Fill multiple courses if necessary and save the card. Requests are sent sequentially by course, so check which values were saved if a request fails. 4. Reload the details and compare saved values. Repeat for the other course years and programs. On the desktop table you can navigate between fields using the keyboard. ## Refresh professions, deletion and new levels Refresh professions regenerates the selection of blocks using the current active leaf professions of the selected degree and format and the applicable maximum course. It retains matching profession/course blocks and their entered values, adds missing blocks with zero values, and removes blocks no longer in the selection. Missing educational units are also added to existing blocks with zero values. After adding professions, changing maximum courses or updating the academic structure, review the selection, refresh professions and fill the new fields. Check entered values before refreshing. If a profession or course is no longer included, its previous values disappear from the details. If a profession becomes a parent of new leaf records, you may need to transfer planned values to the new rows. Deleting a row removes the entire profession from the current baseline. The server deletes its blocks for all courses. The confirmation applies to the selected baseline's data. There is no individual block Trash view in the details. Refreshing professions again can recreate an eligible row with zero values. Record required planned counts before deleting. ## How workload calculation uses baseline data An ordinary block corresponds to the profession and course number in the baseline for the chosen year, semester, degree and format. Workload is linked to matching baseline data. For each teaching format the calculation resolves the educational unit using the academic structure's year assignment and reads its quantity from the baseline block. For example, for 48 students, 1 stream, 2 groups and 4 subgroups, suppose lectures are linked to the stream and practical classes to groups. Weekly workload for this component is the weekly hours of the teaching format multiplied by the corresponding unit quantity. A 2-hour lecture and 1-hour practical class produce 2 × 1 + 1 × 2 = 4 hours in that component. Total workload can also include other activities, assessments, coefficients and calculation conditions. Count formulas use the student count and educational unit values when calculation settings refer to them. Where special sources exist, such as actual or manual counts, an [elective subject](/en/docs/elective-subjects), [united lesson](/en/docs/united-lessons) or [virtual groups](/en/docs/virtual-group-attachments), the corresponding components follow those source-specific rules. Verify the workload calculation again after correcting baseline values. Saving the baseline table does not guarantee automatic recalculation of previously prepared results. ## Approval, access and exports When an approval workflow exists, its panel, status and available field history are displayed. During an active workflow lock, Refresh professions is unavailable. Editing counts and deleting rows depend on the content lock and workflow permissions. The server enforces locking on block operations. | Operation | Permission | | --- | --- | | Open details and load table | `reference-blocks/get-table.getTable` in the frontend map; server binds it to `reference-blocks.show`. Baseline metadata also uses `reference-datas.index`. | | Edit a block, including mobile editing | `reference-blocks.update`; additional access may be granted by approval workflow permissions. | | Refresh professions | `reference-datas/refresh.refresh` in the frontend map (bound to `reference-blocks.update`); requires table read access as well. | | Delete row | `reference-blocks.destroy` | | Export contents | `reference-datas.export`; the column catalog is bound to the same permission. | The page route checks the `baseline-data` module, and block permissions belong to `baseline-data-manage`. No faculty, profession or department scopes are declared on these module routes. Actions are controlled by role permissions and approval workflow. To obtain a document, use the record content export button. Open the available column catalog, select the required fields and format in the export dialog. Save the resulting document to verify it with the workload owner. ## Troubleshooting - Profession absent: check its status and hierarchy, degree and learning format; make sure it is a leaf record, then refresh the baseline. - Course absent: check Maximum Courses for the year, degree and format. After cloning, check transferred course numbers. - Column absent: verify the academic structure directory, then refresh. - Save error: check classifier length and characters, whole-number counts, role permissions and the approval lock. - Unexpected workload: compare year, semester, course number, profession, educational unit counts and the teaching-format mapping. Identify whether the baseline or a special count source is used. ## Implementation references - [BaselineItems.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/components/BaselineItems/App/BaselineItems.tsx) - [BaselineItemsTable.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/components/BaselineItems/components/BaselineItemsTable/App/BaselineItemsTable.tsx) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/components/BaselineItems/components/BaselineItemsTable/columns/index.tsx) - [BaselineItemsCard.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/components/BaselineItems/components/BaselineItemsCard/App/BaselineItemsCard.tsx) - [BaselineItemEditModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/components/BaselineItems/components/BaselineItemsCard/components/BaselineItemEditModal/BaselineItemEditModal.tsx) - [BaselineItemsActions.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/components/BaselineItems/components/BaselineItemsActions/BaselineItemsActions.tsx) - [buildBaselineUpdate.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/components/BaselineItems/utils/buildBaselineUpdate.ts) - [matchesBaselineBlock.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Baseline/utils/matchesBaselineBlock.ts) - [permissionActionMap.json](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/public/permissionActionMap.json) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ReferenceBlock/routes/api.php) - [ReferenceBlockRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ReferenceBlock/Http/Requests/ReferenceBlockRequest.php) - [ReferenceBlockService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ReferenceBlock/Http/Services/ReferenceBlockService.php) - [ReferenceBlockRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ReferenceBlock/Http/Repositories/ReferenceBlockRepository.php) - [WorkloadSubjectCalculationService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/WorkloadSubject/Services/WorkloadSubjectCalculationService.php) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExport/routes/api.php) --- # Competencies Source: https://docs.kamoorj.com/en/docs/competences ## Purpose and structure Open **Learning Management → Competencies** (`/competences`). A competence describes knowledge, skills or other expected outcomes that can be linked to a learning plan subject or a professional educational program's learning outcome. There are two related directories. A competence type classifies competences with a name, abbreviation and status. A competence is an individual record with a code, degree, type and validity dates. For example, the Professional type contains PC-01 “Design information systems”. ## Create a competence type Open module settings from the main page (`/competences/settings`). The settings button requires type read access. Click Add and fill the language tabs. | Field | Example | Rule | | --- | --- | --- | | Name | Professional | Required in each submitted language, maximum 50 characters on the server. | | Abbreviation | PC | Required in each submitted language, maximum 50 characters on the server. | | Status | Enabled | Defaults to enabled (1); disabled is sent as 0. | For Russian enter Профессиональные / ПК, and for Armenian Մասնագիտական / ՄԿ. At least one language entry must be filled; blank names are omitted. Enter an abbreviation for every submitted name. The server checks that each language exists and that the name and abbreviation are unique among nondeleted records in that language. The generic form may allow more characters than the server's 50-character limit, so follow the server limit. Save, locate the new type in the list and return to competencies. Type labels use the available localized name. Change status with the table switch or edit form. Disabling preserves the record and its relations. The current competence type selector filters records by the presence of a name, without filtering by status. Disabling a type does not prevent all use of its competences. ## Create a competence Click Add in the main directory. Select an existing degree and the type created above. | Field | Example | Rule | | --- | --- | --- | | Name | Design information systems | Required translation, maximum 255 characters. | | Abbreviation | IS design | Optional translation. | | Code | PC-01 | One shared required value across languages; maximum 25 characters on the server. | | Category | Design | Optional translated text. | | Educational degree | Bachelor's | Required relation to the degree directory. | | Competence type | Professional | Required relation to the type directory. | | Start date | 01.09.2025 | Required date. | | End date | 31.08.2029 or blank | Optional date. | Complete the name and abbreviation in other languages as needed, then save. The server checks uniqueness of competence name translations. The code is used as the visible label when assigning competences to a subject, so keep it unambiguous. Server code validation restricts length but declares no uniqueness rule. Start and end dates are stored directory attributes. The end date can be blank, and the current server does not declare a separate chronological comparison rule. The competence list and subject selector do not automatically hide entries based on these dates. Maintain meaningful dates and check the relevant records before assigning them. ## Find, update and use competences Search the main table by translated name. Filter by code, educational degree and competence type. Rows display name, abbreviation, code, category, degree, type and both dates. Open Edit to correct a record. Changes to a translation or code retain the same ID. The server adds or updates submitted translations while unsubmitted ones remain stored. To link a competence to a subject: 1. Open the appropriate [learning plan](/en/docs/learning-plans) and its [details](/en/docs/learning-plan-details). 2. Find the subject row, for example “Information systems design”. 3. Choose code PC-01 in the competencies cell. The multiple selector permits several competences per subject. 4. Save the plan changes and reopen it to verify the assignment. The saved relation uses the competence ID. In a professional educational program, competences can also be assigned to learning outcomes through a multiple selector. Creating a competence does not assign it to subjects or program outcomes automatically. ## Delete and restore Both directories support deleted records. With the deletion right, use the action on the row. To recover an entry, open the trash and restore the record. A competence type cannot be deleted while any nondeleted competence still belongs to it. The server returns `competence_setting_links_check`. Before retiring a type, inspect its competences and move them to the appropriate type where necessary. Verify learning plan and program relations before deleting competence records. Deleting a competence is a soft deletion, which removes it from the active directory. It does not automatically replace its links in documents. After restoration, verify the related degree and type, their availability and the earlier assignments. ## Permissions and scopes | Action | Competencies | Types | | --- | --- | --- | | Open module | `competence` | `competence-types` (the route also accepts `competences-settings`) | | Read | `competences.index` | `competence-settings.index` | | Create | `competences.store` | `competence-settings.store` | | Update | `competences.update` | `competence-settings.update` | | Delete | `competences.destroy` | `competence-settings.destroy` | | Trash | `competences.deleted-items` | `competence-settings.deleted-items` | | Restore | `competences.restore` | `competence-settings.restore` | The competence form requires access to the type and degree directories (`competence-settings.index` and `educational-degrees.index`). Both competence directories are shared; their resource routes declare no faculty or profession scopes. Access to a specific plan or program is checked separately when assigning records. ## Common issues - **Settings button missing:** check the `competence-types` module and type read access. - **Type missing from selector:** create the type, provide a name in the relevant language, verify that it has not been deleted, and refresh the directory. - **Type or competence cannot be saved:** inspect required values, the language, selected degree/type, length limits and duplicate names or abbreviations. Validation can return the general duplicate-data message (`duplicate_data_create` or `duplicate_data_update`). - **Type cannot be deleted:** inspect its linked competences and assignments before reclassifying them. - **Competence does not appear in plan:** reload the plan, verify the code and access to the directory. Saving a directory record and assigning it are separate actions. - **Assignment cannot be edited:** verify plan editing permissions and approval status. ## Implementation references - [CompetencesDescriptor.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Competences/CompetencesDescriptor.ts) - [CompetencesSettings.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Competences/components/CompetencesSettings/App/CompetencesSettings.tsx) - [selector.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Competences/store/selector.ts) - [registerDefaultRelations.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/core/relations/registerDefaultRelations.ts) - [CurriculumEditor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LearningPlan/components/LearningPlanItem/components/LearningPlanSubject/components/CurriculumEditor.tsx) - [usePepEditorColumns.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProfessionalEducationalProgram/hooks/usePepEditorColumns.tsx) - [routes/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Competence/routes/api.php) - [routes/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/CompetenceSettings/routes/api.php) - [CompetenceRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Competence/Http/Requests/CompetenceRequest.php) - [CompetenceSettingRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/CompetenceSettings/Http/Requests/CompetenceSettingRequest.php) - [CompetenceController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Competence/Http/Controllers/CompetenceController.php) - [CompetenceSettingsController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/CompetenceSettings/Http/Controllers/CompetenceSettingsController.php) - [CompetenceTableRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Competence/Repositories/CompetenceTableRepository.php) - [CreateCompetencesSettingsModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Competences/components/CompetencesSettings/components/CompetencesSettingsTable/components/CreateCompetencesSettingsModal/CreateCompetencesSettingsModal.tsx) - [CompetencesSettingsTable.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Competences/components/CompetencesSettings/components/CompetencesSettingsTable/App/CompetencesSettingsTable.tsx) --- # Educational blocks Source: https://docs.kamoorj.com/en/docs/educational-blocks ## Purpose Open **Learning Management → Educational blocks** (`/educational/blocks`). This catalog defines blocks that are added to semesters of a [study plan](/en/docs/learning-plan-details), such as general education, practice or extracurricular elective blocks. A block's calculation type and coefficient determine the formulas used by the plan editor. ## Create a block Prepare the educational degree catalog and identify the appropriate calculation type. Click Add and complete the form. | Field | Example | Rule and purpose | | --- | --- | --- | | Name | General education subjects | Translations in relevant languages, up to 255 characters each | | Educational degree | Bachelor | One or more degrees for which the block is available | | Calculation option | Hour | An existing calculation type | | Classifier | GEN | Optional short identifier, up to five characters in the form | | Coefficient | 30 | Required integer used in total workload calculations | | Module | Off | Module flag shown in the plan's block selector | | Final work | Off | When enabled, helps identify the graduating department in the course assessment criteria export | | Facultative | Off | When enabled, the block's credits are excluded from the plan's credit total | 1. Save and find the block by name or classifier. 2. Open a study plan of the corresponding degree, configure semester boundaries and add the block. 3. In the plan's block form, separately select required and/or elective groups, then add their subjects. 4. Check the coefficient, row totals and semester totals. The same block cannot be selected twice in one semester. ## Calculation behavior The editor uses calculation type IDs. Display names can be edited independently. The standard catalog contains Hour, Day and Week. - Hour type (ID 1): total workload equals credits × coefficient. Contact hours are the sum of period hours by teaching type. Independent work equals total workload minus contact hours and extracurricular components, with a minimum of zero. - Day and week types (IDs 2 and 3): credits are entered on the row, total workload equals credits × coefficient, and contact hours total zero. Independent work equals workload minus components, with a minimum of zero. - For hour types, when credits have not been manually changed, the editor rounds the summed weekly teaching values up to an integer. **Example.** For an hour block, set coefficient 30, credits 3, contact hours 45 and extracurricular components 6. Total workload is 90 and independent work is 39. A facultative block may still show credits on a subject row while its credit total is excluded from the semester total. After changing the catalog, reopen affected plans and verify formulas, credit totals and generated reports. The display name of a calculation option and its ID serve different purposes. ## Calculation option settings The settings button opens `/educational-settings`, the child action “Calculation Options” (`lm-calculation-options`). The list supports editing existing names. It has no create or delete actions for the calculation types themselves. 1. Edit Hour, Day or Week. 2. Fill the relevant translation tabs and save. The server updates the provided non-empty translations of the existing record. 3. The server removes English (`en`) translations from the update payload. For example, Russian and Armenian names can be updated while the original English name remains. Submitting an English-only translation fails the non-empty translation-array requirement. 4. Return to the blocks list and check the updated label. Renaming does not change the formula, type or ID. ## Search, delete and restore Search matches translated names and classifiers. The server exposes filters by block type, module flag and final-work flag. Editing replaces the set of selected degrees and preserves existing translations in other languages. Deleting a block with linked study plan rows fails with `educational_block_links_check`. Find the plans using it first. An unused block can be soft-deleted and restored from deleted items. After restoration, verify the list and its availability for the relevant degree. ## Permissions and scopes | Action | Permission | | --- | --- | | View list | `educational-blocks.index` | | Create and edit | `educational-blocks.store`, `educational-blocks.update` | | Delete | `educational-blocks.destroy` | | View deleted items and restore | `educational-blocks.deleted-items`, `educational-blocks.restore` | | Read and edit calculation options | `educational-block-types.index`, `educational-block-types.update` | The list module is `educational-blocks`. Listing, creating and editing also require `educational-degrees.index` and `educational-block-types.index` in the interface. Neither block catalog nor calculation-option routes declare faculty or profession scopes. Administrators grant shared catalog editing separately from study plan editing. ## Troubleshooting - Missing block in a plan: check degree, read permission and whether the block already exists in that semester. - Name cannot be saved: check translations and duplicate names for the selected type and overlapping educational degrees. - Invalid classifier: the abbreviated value in the form must be at most five characters. - Credit total is smaller than visible rows: check facultative flags and subject selection settings. - Settings unavailable: check calculation-option read access and the separate update permission. ## Implementation references - [EducationalBlocksDescriptor.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/EducationalBlocks/EducationalBlocksDescriptor.ts) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/EducationalBlocks/container/index.tsx) - [EditEducationalSettingsModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/EducationalBlocks/EducationalBlocksPages/EducationalSettings/components/EducationalSettingsTable/components/EditEducationalSettingsModal/EditEducationalSettingsModal.tsx) - [formulas.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LearningPlan/components/LearningPlanItem/components/LearningPlanSubject/model/formulas.ts) - [editorSlice.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LearningPlan/components/LearningPlanItem/components/LearningPlanSubject/model/editorSlice.ts) - [BlockModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LearningPlan/components/LearningPlanItem/components/LearningPlanSubject/components/BlockModal.tsx) - [permissionActionMap.json](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/public/permissionActionMap.json) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EducationalBlock/routes/api.php) - [EducationalBlockRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EducationalBlock/Http/Requests/EducationalBlockRequest.php) - [IndexEducationalBlockRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EducationalBlock/Http/Requests/IndexEducationalBlockRequest.php) - [EducationalBlockController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EducationalBlock/Http/Controllers/EducationalBlockController.php) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EducationalBlockType/routes/api.php) - [EducationalBlockTypeRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EducationalBlockType/Http/Requests/EducationalBlockTypeRequest.php) - [EducationalBlockTypeController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EducationalBlockType/Http/Controllers/EducationalBlockTypeController.php) - [EducationalBlockTypeSeeder.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/database/seeders/EducationalBlockTypeSeeder.php) - [CourseAssessmentCriteriaService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/CourseAssessmentCriteria/Services/CourseAssessmentCriteriaService.php) --- # Department workload Source: https://docs.kamoorj.com/en/docs/workload ## Purpose Open **Learning Management → Workload** (`/workload`). Each workload record collects subjects and calculations for one academic department, academic year, degree and learning format. This list manages records. Assign classes and lecturers, calculate hours and review workload in the [workload details](/en/docs/workload-details). Before creating a record, prepare the [learning plans](/en/docs/learning-plans), subject-to-department assignments, calculation norms and [baseline data](/en/docs/baseline-data). Review [united lessons](/en/docs/united-lessons) for shared classes and [virtual groups](/en/docs/virtual-group-catalog) for subgroup assignments. ## Find the correct workload The table displays year, learning format, department, educational degree, record status and approval status. Search by translated year, degree, format or department name, or system status. | Filter | Meaning | | --- | --- | | Academic year | Workload year, for example 2026/27. | | Educational degree | For example bachelor's. | | Learning format | For example full-time. | | Department | Department for which workload is recorded. | | Status | `in_process` or `confirmed`. | Simple filters and the condition builder use the same field catalog. Selecting one mode replaces the other. Changes to search, filters or sorting return to page one; reset clears the filters. There is no lecturer filter on this list. A context link from a learning plan subject can additionally restrict the server selection by subject and plan row. ## Create a workload 1. Click Add and complete all four required fields. | Field | Example | | --- | --- | | Department | Information Technology Department | | Educational degree | Bachelor's | | Academic year | 2026/27 | | Learning format | Full-time | 2. Save. A new record starts in process. The create form has no status input. 3. The server automatically loads relevant subjects from learning plans and united categories and synchronizes calculations. The workload year helps determine intake plans by course. For example, a second-course workload in 2026/27 may use subjects from the 2025/26 intake plan. 4. Find the record with the same filters and open its details. Check subjects, student counts and calculations before assigning lecturers. The four-field combination must be unique, including deleted records. If it already exists, use the existing record or restore it from the trash. The list has no whole-record copy action. To prepare the next academic year, create a record with the new year. It loads current source-plan data; lecturer assignments and manual rows from the previous year are not automatically copied. ## Edit and synchronize Use the row action menu to open details, edit the four main attributes or delete the record. When attributes are updated, the server synchronizes source subjects to the new combination, adds missing subjects, removes obsolete ones and recalculates associated calculations and norms. Check existing assignments and calculations after changing a populated workload. If learning plans, united categories or calculation inputs have changed without changes to the four attributes, open the workload details and use Recalculate. Review the proposed changes and confirm the applicable ones. The [workload details guide](/en/docs/workload-details) covers this workflow. Save unfinished edits before recalculating and verify the resulting subjects and assignments. ## Approval, delete and restore The ordinary workload status and approval process are displayed separately. Where the chair workload (`chair-workload`) approval process is configured, its state can restrict edits. When locked, update and delete are unavailable; reading and permitted exports remain available. The approval process can grant content-edit access. Check the individual record's approval panel. Use the delete action and confirm to move a record to the trash. To recover it, open deleted workloads, find the correct combination and select Restore. The restored record retains its ID, so there is no need to create a duplicate. Open its details and verify that source information is still current. ## Module configuration and export Users with settings access can open the [workload settings](/en/docs/workload-settings) page and the module's system settings from the header. | Setting | Purpose | | --- | --- | | Column display orientation (`column_display_orientation`) | Horizontal or vertical calculation-column captions; horizontal by default. | | Distribution mode (`distribution_mode`) | No automatic distribution, maximum to one lecturer, or even distribution; initially none. | | Manual department workload rows | Allows manual rows when enabled; disabled by default. | | Teaching language | Enables teaching-language selection; disabled by default. A dependent setting selects the institution's primary teaching language. | | Export header/footer | Shared export layouts where available in the module settings. | Calculation norms, assessment-based calculations and other directories are managed separately. Saving module settings does not confirm an individual workload. Table exports use the list's current search, filters and sorting. For content export, select workload records, for example one department's workload for a specified year, and an available template. Content exports are generated per selected record. Where permitted, a row's action menu can also open its content export. Inspect the downloaded PDF or XLSX. ## Permissions and scopes | Action | Permission | | --- | --- | | List | `workload`, `employee-workloads.index`. | | Create | `employee-workloads.store`; requires year, department, degree and format directories. | | Update and delete | `employee-workloads.update`, `employee-workloads.destroy`; approval state applies. | | Trash and restore | `employee-workloads.deleted-items`, `employee-workloads.restore`. | | Open details | The interface additionally checks `educator-workloads.index` or `employee-workload-norms.index`; record read action is `employee-workloads.show`. | | Settings | `workload.settings`; individual directories have their own rights. | | Content export | `employee-workloads.export`. | | Recalculation preview, exclusions and confirmation | `employee-workload.recalculation`, `employee-workload.recalculation-exclude`, `employee-workload.recalculation-confirm`, respectively. | Workload resources, exports and recalculation declare the department (`department`) scope. For example, a user scoped only to department A cannot create a workload for B. The create form uses scoped department options; the server validates the selected ID. Details and individual workload actions can require additional submodule permissions. ## Common issues - **Duplicate workload:** search both active and deleted records for the same four attributes. - **Department unavailable during creation:** check the directory and create permission scope. - **No subjects/calculations after creation:** verify intake year by course, degree, format, department assignment, united categories, baseline data and norms. - **New record does not appear:** clear the existing filters and search again. - **Cannot edit or recalculate:** check action permissions, department scope, approval and unsaved edits in details. - **Settings/export unavailable:** check those separate permissions. List access alone does not grant them. ## Implementation references - [Workload/container/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/container/index.tsx) - [useWorkloadTableQuery.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/hooks/useWorkloadTableQuery.ts) - [WorkloadActions.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadActions/WorkloadActions.tsx) - [WorkloadTable.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/workloadTable/App/WorkloadTable.tsx) - [columns/App/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/workloadTable/columns/App/index.tsx) - [WorkloadItemActions.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadItem/components/WorkloadItemActions/WorkloadItemActions.tsx) - [EmployeeWorkload/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/routes/api.php) - [EmployeeWorkloadRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/Http/Requests/EmployeeWorkloadRequest.php) - [FilterWorkloadsRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/Http/Requests/FilterWorkloadsRequest.php) - [EmployeeWorkloadController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/Http/Controllers/EmployeeWorkloadController.php) - [EmployeeWorkloadService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/Services/EmployeeWorkloadService.php) - [EmployeeWorkloadTableRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/Repositories/EmployeeWorkloadTableRepository.php) - [WorkloadManagementService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/AggregativeServices/WorkloadManagementService.php) - [EmployeeWorkloadSettingSeeder.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/database/Seeders/EmployeeWorkloadSettingSeeder.php) - [ContentExport/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExport/routes/api.php) --- # Teaching hour allocation Source: https://docs.kamoorj.com/en/docs/workload-details ## Open a workload Open **Learning Management → Workload** and select the department's record. The detail route is `/workload/item/:id`. Check the academic year, department, degree and learning format, which determine the source selection. See [creating a workload](/en/docs/workload). The detail page contains Lesson Allocation and [Teaching Load](/en/docs/workload-teaching-load). The latter assigns work according to norms; Lesson Allocation distributes subjects and their calculated hours. The selected tab is remembered in the browser session. ## Data and columns On Lesson Allocation, find the subject using search and the course, semester, profession and other available filters. Rows are grouped by semester. Expand a subject to inspect and assign educators. You can expand or collapse all rows. | Column block | Meaning | | --- | --- | | Subject and profession | Linked learning-plan rows, including constituent groups for united subjects. | | Students from baseline / distributed | Planned count and count from enrollment or distribution; the two can differ. | | Educational units | Quantities of streams, groups and subgroups or equivalents from baseline or special-group configuration. | | Teaching formats | Plan hours and weekly values, calculated hours for allocation. | | Assessment types, standards, components | Values calculated under current rules and learning-plan components. | | Totals | Hours and allocation result. Check which unit and teaching format each row represents. | ## Student counts and group types - Ordinary subject: planned values come from [baseline data](/en/docs/baseline-data-details) for the year, semester, profession and course. The actual overall count is based on student enrollment. Distribution by ordinary unit number uses general academic group membership, while students without group assignments can still contribute to the overall count. - [Elective subject](/en/docs/elective-subjects): the system considers students selecting the particular subject and subject-specific group assignments. Zero selections is a meaningful count for a configured elective. Custom groups use their own instance numbers. - [United subject](/en/docs/united-lessons): the count takes account of the category, constituent academic groups and distribution into named groups and instances. Correct composition in the source united subject. - [Virtual groups](/en/docs/virtual-group-attachments): educator rows refer to virtual groups, their instance numbers and eligible teaching formats. A valid virtual attachment cannot be replaced by an ordinary academic unit. See [virtual group student distribution](/en/docs/virtual-group-students). The header’s baseline count sums constituent group counts for united subjects (elective blocks take precedence over ordinary baseline blocks), uses the saved elective block count for an individual elective, otherwise the ordinary baseline. For new ordinary rows, autofill first checks a manual source value and then the actual group number. A configured source with no assignment gives zero. For an unconfigured source, the next choices are exact general-unit membership and then evenly split actual or baseline totals (for example, 10 students across three units gives 4, 3, 3). Configured source counts, including manual overrides, refer to the specific group number. An explicitly entered zero remains meaningful. For unconfigured sources the UI may estimate values for new rows; these are estimates and should be checked. An ordinary row's student count can be editable. Where a special source determines the count, correct it in the source module, reload the workload and verify calculation. ## Assign an educator 1. Expand the subject or select Assign. Depending on its configuration, prepared empty rows represent educational units, virtual groups or named groups. 2. Choose an educator from the available department staff for the workload year, the educational unit and its instance number. Special groups use their own number, subject to the configured group count. 3. Fill editable student count and allocated hours. Each saved row supports at most one teaching format. The same unit may have separate rows for different teaching formats. Assessment, coefficient and component hours may also be entered. If teaching language is enabled, choose the language; an empty language means the institution's default teaching language. 4. Save the row or use Save all. New rows require an educator, a unit or special-group association, and at least one positive allocated value. Check field errors and inspect saved assignments after reloading. **Example.** Computer Programming, course year 2, has two practical groups. Assign educator A to group 1 and educator B to group 2. Enter each group's number, student count and practical work hours. If A also teaches lectures, create a separate row for the lecture with the appropriate educational unit. Save and compare the sums with calculated hours. Unassign deletes the educator's assignment while the source subject stays in the workload. Edit an existing row to change staff or hours. If source learning-plan hours are wrong, correct the learning plan and review [recalculation](/en/docs/workload-recalculation). ## Distribution modes and manual rows The detail settings provide automatic filling modes for new rows. Saved values are not automatically redistributed. Existing saved hours and manually changed draft values are subtracted from the calculated total, and the positive remainder is allocated. | Mode | Behavior | | --- | --- | | none | Automatic distribution disabled. | | max_to_one | The first eligible new row receives the remainder; others receive zero. | | even | The remainder is distributed evenly among eligible rows using the field's precision. | For example, with 10 assessment hours and 4 already saved, the remaining 6 can be filled as 6 and 0 in max_to_one, or 3 and 3 in even. Changing mode can redistribute manually filled unsaved values. Check the fields before saving. Weekly teaching values are matched to eligible formats/units. The `department_workload_manual_rows_enabled` setting disables automatic blank-row creation for ordinary units. When enabled, add assignment rows manually. Saved assignments remain, and special-group rows retain their source configuration. See [workload settings](/en/docs/workload-settings). Column orientation changes the table layout. ## Access, locking and export The page route belongs to `workload`; assignment actions belong to `wl-lesson-allocation`. Workload, assignment and document-export routes support the `department` scope based on the workload's department. | Operation | Required permissions | | --- | --- | | Open record | `employee-workloads.show`; navigation from the list checks at least one of `educator-workloads.index` or `employee-workload-norms.index`. | | Read allocation | `educator-workloads.index`; the LessonAllocationPull group also requests reference data for formats, assessment types, educational units and their settings, calculation rules and employees. | | Assign/edit | `educator-workloads.store`, `educator-workloads.update` respectively (UI action visibility checks either). | | Unassign | `educator-workloads.destroy` | | Save multiple rows | `educator-workloads.bulk` is bound to `educator-workloads.index`; the server checks row action permissions. | | Manage settings | `workload.settings` | | Export active tab | `employee-workloads.export`; column catalog is bound to it. | Approval status and, when available, change history are displayed. A content lock prevents assignment changes; server operations enforce the lock. Special content-edit access granted by the workflow is also taken into account. The record export follows the currently active tab. Open the required tab, select document parameters and download the result. For row errors compare workload year, department, source subjects, teaching format, group student count, hour totals, permissions and approval lock. ## Implementation references - [WorkloadItem.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadItem/App/WorkloadItem.tsx) - [WorkloadItemPages.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadItem/WorkloadItemPages/tabPages/WorkloadItemPages.tsx) - [LessonAllocationTable.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadItem/WorkloadItemPages/LessonAllocation/components/LessonAllocationTable/App/LessonAllocationTable.tsx) - [WorkloadEducation.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadItem/WorkloadItemPages/LessonAllocation/components/LessonAllocationTable/components/WorkloadEducation/App/WorkloadEducation.tsx) - [getManualStudentCount.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadItem/WorkloadItemPages/LessonAllocation/components/LessonAllocationTable/utils/getManualStudentCount.ts) - [StudentCountCell.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadItem/WorkloadItemPages/LessonAllocation/components/LessonAllocationTable/columns/components/StudentCountCell.tsx) - [useDepartmentWorkloadManualRows.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/hooks/useDepartmentWorkloadManualRows.ts) - [useWorkloadDistributionMode.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/hooks/useWorkloadDistributionMode.ts) - [permissionActionMap.json](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/public/permissionActionMap.json) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/routes/api.php) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EducatorWorkload/routes/api.php) - [EducatorWorkloadRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EducatorWorkload/Http/Requests/EducatorWorkloadRequest.php) - [WorkloadStudentCountService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/Services/WorkloadStudentCountService.php) - [WorkloadSubjectCalculationService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/WorkloadSubject/Services/WorkloadSubjectCalculationService.php) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExport/routes/api.php) - [getStudentCount.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadItem/WorkloadItemPages/LessonAllocation/components/LessonAllocationTable/utils/getStudentCount.ts) --- # Teaching workload calculation Source: https://docs.kamoorj.com/en/docs/workload-teaching-load ## Purpose Open **Learning Management → Workload → Department record → Teaching Load**. This is the second tab of `/workload/item/:id`, where work is assigned to educators according to configured norms. Subject-specific lesson hours are distributed on the [first tab](/en/docs/workload-details). Before starting, check norms and calculation options in [workload settings](/en/docs/workload-settings), [baseline data](/en/docs/baseline-data-details) for the required year, degree, format and semester, and educator availability for the department workload. ## Assign work according to a norm 1. Select the semester or locate its heading and click Assign. You can also add a row next to an existing one. 2. Choose norm, profession, course and educator. The norm must support the selected course. The profession list takes the current workload combination into account. 3. If the teaching language column is enabled, choose a language. An empty value refers to the institution's default language. 4. Review the calculation expression and open its input form when applicable. Enter the parameters required by the expression, using nonnegative numbers with up to two decimal places. 5. Save the row. Verify the calculated total and reload to check that the assignment persists. | Field | Example | | --- | --- | | Semester | 1 | | Norm | Reviewing work (example of a configured norm) | | Profession and course | Computer Science, 2 | | Educator | Assigned department educator | | Calculation parameter | 12 submissions | | Expression and total | With a configured expression of count × 0.5 hours, the total is 6 hours. | For norm variables the calculation uses explicitly submitted inputs; the server does not directly substitute counts from the baseline block. A variable expression with no provided inputs can return zero. Check calculation input values after changing baseline data. The server calculates total hours using the selected norm expression and its submitted inputs. A norm without variables uses its constant expression. The UI provides input fields for expressions with variables. A baseline block is required even for a constant norm; the server checks year, degree, format, semester, profession and course. If the selected baseline does not exist, check [baseline details](/en/docs/baseline-data-details). Avoid creating a duplicate assignment with the same educator, course, norm, profession, workload, semester and effective language. Edit the existing row. The default language and an empty language can represent the same language for uniqueness validation. ## Editing, totals and deletion Use the assignment search and filters, including semester. The semester switch allows working with the desired section. Changes to row inputs update the displayed total. Review unsaved rows and edits before switching tabs or starting recalculation. The UI provides individual row saves and Save all for changed rows. Some editing may initiate autosaving an existing row. The total rows display hours by semester and overall. Compare them with saved assignments, taking the current filter selection into account. Use the summary panel where appropriate, and show the calculation options column to inspect the values used. Deleting a saved row removes its norm assignment. An unsaved temporary row can be removed without creating a server record. After changing a norm or baseline value, check [recalculation preview](/en/docs/workload-recalculation) to review updated hours before application. Correct the required formula inputs rather than manually replacing the total. ## Permissions and scopes The tab uses `wl-teaching-load`. Norm assignment routes declare the `department` scope based on the workload's department. Read and write access depend on role permissions and the approval lock. | Operation | Permission | | --- | --- | | View | `employee-workload-norms.index`; TeachingLoadPull also requests `reference-blocks.index`, `study-years.index`, `calculation-options.index`, `professions.index`, `employees.index`, `norms.index`. | | Create | `employee-workload-norms.store`, with `reference-blocks.index` for baseline selection. | | Edit | `employee-workload-norms.update`; batch route `employee-workload-norms.bulk` is bound to index permission and checks individual actions. | | Delete | `employee-workload-norms.destroy` | | Export tab | `employee-workloads.export` | Approval locks disable creating and editing; the server also checks write access. If saving fails, verify the norm supports the selected course, the source baseline exists, all expression fields are valid, the assignment is unique, and the role and approval status permit editing. To export, open the Teaching Load tab and use the common record export button. It passes the active table type and allows selecting document fields. ## Implementation references - [TeachingLoadTable.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadItem/WorkloadItemPages/TeachingLoad/components/TeachingLoadTable/App/TeachingLoadTable.tsx) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadItem/WorkloadItemPages/TeachingLoad/components/TeachingLoadTable/columns/App/index.tsx) - [TeachLodeNormColumns.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadItem/WorkloadItemPages/TeachingLoad/components/TeachingLoadTable/columns/components/TeachLodeNormColumns.tsx) - [TeachLodeProfessionsColumns.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadItem/WorkloadItemPages/TeachingLoad/components/TeachingLoadTable/columns/components/TeachLodeProfessionsColumns.tsx) - [TeachLoadCalculationColumn.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadItem/WorkloadItemPages/TeachingLoad/components/TeachingLoadTable/columns/components/TeachLoadCalculationColumn.tsx) - [TeachingLoadSummaryPanel.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadItem/WorkloadItemPages/TeachingLoad/components/TeachingLoadTable/App/TeachingLoadSummaryPanel.tsx) - [WorkloadItem.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadItem/App/WorkloadItem.tsx) - [permissionActionMap.json](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/public/permissionActionMap.json) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/routes/api.php) - [WorkloadNormRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/Http/Requests/WorkloadNormRequest.php) - [WorkloadCalculationService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/Services/WorkloadCalculationService.php) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExport/routes/api.php) --- # Recalculate workload Source: https://docs.kamoorj.com/en/docs/workload-recalculation ## When to recalculate Department workload recalculation compares the current `/workload/item/:id` record with its source learning plans, baseline data, united subjects, calculation rules and norms. Use it after source changes to inspect which rows and hours need updating. Open [workload details](/en/docs/workload-details). Save unfinished assignments on both tabs before recalculating. The UI will not start a new preview while drafts or an approval lock are present. ## Preview Select recalculation from the record actions. The system first builds a preview; the workload has not yet been changed. Both ordinary tabs are temporarily replaced with review tables: the first shows subject, calculation and educator-assignment changes, the second norm-row changes. 1. Enable Only changes to hide unchanged rows. 2. Search and filter by course, semester or profession. Expand a subject to review its educator assignments. 3. Compare before and after values and the reason for each change. Additions show the proposed new value, removals show the original value, and updates show a comparison. Unchanged rows provide context. 4. Review the second tab as well, even if recalculation was started on the first. Confirmation applies to the reviewed plan as a whole. | Example source change | What to inspect | | --- | --- | | Calculated subject hours change | Before and after values for teaching formats, assessment and standards. | | A matching learning-plan row is added | A new subject is proposed. | | A subject no longer belongs to the department or current selection, or is replaced by a united subject | The old subject and educator assignments may be proposed for deletion. | | A norm formula changes | Compare the existing norm assignment total. | | A norm is deleted, no longer matches course, semester, degree or format, or the baseline block is missing | The norm assignment may be removed. | Recalculation updates subject calculation fields. Saved educator assignments are reviewed separately. In the current recalculation plan, removal of a source subject includes removal of its educator assignments. Check whether hours need redistribution after applying. ## Exclude changes Changes are initially selected for application. With the separate exclusion permission, uncheck changes you want to retain as-is or postpone adding. Exclusion applies to this operation and does not change source learning plans or general settings. - Excluding a subject change excludes its educator-assignment changes. - When deletion of a child assignment is excluded, deletion of its parent subject is excluded as well. An assignment cannot remain if its parent has been removed. - You can exclude a new subject addition, an existing subject update or deletion, an educator-assignment deletion, or a norm-row update or deletion. **Example.** The preview proposes removing an obsolete subject and two assignments, adding a new subject and increasing a norm from 8 to 10 hours. If the owner needs the old assignments for now, exclude deletion of the old subject and verify that its assignment deletions are excluded too. Keep the new subject and norm change selected if they are correct. ## Save or cancel Click Save (N), where N is the number of included changes. The button is disabled when there are no included changes. The server applies valid, non-excluded changes in a transaction. Cancel closes review without writing the result. A preview is tied to the user, workload and calculated state for 30 minutes. If another user changes the workload or source calculation during review, confirmation may report a stale preview. Refresh the preview and review exclusions and values again. Building a new preview clears exclusion selections. After saving, review both ordinary tabs, including [lesson allocation](/en/docs/workload-details) and [norm assignments](/en/docs/workload-teaching-load). Redistribute changed calculated hours if necessary. Recalculation updates and deletions are reflected in the available operation history. ## Permissions and scope Recalculation belongs to `wl-lesson-allocation` and supports the `department` scope of the workload. | Operation | Permission | | --- | --- | | Generate preview | `employee-workload.recalculation` | | Exclude changes | `employee-workload.recalculation-exclude` — separately enforced by the server | | Confirm | `employee-workload.recalculation-confirm`; the frontend action group also requires workload and norm reading and preview access. | During an approval lock, the server rejects confirmation by regular staff. The UI also accounts for locking and unsaved data. If the action is unavailable, finish current edits and check permissions and approval status. If results are unexpected, compare the sources with [workload settings](/en/docs/workload-settings), [baseline data](/en/docs/baseline-data-details), and current learning-plan and group composition. ## Implementation references - [RecalculationContext.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadRecalculation/RecalculationContext.tsx) - [RecalculationTable.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadRecalculation/RecalculationTable.tsx) - [types.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadRecalculation/types.ts) - [WorkloadItemActions.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadItem/components/WorkloadItemActions/WorkloadItemActions.tsx) - [thunk.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/store/thunk.ts) - [permissionActionMap.json](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/public/permissionActionMap.json) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/routes/api.php) - [WorkloadRecalculationController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/Http/Controllers/WorkloadRecalculationController.php) - [WorkloadRecalculationRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/Http/Requests/WorkloadRecalculationRequest.php) - [WorkloadRecalculationService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/Services/WorkloadRecalculationService.php) --- # Workload settings Source: https://docs.kamoorj.com/en/docs/workload-settings ## Open workload settings From the [workload list](/en/docs/workload), open settings at `/workload/settings`. This page defines formula inputs, hour calculation rules and their periods of applicability. Inspect individual subject and teacher rows in the [workload details](/en/docs/workload-details). Use [academic structure](/en/docs/academic-structure) to check the associated educational units. ## Tab access The page requires the `workload` module. Visible tabs depend on read permissions and access to their supporting catalogs. The browser remembers the selected tab during the session. The six settings APIs declare no faculty, profession, department or subject role scopes. Individual workload records support the department scope (`department`). Year, degree, format, course and semester on a rule control **where its calculation applies**. | Tab | Role module | List permission | | --- | --- | --- | | Calculation Options | `wl-calculation-options` | `calculation-options.index` | | Workload Norm Types | `wl-norm-types` | `norm-types.index` | | Workload Norms | `wl-norms` | `norms.index` | | Hourly Wage Regulation | `wl-hourly-wage` | `hour-rates.index` | | Workload Standards | `wl-standards` | `workload-coefficients.index` | | Subject Check Types | `wl-check-type-calculations` | `check-type-calculations.index` | ### Calculation Options Find the parameter by name. Rows linked to an educational unit display that unit's name. Status controls whether a formula referencing the parameter passes validation. Updating uses `calculation-options.update`. The tab has no add form. Choose variables from the catalog in the formula editor. Saved expressions refer to a variable by a dollar sign and its local ID. For example, if your headcount option has ID 17, `$17 * 0.5` returns 10 hours for 20 students. Select the actual option in your system. The server validates that it exists and is active, checks parentheses and operator placement, and accepts addition, subtraction, multiplication and division. Use a dot for decimals. ### Workload Norm Types Enter a translated name and start date. The end date is optional. For example, create “Project supervision” starting September 1, 2026. Choose a name distinct from active records. This type can then be selected when creating a norm. Creating the type does not allocate hours. ### Workload Norms Enter a name, norm type, start year, degrees, study formats, courses, semesters and expression. An optional end year must be later than the start year. For example, define a norm for supervising full-time bachelor's projects in year 2, semester 2. If your catalog provides a project-count option, use “project count × 0.5”. Twelve projects then produce six hours. - The classroom flag classifies hours in the summary report. The formula supplies the arithmetic. - To associate a norm with student work, select the work type. The quantity selector offers variables included in the expression. Select the variable again after changing the work type. - If the name is rejected as a duplicate, check overlapping degrees, formats and courses on existing norms. Different semesters alone do not resolve this validation error. ### Hourly Wage Regulation Choose the academic year, semester 1, semester 2 or both, and a status. This record configures a period. The form has no monetary rate field. One record is allowed per academic year. To add a second semester, edit the existing record. If the year is already taken, also check the trash because the uniqueness check includes archived records. ### Workload Standards Create a named standard for calculating hours on a subject. Enter its translated name, expression, start year, degrees, formats, assessment types, courses and semesters. The optional end year can equal the start year. Each workload standard column uses its own configuration. When hours look incorrect, inspect the rule associated with that specific column. ### Subject Check Types Choose assessment types, degrees, study formats, courses, semesters and a year range. Enter an expression of up to 1,000 characters. Leave the end year empty or select the start year or a later year. For example, verify a rule for a full-time bachelor's exam in year 2, semester 2 against a subject row matching those conditions. For a combined subject spanning multiple study formats, an assessment rule or standard must include every format represented in that combination. A match on a single branch is insufficient. ## Change a rule that already has hours 1. Edit a norm, standard or assessment rule. For example, remove a semester to which it should no longer apply. 2. In the preview, check affected workloads and hours. With detail access, expand a workload and then a subject to inspect teacher rows. Norm hours without a subject appear separately. 3. An ordinary update returns a conflict if existing hours would lose their applicable setting. Confirmed cleanup requires a separate permission. The server saves the rule and removes the affected hours in one transaction. 4. Moving a setting to the trash records which linked hour rows were removed. Restore returns those specific rows. Permanent deletion removes the setting and its linked archived rows. For these three catalogs, use `norms`, `workload-coefficients` or `check-type-calculations` as the permission prefix. The suffixes `.hour-impact` and `.hour-impact-details` grant preview and drill-down. Use `.update-with-hour-cleanup` for confirmed cleanup, `.destroy` and `.restore` for trash and restore, and `.force-delete` for permanent deletion. Check the affected workload totals after the change. ## Implementation references - [tabPage/WorkloadPages.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadSettingsPages/tabPage/WorkloadPages.tsx) - [HourlyWage/HourlyWageDescriptor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/Workload/components/WorkloadSettingsPages/HourlyWage/HourlyWageDescriptor.tsx) - [Norm/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Norm/routes/api.php) - [CalculationOption/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/CalculationOption/routes/api.php) - [WorkloadSubject/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/WorkloadSubject/routes/api.php) - [EmployeeWorkload/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/routes/api.php) - [HourRate/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/HourRate/routes/api.php) - [Norm/Http/Requests/NormRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Norm/Http/Requests/NormRequest.php) - [HourRate/Http/Requests/HourRateRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/HourRate/Http/Requests/HourRateRequest.php) - [EmployeeWorkload/Http/Requests/CheckTypeCalculationRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/Http/Requests/CheckTypeCalculationRequest.php) - [app/Rules/ValidCalculationExpressionRule.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Rules/ValidCalculationExpressionRule.php) - [docs/agents/modules/workload-setting-impact.md](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/docs/agents/modules/workload-setting-impact.md) - [docs/agents/modules/workload.md](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/docs/agents/modules/workload.md) --- # United Lesson Students Source: https://docs.kamoorj.com/en/docs/united-students ## Where to work A category's roster opens at `/united/item/:id/students/:categoryId`. It combines eligible students from all category source groups while retaining each student's curriculum membership. This page requires separate access from the combined-subject list. For electives, [record the subject choice first](/en/docs/elective-subjects). ## Permissions and scopes Under **Learning Management → United Lessons**, open the students of the required category. The page requires `united-lesson-students`. Its API declares faculty (`faculty`) and profession (`profession`) scopes. A category can span professions. When loading its roster, configuring groups and saving bulk unit assignments, the server checks the parent record's faculties. Older single-source-group operations also check that group's profession. | Task | Action permission | | --- | --- | | Load roster and group configuration | `united-lesson-student.category.index`, `united-lesson-student.category.group-configuration` | | Create or edit a named group | `united-lesson-student.category.groups.store`, `united-lesson-student.category.groups.update` | | Save group and instance assignments | `united-lesson-student.category.group-assignments.update` | | Run automatic allocation | `united-lesson-student.category.auto-groups` | | Apply or reset a template | `united-lesson-student.category.template.store`, `united-lesson-student.category.template.destroy` | ## Named groups and templates Create a “Practical” group with two instances, a total capacity of 24 students and the practical-class teaching type. Assign Anna to instance 2. With two instances, 2 is the highest valid number. To reduce the count to one, clear the second instance first. Before lowering total capacity, check how many students are already assigned. Applying a virtual-group division template takes a snapshot of the current structure and assignments, copies the template group names, counts and capacities, and clears the previous distribution. Manual membership changes are restricted while the template is active. Reset restores the saved group structure and membership. Check the category and its roster before applying or resetting the template. ## Manual allocation 1. Verify the category, subject and teaching types. 2. Check the roster against source-group curricula, years and semesters. 3. Prepare a named group and its number of instances. 4. Assign students to the group and a valid instance number for the relevant classes. 5. Save, reopen and verify the assignments. 6. Check teacher assignments in workload separately. A named group and an instance are different levels. “Practice” with a count of 3 provides three instances. A named group's capacity is not the same as the per-instance limit used by automatic allocation. ## Automatic allocation `united_lessons_auto_groups` is disabled by default. When enabled, it runs on new-category creation. Existing categories use a separate automatic-allocation action with its own permission. The system takes the current eligible roster, removes duplicates, sorts by student ID and allocates up to `student_count` students per instance. It creates one named group with the required instances and the category's teaching types. This is neither alphabetical allocation nor balancing by profession. ### Example: 53 students, limit 20 Three instances contain 20, 20 and 13 students. No empty fourth instance is created. Source-group membership is retained. The instance count is 53 / 20 rounded up. ### Restrictions - Empty rosters create no groups. - Zero or negative limits are rejected. - Repeated runs, active templates and custom group structures block automatic allocation. - A sole legacy default group with one instance may be reused; its roster is replaced with the current eligible roster. - Later roster changes do not automatically redistribute students. Teacher assignments, hours and related workload rows are not recalculated by this action. Assign teachers to new instances separately. ## Expected students and headcounts Advance assignments persist, but [expected students](/en/docs/student-cohort) contribute to actual workload headcounts only after successful advancement into the target active year and semester. Moving to another curriculum does not add the student to the previous category's workload. In the instance editor, Student count lets you specify a manual headcount for workload calculations. An explicit 0 counts as zero. With a saved current configuration, an empty field uses actual membership. For example, if 8 students are assigned and you enter 10, the workload uses 10 for this instance. Clear and save the field to count 8 again. Older groups may retain their earlier calculation policy until their settings are saved. This field changes the calculation without enrolling additional students. ## Sorting The default order groups students by source group; name sorting is also supported. Changing sorting does not change assigned instance numbers. A table row number is not a group number. ## If saving fails Check action permission, category eligibility, elective selection and valid instance numbers. An active template may require its supported reset before manual changes; reset can restore a saved state, so inspect its consequences first. Do not use repeated automatic allocation to update an already configured structure. ## Related guides - [Combined-subject configuration](/en/docs/united-lessons) - [Elective choices](/en/docs/elective-subjects) - [Actual and expected rosters](/en/docs/student-cohort) ## Implementation references - [UnitedLessons/components/UnitedLessonStudents/App/UnitedLessonStudents.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/UnitedLessons/components/UnitedLessonStudents/App/UnitedLessonStudents.tsx) - [UnitedLessonStudent/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/UnitedLessonStudent/routes/api.php) - [UnitedLessonStudent/Requests/UnitedLessonStudentCategoryIndexRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/UnitedLessonStudent/Requests/UnitedLessonStudentCategoryIndexRequest.php) - [UnitedLessonStudent/Services/UnitedLessonAutoGroupService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/UnitedLessonStudent/Services/UnitedLessonAutoGroupService.php) - [UnitedLessonStudent/Services/UnitedLessonCategoryGroupConfigurationService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/UnitedLessonStudent/Services/UnitedLessonCategoryGroupConfigurationService.php) - [EmployeeWorkload/Services/WorkloadStudentCountService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/Services/WorkloadStudentCountService.php) --- # Teacher Assignment Source: https://docs.kamoorj.com/en/docs/teacher-assignment ## Purpose Open **Learning Management → Teacher Assignment** (`/teacher-assignment`). Distribute a subject's students among existing lecturer workload assignments. For example, a coordinator can allocate programming students between two lecturers while retaining their assigned teaching hours. First create the [department workload](/en/docs/workload), then create lecturer assignments with the required teaching types and groups in [workload details](/en/docs/workload-details). For shared and virtual classes, also review [united lesson student distribution](/en/docs/united-students) and [virtual group students](/en/docs/virtual-group-students). ## Find the subject Complete all eight required filters in order. | Field | Example | | --- | --- | | Workload academic year | 2026/27 | | Educational degree | Bachelor's | | Learning format | Full-time | | Faculty | Faculty of Informatics | | Profession | Computer Science | | Course | 2 | | Term | 1 (the selected course's first term) | | Subject kind | Mandatory or elective | Changing any of the first seven values clears subsequent selections and the subject kind. Each subsequent filter remains disabled until its predecessor is filled. Click Search to load results. Applied values are stored in the address, and a new search returns to page one. Reset removes the filters and hides results. Retry a failed load with Refresh. Year, degree and format refer to the department workload. Faculty, profession, course, term and subject kind refer to the linked learning plan row, including rows of plans participating in united classes. One united workload can therefore have several plan-row contexts. A 2026/27 workload can correspond to course 2 of a 2025/26 intake plan. ## Actions in the list Rows show the subject and its kind, course, term, credit, teaching hours, student count, lecturers and distribution status. Unassigned means the distribution has not been confirmed; existing lecturer assignments may already appear. After saving, the row is marked Updated, and reopening shows the saved distribution. Use the row action to distribute students. It is disabled if there are no lecturer workload assignments. With creation permissions, an option opens lesson allocation in workload details. Create the necessary lecturer assignments there, save, then return. ## Distribute students 1. Open the selected subject. The editor displays lecturers with existing assignments, destination group(s), and students with their IDs, groups, courses and current lecturers. Each lecturer appears once even when they have several assignments. 2. On opening, the editor selects the lecturer whose assignment has the most marked students; a tie uses the first assignment in the response. For an unconfirmed distribution, the server preselects unambiguous eligible memberships where no competing assignment has the same teaching type and language. 3. Select a lecturer and tick the students to assign. Inspect the destination groups and marked rows. When switching lecturers, the current selection is retained and applied to the new destination. Adjust the marks if other students are intended before saving. 4. Search works by student name, ID and group. Select all results marks eligible unlocked students across all pages of the current search; Clear selection removes those marks. Selection persists when changing pages, and clearing search results leaves marks outside those results intact. 5. Check the selected count and warnings. Ineligible students and those with protected journal history in overlapping assignments cannot be changed. 6. Click Save. The server validates the full subject distribution, saves memberships and refreshes the list. Return to subjects and reopen the editor to verify the result. Before assigning the next lecturer, check the marks and eligible students again. ## Assignment rules Eligibility uses the same underlying data as journal student selection: current enrollment, plan row, profession, degree, format, workload year and group membership. Elective students need a current subject selection. Virtual, united and custom elective groups follow their respective subgroup memberships; students cannot be moved to an ineligible assignment here. | Rule | Effect | | --- | --- | | Same student, teaching type and language | Competing assignments for the same workload year and plan row, teaching type and effective language are prohibited. Selecting a lecturer removes the student from competing assignments within the edited context. | | Different teaching types | A lecture can belong to one lecturer and practical classes to another. Assignments for nonoverlapping types/languages remain. | | Several workloads for one lecturer | The editor selects eligible assignments automatically. Overlapping types are not duplicated. Where comparable assignments compete, earlier group number and ID take precedence. | | Mandatory subject | Every eligible student must be covered for every required teaching type/language. An incomplete distribution cannot be saved. | | Elective subject | Some eligible students can remain unassigned, while duplicate competing assignments and ineligible students are rejected. | | Journal history | A saved journal record may lock a student against transfers that would change ownership of that history. Existing grades and attendance are not automatically transferred. | | Concurrent changes | The server compares the saved distribution revision and workload state. If either changed, refresh and repeat the edits on current data. | **Example.** Lecturers A and B have practical classes for mandatory programming in the same teaching language. Student 101 can be assigned to either A or B for practical classes, but not both. Their lecture assignment with lecturer C remains when moving between A and B. If B has no workload assignment, B will be absent from the selector. Before selecting all eligible students for B, make sure the intended students are marked and A's practical-class assignment remains correct. If student 101 already has journal history with A, this move is locked. Do not split the same regular student-group record into contradictory destination group numbers: the server rejects an inconsistent distribution. ## Saved data and workload Saving stores each assignment's student membership for the selected learning plan row. The server recalculates educator workload student counts. For a regular direct mandatory subject it can also synchronize student group numbers with the assignment's educational unit. Virtual, custom elective and united groups have their own membership rules; this regular group-number synchronization does not apply to them. The operation does not rewrite teaching hours, lecturer assignments themselves or existing grade history. Saved memberships represent the distribution between lecturers, while the individual journal also depends on its underlying group/subgroup memberships and student eligibility. Open workload details and the appropriate lecturer's journal to verify student names and counts. If the journal differs, check the underlying group relations and avoid deleting existing assignments to move grades. ## Permissions and scopes | Action | Permission | | --- | --- | | Open and read module | `teacher-assignment`, `teacher-assignments.index`. | | Load filters | UI requires `academic-years.index`, `educational-degrees.index`, `learning-formats.index`, `faculties.index`, `professions.index`. Distribution, lecturers and student read endpoints are bound to the module read permission. | | Save distribution | `teacher-assignments.update`; the backend validates department access and the ability to update the workload under its approval state. | | Open creation of lecturer assignments | `educator-workloads.store` and `employee-workloads.show`; workload details may require additional permissions. | The module's scope is the workload's academic department (`department`). Faculty and profession filters identify the learning plan. They do not replace department authorization. Read-only users can inspect the distribution without changing marks or saving. ## Common issues - **No subjects:** verify the relevant workload year, degree, format, plan-row relations and department access. - **Lecturer missing:** create and save the assignment with the correct group and teaching type in workload details. - **Student missing or checkbox disabled:** check current enrollment, course, workload year, elective selection, subgroup membership, eligible lecturer assignment and journal history. - **Cannot save:** resolve competing assignments, cover all eligible mandatory students and verify journal history, permissions and approval state. - **Stale data (`teacher_assignment.stale`):** refresh, review the current distribution and apply the edits again. - **Unexpected count or journal:** compare the saved membership for each plan row and the relevant subgroup composition. Reload workload details and the lecturer's journal. ## Implementation references - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/TeacherAssignment/index.tsx) - [TeacherAssignmentFilters.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/TeacherAssignment/TeacherAssignmentFilters.tsx) - [DistributionEditor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/TeacherAssignment/DistributionEditor.tsx) - [useDistribution.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/TeacherAssignment/useDistribution.ts) - [distribution.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/TeacherAssignment/distribution.ts) - [types.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/TeacherAssignment/types.ts) - [useTeacherAssignment.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/TeacherAssignment/useTeacherAssignment.ts) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/TeacherAssignment/routes/api.php) - [TeacherAssignmentService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/TeacherAssignment/Services/TeacherAssignmentService.php) - [TeacherAssignmentMembershipService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/TeacherAssignment/Services/TeacherAssignmentMembershipService.php) - [TeacherAssignmentRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/TeacherAssignment/Repositories/TeacherAssignmentRepository.php) - [TeacherDistributionRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/TeacherAssignment/Http/Requests/TeacherDistributionRequest.php) - [GradeBookRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GradeBook/Repositories/GradeBookRepository.php) - [EmployeeWorkloadPolicy.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/Policies/EmployeeWorkloadPolicy.php) --- # Lecturer Workload Source: https://docs.kamoorj.com/en/docs/lecturer-workload ## Choose a page Both pages are under **Learning Management**. Hours come from the subject assignments and norm rows in [department workloads](/en/docs/workload). To verify or correct an assignment, open the [source workload record](/en/docs/workload-details). | Page | Lecturer selection | Purpose | | --- | --- | --- | | Lecturer Workload, `/lecturer-workload` | Choose an academic year and one or more permitted departments, optionally individual employees | Review staff workloads, compare versions and export lecturer or department reports | | My Workload, `/my-workload` | The server identifies the employee linked to the signed-in user | View personal subjects, norms and totals for a selected academic year | ## Run the department report 1. In Lecturer Workload select an academic year and at least one department. The page waits for both before requesting data. 2. Optionally select degrees, study formats or employees, or enter a search term. With no employee selection, the report returns lecturers with workload in the selected slice. Select a department first to use the employee picker. 3. Apply the filters. Expand an employee card to inspect subject allocations, workload norms and totals. A lecturer row includes teaching types, assessment hours, coefficients and components. A subject shared by two lecturers contributes each person's own assigned hours to their total. 4. For example, Anna and Armen teach 36 and 24 hours of a 60-hour subject. With no additional components, Anna's subject row should show 36. If it differs, inspect the teacher assignment in the source workload, then check year, department, degree and study format in the report. An applicable norm without an assignment may appear as a zero-hour row for a matching course and semester. These rows add zero to totals and to the calculated employment rate. When checking student numbers, distinguish planned headcount, actual enrollment and the number assigned to the lecturer row. ## Export scope After selecting year and department, users with export access can produce two reports. The lecturer export generates individual lecturer sheets. The overall department export uses a separate template library and includes a summary and individual sheets. Employees can be selected automatically. Table pagination does not limit the file. | `teaching_export_single_department_enabled` | Effect on hours | | --- | --- | | Off | The page and individual export limit hours to selected departments. The department export selects staff using matching department rows and includes their annual hours from other departments too. In this export, degree and format narrow the lecturer roster | | On | Annual hours are attributed to the lecturers' selected primary department. For restricted roles, access to the primary department is checked first. A lecturer with a different primary department may be absent even when teaching in the selected department | To reconcile different totals, check the export type and setting. If Anna has 36 hours in department A and 12 in B, with this setting off the lecturer report for A can show 36 while the annual department export shows 48. This example assumes the same year, roster and no other hours. ## Versions and approval With hour-source access, open the contribution detail to identify the source workload. For comparison choose a before and after version for each source. The changed-only option narrows the result. In a historical export check the selected versions and whether the export uses the selected versions' values or current values for changed records. A lecturer export filters changed employees, and a department export filters changed hours. Available sources and their approval states determine whether bulk approval is available. Before confirming, review the source list and eligibility at the current approval step. Comparing versions does not approve them. ## Calculate and synchronize the employment rate The card compares the rate stored in personnel records with a figure based on hours. The system finds the relevant employment record in the department for the year and the full-rate hour norm for that position. Calculated rate equals total hours divided by maximum norm hours, rounded to two decimals. For example, 300 hours against a 600-hour norm gives 0.50. Comparison requires an employment record and a norm. Synchronizing a mismatch updates the employee's personnel record. It requires separate permission, current data, one department and at most one selected degree and study format. Check the filters and norm before confirming. The server calculates the value again for that selection. ## Personal view Open My Workload, choose a year and apply the filter. Two tables show lesson allocations and teaching load. The summary shows classroom, non-classroom and total hours. When approval information is available the card displays the step and status. The page is limited to the signed-in employee. Export, version comparison and rate synchronization are available on the staff report according to permission. If no data appears after applying the filter, verify the year, the user-to-employee link and the presence of assigned subject or norm rows. Before a year is selected the interface has not requested a workload. ## Permissions and scopes | Capability | Module and permission | | --- | --- | | Staff workload report | `lecturer-workload`, permission `employee-workloads/by-lecturer.index`, scope `department` | | Hour contributions, version comparison, historical export | Separate suffixes `.hour-sources`, `.history-compare`, `.history-export` on `employee-workloads/by-lecturer`, all department-scoped | | Current lecturer and department exports | `lecturer-workload.export`, department-scoped | | Update personnel rate | `employee-workloads/by-lecturer.sync-rate`, department-scoped | | Personal workload | `my-workload`, API permission `employee-workloads/my-workload.index`. The route declares no named role scopes and restricts records to the signed-in employee | For the staff page, verify access to academic years, calculation options, teaching and assessment types, educational units and workload standards. The personal page uses academic years and calculation options. ## Implementation references - [LecturerWorkload/container/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LecturerWorkload/container/index.tsx) - [LecturerWorkload/components/LecturerRateCard.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LecturerWorkload/components/LecturerRateCard.tsx) - [LecturerWorkload/components/LecturerHistoricalExportButton.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/LecturerWorkload/components/LecturerHistoricalExportButton.tsx) - [MyWorkload/container/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/MyWorkload/container/index.tsx) - [MyWorkload/components/MyWorkloadCard/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/MyWorkload/components/MyWorkloadCard/index.tsx) - [LecturerWorkload/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LecturerWorkload/routes/api.php) - [MyWorkload/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/MyWorkload/routes/api.php) - [ContentExport/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExport/routes/api.php) - [LecturerWorkload/Services/LecturerWorkloadService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LecturerWorkload/Services/LecturerWorkloadService.php) - [LecturerWorkload/Services/LecturerRateService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LecturerWorkload/Services/LecturerRateService.php) - [LecturerWorkload/Http/Requests/FilterLecturerWorkloadRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LecturerWorkload/Http/Requests/FilterLecturerWorkloadRequest.php) - [docs/agents/modules/lecturer-workload.md](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/docs/agents/modules/lecturer-workload.md) --- # Teaching hours summary Source: https://docs.kamoorj.com/en/docs/teaching-hours-report ## Purpose and location Open **Learning Management → Teaching hours summary** (`/teaching-hours-report`). The report compares planned department hours with hours assigned to educators. It provides totals, hour composition, breakdowns across the institution and trends by academic year. Check the original values in [department workload](/en/docs/workload) and [lecturer workload](/en/docs/lecturer-workload). ## Build a report | Filter / switch | Meaning | | --- | --- | | Academic year | Required. On first opening, the current year is selected, or the last year in the dictionary if none is marked current | | Faculty | All accessible faculties or one faculty | | Department | All accessible departments or one department. Selecting a faculty restricts its departments and clears an incompatible selection | | Planned hours | Hours recorded in department workload source rows | | Lecturer workload | Hours assigned to individual employees | 1. Select 2026/27, a faculty and department. 2. Click Apply. Until the filter is applied, the previous result remains visible and a pending-filter message is shown. 3. Both sources are enabled by default in the interface. Disable lecturer workload to inspect the plan, or disable planned hours to inspect assignments. Switching a source immediately reloads the report using the last applied filters. 4. Check the displayed applied filter labels. Reset returns to the default year and all accessible faculties and departments while preserving the selected sources. ## Understand the values | Source | Included data | | --- | --- | | Planned hours | Period totals by teaching type and calculated check types, coefficients and extracurricular components from department workload rows | | Lecturer workload | Employee assignments by teaching and check type (hours plus additional hours), coefficients and components | | Workload norms | Norm totals are included in the plan. A norm assigned to an employee is also included in lecturer workload | Teaching types and norms are classified using their classroom flag. Check types, coefficients and components are classified as non-classroom in the report calculation. Each source total equals its classroom plus non-classroom hours. A norm assigned to an employee appears in both comparative metrics, while the internal combined total counts the norm once. For example, a plan contains 120 classroom and 30 non-classroom hours, while 100 classroom and 20 non-classroom hours are assigned. The screen compares 150 and 120 hours. Investigate the 30-hour difference in the underlying rows and assignments. Adding these comparative metrics does not measure the total amount of teaching. ## Breakdowns, charts and tables Use the switch between data and chart views. The report includes: - summary metrics for each source; - classroom and non-classroom components; - breakdowns by faculty, department, degree, study mode, program and language; - trends by academic year and the selected year's hour composition. The year filter controls summaries and breakdowns. The trend includes years with data for the selected organizational structure. A shared row belonging to multiple programs is placed in the shared-programs group, so its hours are not duplicated for each program. The plan language breakdown may distribute hours by the associated assignment languages; assigned hours use the recorded teaching language. Do not add totals from different breakdowns together. ## Excel export After loading the report, click Export. The file `teaching-hours-report.xlsx` contains data and a charts sheet. When both sources are selected, they have separate sheets. When one is selected, that source uses one data sheet. Export uses the saved report snapshot, including its locale and applied filters. The snapshot expires after one hour. If workload values have changed or filters are pending, build the report again before downloading. If the snapshot expired, apply the filters again. ## Permissions and scopes | Action | Permission | | --- | --- | | Load filter dictionaries | `teaching-hours-report.dictionaries` | | Build report | `teaching-hours-report.index` | | Export Excel | `teaching-hours-report.export-excel` and view access | The module `teaching-hours-report` declares faculty (`faculty`) and department (`department`) scopes. They constrain both available organizational choices and result data. At export, the server checks the user, view permission and current access to the departments in the snapshot again. ## Troubleshooting - Wrong department or year: check the applied filter labels and apply the filters again. - Empty report: enable at least one source and check source workload rows or assignments and role access to the department. - Assigned hours below planned hours: inspect educator allocations in [workload details](/en/docs/workload-details), additional hours and assigned norms in [teaching workload](/en/docs/workload-teaching-load). - Hours appear in an unexpected section: check the classroom flag of the teaching type or norm. - Excel shows older values: click Apply to build a new snapshot, then export again. ## Implementation references - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/TeachingHoursReport/index.tsx) - [types.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/TeachingHoursReport/types.ts) - [service.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/TeachingHoursReport/service.ts) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/TeachingHoursReport/routes/api.php) - [TeachingHoursReportController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/TeachingHoursReport/Http/Controllers/TeachingHoursReportController.php) - [TeachingHoursReportRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/TeachingHoursReport/Http/Requests/TeachingHoursReportRequest.php) - [TeachingHoursSource.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/TeachingHoursReport/Services/TeachingHoursSource.php) - [TeachingHoursAggregate.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/TeachingHoursReport/Services/TeachingHoursAggregate.php) - [TeachingHoursExporter.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/TeachingHoursReport/Services/TeachingHoursExporter.php) --- # Professional Educational Program Source: https://docs.kamoorj.com/en/docs/professional-education-programs ## Purpose and access Open **Learning Management → Professional Educational Program** (`/peps`). This module manages professional educational programs (PEPs) by profession and academic year. Content includes general description, goals and objectives, learning outcomes, educational block credits and diploma core. A PEP is a separate record associated with a profession. Matching learning plans provide calculated credits. Changing program descriptions does not edit learning-plan hours or subjects. ## Create a program First check that the academic year, degree, learning format, faculty and relevant educational program exist in their directories. 1. Click Add in the list. 2. Complete the context fields in order. | Field | What to choose | Example | | --- | --- | --- | | Academic year | Program year | 2026/27 | | Educational degree | Degree corresponding to the program | Bachelor's | | Learning format | Format from the directory | Full-time | | Faculty | Faculty of the program | Faculty of Computer Science | | Educational program | Specific profession directory record | Computer Science | 3. Click Open. This creates the record and immediately opens its editor at `/peps/:id`. A new program has Draft status, and the system creates its empty general description record. 4. Complete the sections according to the [PEP editor guide](/en/docs/professional-education-program-details). The faculty is determined through the chosen profession; use consistent directory relationships when selecting fields. Degree and learning format are stored on the program. Older server records may have empty degree or format fields, but the creation UI requires them. The database allows one non-deleted program per profession and academic year. Changing degree or format does not make the same profession/year pair unique. Create a new record for a new year, and locate the existing record when working on the same combination. ## List and actions The table displays academic year, degree, learning format, faculty, educational program and status. Search matches translated profession names and abbreviations. Filters include year, profession, faculty, degree, format and status; the faculty, degree and format directory filters use the profession's relationships. Refine these filters to locate the required record. The default page size is 20, with sizes 10, 20, 50 and 100 available. - The row's Open action enters the program editor. - Edit changes the record's directory fields. If changing profession or year, recheck all program content and credit calculation. - Delete moves the program to Trash, where search and pagination are also available. Restore it if needed. If a replacement active program exists for the same profession and year, restoring the old record may conflict with uniqueness. - List export uses separate Excel and PDF permissions. To print a particular content section, open the editor. ## Statuses The module has two statuses: `draft` and `published`. Publish in the editor changes the record to Published and records the transition time. Save changed sections and rows, check translations and credit reconciliation before publishing. The Publish button updates record status without performing an overall save of unfinished forms. ## Permissions and scopes The `pep` module supports `profession` and `faculty`. Profession is checked through the direct program relation and faculty through that profession. Access is restricted to the role's allowed values and actions. On creation, the scope is derived from the selected profession and its faculty. | Operation | Permission | | --- | --- | | View list | `peps.index` (PepTablePull) | | Create | `peps.store` (PepCreateAction) | | Edit, publish | `peps.update` (PepEditAction) | | Delete | `peps.destroy` | | Trash and restore | `peps.deleted-items`, `peps.restore` | | Export list | `peps.export-excel`, `peps.export-pdf` | The create and edit groups also use `academic-years.index`, `educational-degrees.index`, `learning-formats.index`, `faculties.index`, `professions.index`, `competences.index`. For reading and editing program content, see [section permissions](/en/docs/professional-education-program-details). ## Troubleshooting - Program missing from the list: check year, profession, status, filters and role scope. - No suitable profession: check preceding directory fields and the allowed faculty. - Record not created: verify required fields and that no non-deleted program already exists for the profession/year pair. - Edit or Publish unavailable: check `peps.update` and the program's scope. - Calculated credits are zero: check [learning plans](/en/docs/learning-plans) and the program's field combination. ## Implementation references - [PepDescriptor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProfessionalEducationalProgram/PepDescriptor.tsx) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProfessionalEducationalProgram/container/index.tsx) - [PepCreateOpenModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProfessionalEducationalProgram/components/PepCreateOpenModal.tsx) - [helpers.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProfessionalEducationalProgram/helpers.ts) - [permissionActionMap.json](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/public/permissionActionMap.json) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalEducationalProgram/routes/api.php) - [ProfessionalEducationalProgramService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalEducationalProgram/Services/ProfessionalEducationalProgramService.php) - [StoreProfessionalEducationalProgramRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalEducationalProgram/Http/Requests/StoreProfessionalEducationalProgramRequest.php) - [PepScopedFormRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalEducationalProgram/Http/Requests/PepScopedFormRequest.php) - [ProfessionalEducationalProgramRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalEducationalProgram/Repositories/ProfessionalEducationalProgramRepository.php) - [2026_05_17_100011_create_professional_educational_programs_table.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalEducationalProgram/database/migrations/2026_05_17_100011_create_professional_educational_programs_table.php) - [ProfessionalEducationalProgram.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalEducationalProgram/Models/ProfessionalEducationalProgram.php) --- # Educational program editor Source: https://docs.kamoorj.com/en/docs/professional-education-program-details ## Editor structure Open the required [professional educational program](/en/docs/professional-education-programs) from the list. The editor route is `/peps/:id`. Its header displays program details, status, Print and Publish when available. Content is organized into five sections loaded as they are opened. Each section has its own saving method. Editing fields and switching sections does not save the entire program. ## 1. General description Complete the following subsections. | Field | How to fill it | Example | | --- | --- | --- | | 1.1 Mode of delivery | Select from the PEP dictionary | United | | 1.2 Official duration | Text, up to 2000 characters | 4 academic years | | 1.3 Admission requirements | Formatted translated text | Secondary education certificate required | | 1.4 Program requirements | Requirements for program completion | Subjects, placement and final assessment | | 1.5 Further study opportunities | Continuing education | Admission to a master's program | | 1.6 Professional qualification / status | Qualification information | Bachelor of Computer Science | Use the multilingual rich-text editor for the last four subsections. Fill the institution's languages and use the available formatting. Duration is a separate common text field. Mode of delivery is an independent PEP dictionary; the initial dictionary includes united and individual. It does not change the learning format of the study plan. Click Save in the section and check the stored text when reopening it. ## 2. Goals and objectives Click Add. A new row is given an initial number and position. Choose a goal type from the dictionary (for example, goal or problems), adjust the number as necessary and enter the description. The number is a text field of up to 32 characters, for example `1.2`. Descriptions are entered per selected language. Switch languages and complete the required translations. Creating a row requires at least one nonempty description. **Example:** Goal, number 1, description “Train specialists capable of developing and maintaining software systems.” Save the row via its actions. Filter the table by goal type if needed. To reorder, drag the row using its handle; position changes for saved rows are sent to the server. Saving a row reloads the table. Complete a new row before adding another so that local edits are not lost. Delete removes the row from the current list. The PDF export action opens printing for the goals table. ## 3. Learning outcomes and competences Click Add and complete a learning outcome row. | Field | Meaning | Example | | --- | --- | --- | | NQF level | Optional text, up to 255 characters | 6 | | Outcome category | Knowledge, skill or competence category from the dictionary | Skill | | Outcome type | General or professional type from the dictionary | Professional | | Number | Integer of at least 1 | 2 | | Learning outcome | Required description of expected outcome | Develops and tests software modules | | Teaching and learning methods | Description of learning methods | Practical classes and project work | | Assessment | How the outcome is assessed | Project demonstration and test task | | Competences | One or more directory records | For example, Software development | Choose existing [competences](/en/docs/competences) using the searchable selector. A learning outcome may be linked to multiple competences; saving updates the set of links for that outcome. Deselecting a competence removes its association on save while preserving the competence directory record. Switch languages and enter outcome, methods and assessment texts. If methods or assessment are provided for a language, include its outcome as well: the server requires the outcome in submitted translations. Saving requires at least one outcome description, a category, a type and a positive number. NQF level may be empty. Save the row. The table has search, category/type filters, language selection and drag-and-drop ordering. Outcome number and sort position are separate values. Moving a saved outcome persists the changed order. Delete removes that outcome from the program's current composition. ### Version history Open Version History. Creating, updating or deleting an outcome causes the server to store a snapshot of current non-deleted outcomes for the program, including translations and competences. The drawer displays version IDs, dates and author where available. Reopen the editor after changes to refresh the version list. There is no full-version restore action in this drawer. ## 4. Educational block credits This section shows cards for existing educational blocks with editable manual credit fields. Enter nonnegative whole numbers; values save when leaving a field. For example, enter 60 credits for the general block and 180 for the professional block. Zero is a distinct manual value. Clearing a field in the current UI does not initiate removal of a previously saved manual number, so recheck the stored value after clearing. The total displays manual credits / calculated credits. Manual values are separate PEP data; editing them does not change [learning plans](/en/docs/learning-plan-details). Calculated credits sum learning-plan row credits for plans matching the program's profession and academic year, plus degree and learning format when specified. Rows are grouped by educational block; facultative blocks contribute zero. If no matching plan exists, calculated credits are zero. **Reconciliation example:** manual values are 60 and 180 in two blocks, while the matching learning plan has 60 and 175. The total is 240 / 235. Check source plan rows and the institution's requirements before reconciling values. ## 5. Diploma core This section manages paragraphs for diploma Sections 4.3 and 3.1. Click Add in the desired group, fill multilingual formatted text and save the paragraph with its own action. For example, add approved information about program outcomes and content to Section 4.3, and approved qualification-level information to Section 3.1. Follow your institution's approved wording. Complete the body for each submitted language. Paragraphs appear in their stored order and can be deleted separately. ## Print and publish The header Print action opens the print dialog for the selected section only. Choose Save as PDF in the dialog to obtain a PDF. It is useful for checking the current section and does not combine all five sections into one document. Save the general description, each modified goal, outcome and paragraph. Verify credits after leaving their input fields. Then click Publish. The record's status becomes `published` and the publication timestamp is set at the transition. Status does not impose a separate completeness check of all sections or disable otherwise permitted editing. ## Permissions and scopes The page uses `pep`; routes support the program's `profession` and `faculty` scopes. The frontend reads all sections through PepTablePull, based on `peps.index`. Add, edit and delete controls use PepCreateAction, PepEditAction and PepDeleteAction respectively. Selecting competences requires `competences.index`. | Section | Content routes | | --- | --- | | General description | `peps.general-description.show`, `peps.general-description.update`, bound to `peps.index` and `peps.update` respectively. | | Dictionaries | `peps.dictionaries.*.index/update`, bound to program read/update. | | Goals | `peps.goals.index/store/update/destroy` | | Outcomes | `peps.learning-outcomes.index/store/update/destroy`; version history `peps.learning-outcomes.versions.index/show` is bound to `peps.index`. | | Credits | `peps.educational-block-credits.index/update`, bound to `peps.index` and `peps.update`. | | Diploma paragraphs | `peps.diploma-paragraphs.index/store/update/destroy` | | Publish | `peps.update` | For a read-only section, check edit action permissions and scope. If a new row fails to save, check the required type/category, number and nonempty translation. If the competence selector is empty, check the directory and its read permission. ## Implementation references - [Item.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProfessionalEducationalProgram/container/Item.tsx) - [PepEditorHeader.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProfessionalEducationalProgram/components/Editor/PepEditorHeader.tsx) - [usePepEditorController.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProfessionalEducationalProgram/hooks/usePepEditorController.ts) - [usePepEditorPermissions.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProfessionalEducationalProgram/hooks/usePepEditorPermissions.ts) - [usePepEditorColumns.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProfessionalEducationalProgram/hooks/usePepEditorColumns.tsx) - [helpers.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProfessionalEducationalProgram/helpers.ts) - [GeneralSection.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProfessionalEducationalProgram/components/Editor/sections/GeneralSection.tsx) - [GoalsSection.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProfessionalEducationalProgram/components/Editor/sections/GoalsSection.tsx) - [LearningOutcomesSection.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProfessionalEducationalProgram/components/Editor/sections/LearningOutcomesSection.tsx) - [CreditsSection.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProfessionalEducationalProgram/components/Editor/sections/CreditsSection.tsx) - [DiplomaCoreSection.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ProfessionalEducationalProgram/components/Editor/sections/DiplomaCoreSection.tsx) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalEducationalProgram/routes/api.php) - [UpdatePepGeneralDescriptionRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalEducationalProgram/Http/Requests/UpdatePepGeneralDescriptionRequest.php) - [StorePepGoalRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalEducationalProgram/Http/Requests/StorePepGoalRequest.php) - [StorePepLearningOutcomeRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalEducationalProgram/Http/Requests/StorePepLearningOutcomeRequest.php) - [StorePepDiplomaParagraphRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalEducationalProgram/Http/Requests/StorePepDiplomaParagraphRequest.php) - [PepLearningOutcomeService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalEducationalProgram/Services/PepLearningOutcomeService.php) - [PepEducationalBlockCreditService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalEducationalProgram/Services/PepEducationalBlockCreditService.php) - [ProfessionalEducationalProgramService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalEducationalProgram/Services/ProfessionalEducationalProgramService.php) --- # Elective Subjects Source: https://docs.kamoorj.com/en/docs/elective-subjects ## Pages and purpose The elective-subject list is at `/elective/subjects`; a record opens at `/elective/item/:id`. It records the student's subject choice, which is used when building combined-subject rosters. ## Permissions and scopes Open **Learning Management → Elective Subjects**. The list uses `elective-subjects`. Operations inside a record use `elective-subject-manage`. Both modules declare the faculty (`faculty`) and profession (`profession`) scopes. | Task | Action permission | | --- | --- | | List, create or edit records | `elective-subject.index`, `elective-subject.store`, `elective-subject.update`, respectively | | Open a record with its students | `elective-subject.show` | | Record or clear a choice, change a block's groups | Actions are bound to `elective-subject-block.upsert` | | Synchronize blocks with the curriculum | `elective-subject.sync` | Record creation validates the selected curriculum's faculty. Saving an individual student's choice checks faculty and profession. If you can open the list but cannot select a subject, check the child module's action permission and the scope for this curriculum. ## Create a record and set the selection period 1. Select the curriculum. Its year, degree, faculty, study format and profession supply the list columns. 2. Choose a year of study within the curriculum's duration and semester 1 or 2. The curriculum must contain a subject row for that period. Each curriculum, year of study and semester combination has one record. Open the existing record if that combination is already listed. 3. Organizations with the student interface enabled see a selection period in the record. Choose start and end months, then save the period. September–October 2026, for example, saves as September 1 through October 31 inclusive. Clear the range and save to remove both dates. 4. After a curriculum change, synchronize outdated blocks. This adds missing blocks, removes obsolete blocks and synchronizes their groups. Check the curriculum before running the action and review the counts of added and deleted blocks in the result. ## Prerequisites Prepare the correct curriculum row, year and semester; an eligible actual or expected student; and a choice block linked to the same curriculum row used by the combined category. You also need the module and action permissions. ## Before assigning combined groups 1. Open the elective record for the correct curriculum and period. 2. Find the student. If missing, check [eligibility rules](/en/docs/student-cohort). 3. Record the choice in the matching block. Where alternatives exist, choose the exact subject to be combined. 4. Changing the selection sends the choice to the server immediately. Wait for the table to refresh and reopen the record to verify it. 5. Return to the combined category's student page and confirm that the student appears. 6. Assign the [named group and instance number](/en/docs/united-students). > Being enrolled in a curriculum is not sufficient for an elective. A non-deleted choice in a block belonging to the same curriculum row must match the combined subject. If the block's subject has children, select one of its direct children. For a subject without children, check the block itself. Clearing the checkbox removes the choice and clears the associated unit-number fields in the student's row. ## Worked example Anna studies “Computer Science — 2025”, year 2, semester 1. The block offers English and German. To include her in combined English classes, save English in that plan's corresponding block. Choosing German or a block from another curriculum does not qualify her for English. For legacy records without an explicit selected subject, matching the block's own subject is accepted. This compatibility rule is not a reason to leave a new choice incomplete. ## Display settings | Setting | Effect | | --- | --- | | `by_name` (default) | Sorts name parts in the configured name-format order | | `by_sequence` | Uses the sequence stored in the educational status | | `by_order_number` | Uses the admission-basis order number | | Name format | Select and reorder surname, first name and patronymic | When selected name parts are absent, surname and first name are used with a fallback indicator. The displayed row number is not a student ID. List-level settings are saved centrally. Detail-page display preferences can be overridden in the browser. Neither changes enrollment or elective choices. ## Verification and troubleshooting The saved choice should remain after reload. Combined eligibility requires both the correct period and subject. If a student appears in electives but not in combined subjects, compare the exact curriculum row, selected alternative and category groups. Do not create a duplicate student to bypass a mismatch. ## Related guides - [Student eligibility](/en/docs/student-cohort) - [Combined subjects](/en/docs/united-lessons) - [Group assignments](/en/docs/united-students) ## Implementation references - [ElectiveSubjects/ElectiveSubjectsDescriptor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ElectiveSubjects/ElectiveSubjectsDescriptor.tsx) - [ElectiveSubjects/components/ElectiveItems/App/ElectiveSelectionPeriod.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/ElectiveSubjects/components/ElectiveItems/App/ElectiveSelectionPeriod.tsx) - [ElectiveSubject/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ElectiveSubject/routes/api.php) - [ElectiveSubjectBlock/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ElectiveSubjectBlock/routes/api.php) - [ElectiveSubjectStudent/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ElectiveSubjectStudent/routes/api.php) - [ElectiveSubject/Services/ElectiveSubjectService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ElectiveSubject/Services/ElectiveSubjectService.php) - [ElectiveSubject/Requests/ElectiveSubjectRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ElectiveSubject/Requests/ElectiveSubjectRequest.php) - [ElectiveSubjectStudent/Requests/ElectiveSubjectStudentRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ElectiveSubjectStudent/Requests/ElectiveSubjectStudentRequest.php) --- # Virtual group catalog Source: https://docs.kamoorj.com/en/docs/virtual-group-catalog ## When to create a template Open **Learning Management → Virtual groups** (`/virtual-groups`). The Virtual groups tab holds the shared catalog. If several subjects have two lecture streams and four practical subgroups, define the arrangement once. Each subject then needs its own [attachment](/en/docs/virtual-group-attachments) and [student assignments](/en/docs/virtual-group-students). ## Fill in the template 1. Select **Create virtual group**. Enter a descriptive name such as “Lectures and practicals” in at least one language. 2. Add a unit called “Stream”. Enter **2** for the count, **60** for capacity per instance and select the Lecture teaching type. 3. Add a “Subgroup” unit. Set its count to **4**, capacity to **30**, and teaching type to Practical. Within this structure, a teaching type can belong to only one unit. 4. Optionally enter a translated name and a calculation headcount for individual numbers. For subgroup 1, for example, enter “Morning” and **24**. 5. Save. Search the catalog by template or unit name. Check the units and the number of linked subjects. A newly created template has zero linked subjects. ## Read the fields | Field | Effect | | --- | --- | | Count | Determines the available instance numbers. With count 2, a student can take number 1 or 2 in this unit. | | Capacity | Limits actual assignments separately for each number. An empty capacity on the template leaves the unit without a limit. | | Calculation headcount | Supplies an initial value for workload calculations for one number. Zero is an explicit value. Entering a headcount does not enroll students. | | Instance name | Appears when a translation exists for the interface language. A new instance without a translation uses the unit label with a number when there are multiple instances. | ## Access and changes to templates in use The catalog is shared. Its routes have no faculty or profession scope of their own. Viewing requires `virtual-groups`. Creating, editing and deleting require the corresponding `virtual-groups-manage` actions. Buttons depend on the individual action grants. The teaching-type selector reads the list through `teaching-types.index`. Check the linked-subject count before changing a template. Reducing the count validates numbers already used by assignments, workload rows, bulletins and schedules. Capacity must accommodate the actual membership of the fullest instance. An attached template cannot be deleted. To change a single subject, edit [its attachment](/en/docs/virtual-group-attachments). ## Implementation references - `front/src/admin/src/pages/LearningManagement/VirtualGroups/index.tsx` - `front/src/admin/src/pages/LearningManagement/VirtualGroups/GroupFieldsEditor.tsx` - [UpdateVirtualGroupDivisionRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/VirtualGroup/Http/Requests/UpdateVirtualGroupDivisionRequest.php) - [VirtualGroupService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/VirtualGroup/Services/VirtualGroupService.php) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/VirtualGroup/routes/api.php) --- # Attach virtual groups to subjects Source: https://docs.kamoorj.com/en/docs/virtual-group-attachments ## Find the curriculum subject Open **Learning Management → Virtual groups → Subject attachments** (`/virtual-groups?tab=attachments`). Each attachment belongs to a curriculum row and subject together. Subjects with the same name in different curricula can have their own structures and memberships. 1. Select the academic year, educational degree, learning format, faculty, education sector and profession. Course format, year of study and semester further narrow the results. Apply the filters. When opening from a curriculum, the page can load by curriculum ID directly. 2. Find the subject and check its year of study and semester. Academic year refers to the period of instruction. For example, year two in 2026/27 looks for a curriculum with intake year 2025. When the year of study is blank, the intake year is calculated for each row. 3. Open the actions for a **Not attached** row and select **Attach virtual group**. Choose a [catalog template](/en/docs/virtual-group-catalog) or create a structure for this subject. 4. Check instance counts, capacity, teaching types, labels and calculation headcounts. Save and reopen the row. Confirm the structure before opening [Manage students](/en/docs/virtual-group-students). ## Choose the structure | Situation | Action and result | | --- | --- | | The subject uses the shared arrangement | Select the template and keep the defaults. The attachment uses that shared structure. | | Only this subject needs three subgroups instead of two | Change the count in its attachment. Settings that differ from the template create a structure specific to the subject. | | The teaching types differ | Set the types for each unit. An enabled override with an empty selection explicitly assigns no types. A teaching type may belong to at most one unit. | | No template fits | Define a custom structure with one or more units. It belongs to this subject and is absent from the shared catalog. | ## Revert, replace or detach A custom structure with a recorded source template can revert to the template’s **current** settings from the distribution page. Save pending assignments first. The system maps units back to their originals and retains compatible assignments. A number already in use, insufficient capacity or incompatible workload assignments can prevent the change. Selecting a different template in the attachment editor requires confirmation. Choosing a template other than the original, or deleting the attachment, clears student assignments and removes the related lecturer workload rows and bulletins for the old units of this subject. Review the curriculum, subject and existing assignments before confirming. ## Open the related workload Users with workload viewing access can follow the workload link beneath the subject name. The lookup uses the curriculum row, subject and selected academic year. A single match opens directly. For multiple matches, select the record by year, department, degree and learning format. An empty table means there are no accessible matches for this lookup. ## If the subject is missing Check all required filters and the intake year. A row and subject already used in an active [combined-subject category](/en/docs/united-lessons) are excluded from candidates. For a modular subject that takes values from child rows, search results show the child subjects. ## Access and supported scopes Viewing uses `virtual-groups`. Creating, updating or removing the attachment requires the relevant `virtual-groups-manage` action. The server supports `faculty` and `profession` scopes on the curriculum. Year, sector and course filters narrow the available results further. Copying a distribution also checks the source and every target curriculum. ## Implementation references - [AttachmentEditorModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/VirtualGroups/AttachmentEditorModal.tsx) - [VirtualGroupController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/VirtualGroup/Http/Controllers/VirtualGroupController.php) - [VirtualGroupSet.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/VirtualGroup/Models/VirtualGroupSet.php) - [VirtualGroupService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/VirtualGroup/Services/VirtualGroupService.php) - [VirtualGroupUnitSettings.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/VirtualGroup/Support/VirtualGroupUnitSettings.php) - `front/src/admin/src/pages/LearningManagement/VirtualGroups/SubjectWorkloads.tsx` --- # Assign students to virtual groups Source: https://docs.kamoorj.com/en/docs/virtual-group-students ## Who appears on the page On **Subject attachments**, select **Manage students** on an attached subject (`/virtual-groups/:id/students`, where `:id` is the attachment ID). This requires a [saved subject structure](/en/docs/virtual-group-attachments). A student needs an active academic course on the same curriculum and an active education status for the curriculum row’s year of study. When an elective block exists for this row and subject, the student needs a current entry in that block. For legacy attachments to a child alternative that takes values from its parent, the specific selected child subject must also match. If a name is missing, check these records and the [elective selection](/en/docs/elective-subjects). ## Assign numbers 1. Search by student name. Choose the number selector or the layout with a separate column for each instance. 2. Select one number for each relevant unit. For example, Anna can attend lectures in Stream 2 and practicals in Subgroup 1 at the same time. 3. To remove one placement, clear its number or choose the unassigned option. The student has a separate assignment for each other unit. 4. Select **Save distribution**. Reopen the page and check the numbers and actual usage. Save pending assignments before editing the structure. ## Capacity and calculation headcount With two instances and capacity 30, the system accepts 30 + 30 assignments. It rejects the entire save for 31 + 1. Move a student to the other number or change the capacity using the management permission. A new attachment uses actual assignments for workload calculations unless a manual headcount is set for the number. With 20 students and a manual value of 24, workload uses 24 and actual occupancy is 20. Zero explicitly sets the calculation headcount to zero. Clearing the value restores the actual count. Older attachments without a manual value can retain the plan-based count until changed subject settings are saved. Saving the student distribution alone does not switch this policy. ## Copy to other subjects 1. On **Subject attachments**, select **Copy** for the source subject. Choose the target filters, including academic year, faculty and profession. 2. Select destination rows. An unattached subject gets the structure and settings. A destination using the same structure has its actual assignments replaced. A destination attached to a different structure is unavailable. 3. Confirm. Targets may belong to other curricula, years of study or semesters. Only students eligible for each destination are assigned there. The skipped count reports source students who failed that eligibility check. 4. Open the target and check its numbers, manual headcounts and workload. If none of the students belongs to the target curriculum, a new destination can receive the structure and manual counts with no actual assignments. ## Access and supported scopes Viewing the attachment uses `virtual-groups`. Saving and copying the distribution use `virtual-groups-distribute`. Editing the structure here uses `virtual-groups-manage`. Attachments support `faculty` and `profession`; copying checks both source and destination curricula. Bulletin grade history and grade transfer have separate actions, `virtual-groups-grade-history` and `virtual-groups-grade-transfer`. Their requests check the bulletin’s `faculty`, `profession`, `department` and `subject`. ## Implementation references - [students.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/LearningManagement/VirtualGroups/students.tsx) - [VirtualGroupService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/VirtualGroup/Services/VirtualGroupService.php) - [CopyVirtualGroupSetRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/VirtualGroup/Http/Requests/CopyVirtualGroupSetRequest.php) - [VirtualGroupGradeHistoryRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/VirtualGroup/Http/Requests/VirtualGroupGradeHistoryRequest.php) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/VirtualGroup/routes/api.php) --- # Academic Work and Internships Source: https://docs.kamoorj.com/en/docs/academic-work-report ## Open the report Open **Reports → Academic Work and Internships** (`/academic-work-report`). The page reports participant counts and calculated hours from student work applications for coursework, theses, master's theses and internships. Applications in progress and confirmed applications with participants contribute to the report. One counted unit is one participant in one application. An application with three participants contributes three units. A student who participates in another application contributes a separate unit there. Applications without participants do not contribute. The summary groups all internship types under Internship, while the hours calculation uses each original internship type. ## Build the summary 1. Select the academic year. The current year is preselected when configured. Otherwise choose the year manually. 2. Optionally choose a faculty and department. Available departments depend on faculty and the user's access scope. Choose a work type, such as internship, to narrow the result. 3. Apply the filters and open Summary. Check total quantity and hours. Four tables group the same result by work type, department, faculty and program. A fifth block displays departments as rows and work types as columns. Each grouping describes the same participants, so do not sum the totals across tables. 4. Click the quantity in a group or matrix cell. The list opens with the corresponding conditions. For example, the Economics department's internship cell opens the internship participants for that department. ## Verify individual entries The List tab shows record ID, academic year, faculty, department, program, degree, study mode, sector, semester, work type, topic or internship name, student, quantity, hours per unit, total hours and supervisor. Each detail row has a quantity of 1, so its hours per unit equal its row total. - Search by record ID, topic or internship name. For people use the dedicated student and supervisor filters. - Additional filters cover program, degree, study mode, sector and semester. When comparing departments, set the same academic year first. - Choose displayed columns, sort order and page size of 25, 50 or 100. The URL retains filters, tab and drill-down conditions. Opening the same link as another employee applies that employee's own permissions. ## How hours are calculated In [workload settings](/en/docs/workload-settings), open the norm linked to the original student work type. Check that its validity covers the entire academic year and that course, semester, degree and study mode match. A year-long application requires a norm covering both semesters. | Formula | Calculation | | --- | --- | | A constant, such as `2` | Two hours per participant. Three participants produce six hours | | A formula using the quantity input | The formula receives the entire application's participant count. Use the active student work quantity option selected on the norm. The report cannot supply other variables | | Several matching norms for the original work type | The calculated hours are added. Each participant is counted once | The application total is allocated across its participants before filtering to an individual. For example, “quantity + 7” gives 10 hours for three participants. After rounding, the participant with the lowest ID gets 3.34 hours and the others get 3.33 each. Filtering to the third participant leaves 3.33 hours. The formula is not rerun as a one-person application. ### What incomplete data means If the course, program or applicable norm is missing, or a formula cannot be evaluated, the participant still contributes to quantity and their hours are unavailable. The summary displays **known hours** and flags the result as incomplete. Check the original work type, both ends of the academic year, program degree and format, course and semester. For a variable formula, verify that the selected quantity option is active and matches the expression. Refresh the report after correction. ## Excel export and access scopes Open the required tab, review filters and export to Excel. The summary workbook contains its generation date, filters, metrics and five blocks. The list workbook contains every filtered row in the selected order and all 16 template columns. Hidden screen columns and pagination do not reduce the export. Viewing requires the `academic-work-report` module and `academic-work-report.index`. Filter dictionaries use the same permission. Downloading also requires `academic-work-report.export-excel`. Both actions support faculty (`faculty`) and department (`department`) scopes. The export uses a snapshot owned by the current user, valid for one hour. It rechecks access to the departments included in the snapshot. If it expires, refresh the report and download again. For an access error, check both view and export permissions for every department in the result. ## Implementation references - [AcademicWork/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Reports/AcademicWork/index.tsx) - [AcademicWork/service.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Reports/AcademicWork/service.ts) - [database/seeders/ModulesSeeder.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/database/seeders/ModulesSeeder.php) - [AcademicWorkReport/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicWorkReport/routes/api.php) - [AcademicWorkReport/Http/Requests/AcademicWorkReportRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicWorkReport/Http/Requests/AcademicWorkReportRequest.php) - [AcademicWorkReport/Http/Controllers/AcademicWorkReportController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicWorkReport/Http/Controllers/AcademicWorkReportController.php) - [AcademicWorkReport/Services/AcademicWorkReport.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicWorkReport/Services/AcademicWorkReport.php) - [AcademicWorkReport/Services/AcademicWorkParticipants.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicWorkReport/Services/AcademicWorkParticipants.php) - [AcademicWorkReport/Services/AcademicWorkExporter.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicWorkReport/Services/AcademicWorkExporter.php) - [EmployeeWorkload/Services/WorkloadCalculationService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeWorkload/Services/WorkloadCalculationService.php) --- # Student Summary Source: https://docs.kamoorj.com/en/docs/student-summary-report ## Purpose Open **Reports → Student Summary** (`/reports/students/summary`). The page title is Student and Group Summary. It reports headcounts, teaching workload groups and subject registrations for the selected year, together with trends across academic years. For example, a dean can compare faculty headcounts in 2025/26 and 2026/27 and inspect the groups and subjects associated with a department. This report calculates metrics from enrollment, learning plans, elective selections and [department workload](/en/docs/workload). To change source data, open the relevant module. ## Generate the report | Filter | Rule | Example | | --- | --- | --- | | Academic year | Required. Defaults to the current year, or the last chronological year when no current year is set. | 2026/27 | | Faculty | Optional. All includes faculties within the user's access. | Faculty of Informatics | | Academic department | Optional. A selected faculty limits departments to those associated with it in enrollment or workload data. | Information Technology Department | 1. On opening, the report automatically loads for the selected year. 2. Choose the faculty and department. Changing faculty clears a previously selected department if it is incompatible. 3. Click Apply. Calculations and Excel export use applied filters. Applying the same values again recalculates the report. 4. Reset returns the default year and All faculties/departments. 5. Use the card view switch to display data, bars or charts. The view changes the presentation of the same metrics. Applied filters are stored in the address. Opening a shared link validates values against available dictionaries. An unavailable faculty or department is cleared, and an unavailable year is replaced with the default. Faculty and department options are derived from scoped enrollment/workload data across years. An option in the filter does not guarantee results in the selected year. ## Interpret the metrics | Metric | Source and rule | | --- | --- | | Active students | Distinct student IDs from enrollment records. In the current academic year, active enrollment with active educational status counts, including students promoted to the next course even if their status year remains earlier. | | Students in past years | Distinct students with historical year statuses including active, transferred, course completed, restored and promoted to the next course. They need not be currently enrolled today. | | Groups | Distinct teaching groups from workloads with classroom hours. Regular, virtual, united, custom elective and elective educational-unit groups use their respective identities. Groups appearing across multiple report rows count once in the overall total. | | Subject registrations | Distinct student–registered-subject pairs matched to workload for the relevant academic year, course, term and plan. Mandatory subjects come from the learning plan; elective subjects come from saved student selections. | | Subjects | Distinct subject IDs in workloads with classroom hours. | Classroom workload is identified by positive planned weeks or a positive sum of assigned and additional teaching hours. If classroom teaching types have been configured, the corresponding types are required. If no type is classified as classroom yet, the positive-hours rule applies to the existing types. Norms or assessments without qualifying teaching hours do not increase these metrics by themselves. A subject's student count can include eligible regular-workload students matched by course, program, degree and study mode even without a matching subject registration. If there are no matched students, its row can fall back to a stored workload student count without counting the same group repeatedly. That fallback does not increase overall unique active students or create subject registrations. See [learning plans](/en/docs/learning-plans), [workload details](/en/docs/workload-details) and [virtual group students](/en/docs/virtual-group-students) for source preparation. ## Breakdowns | Table | Metrics | | --- | --- | | By academic year | Students, groups and registrations across all years with the same faculty and department filters; the selected year is highlighted. | | By department | Groups and subjects. Workload department may differ from the department recorded on an enrollment. | | By educational program | Students, groups and registrations; labels can include a classifier code and study mode. | | By faculty | Students, groups and registrations. | | By study mode | Students, groups and registrations. | | By degree level | Students, groups and registrations. | | By language of instruction | Groups and subjects by teaching workload language; missing language uses the institution's default when configured. | | By subject | Students in each subject and groups, followed by the sum across subjects and a separate unique-group count. | Only the year breakdown compares all years; the other breakdowns use the selected year. Missing labels appear as Unassigned. General table totals come from the overall selection rather than summing displayed rows. The subject table explicitly shows the sum across subjects and the unique-group total. **Example.** Three students in one regular teaching group attend mandatory Mathematics and Informatics. All six student–subject pairs match teaching workload, and both subjects use the same group. Overall totals are 3 unique students, 1 group and 6 subject registrations. Each subject row shows 3 students and 1 group. The subject-row sums are 6 student occurrences and 2 group occurrences; there is 1 unique group. Avoid adding subject rows together to obtain unique headcounts. ## Export Excel Click Export to Excel after loading the report. The file `student-summary-report.xlsx` uses a snapshot of the displayed calculation and its locale. The workbook includes applied filters, the three headline metrics, breakdown tables, explanatory notes and charts. Changing the screen's card view does not affect the workbook. This page has no separate PDF export. Report snapshots are retained for one hour. To incorporate changes to source data, apply the filters again before exporting. Export also checks the user's current permissions, so downloading a snapshot after access has been restricted can fail. Reload the report and export the current authorized selection. ## Permissions and scopes | Action | Permission | | --- | --- | | Open module and calculate report | `student-summary-report.index` in module `student-summary-report`. | | Filter dictionaries | `student-summary-report.dictionaries`, bound to the read permission. | | Export Excel | `student-summary-report.export-excel` together with read access. | The report supports faculty (`faculty`) and department (`department`) scopes. With restricted access, a record is included if its faculty **or** department is in the report permission's scope. Full access to both removes that restriction. Applied filters further narrow the authorized data. All does not imply institution-wide access for a scoped user. Export rechecks both read and export permissions and their scopes against source enrollments and workload scopes captured in the snapshot. Export access may be narrower than view access. ## Common issues - **Department missing from filters:** check the selected faculty, related enrollment/workload data and report scope. - **Student list differs from report:** compare academic year, faculty, department, scopes, active enrollment and statuses. Past-year counts use enrollment history. - **Missing groups or subjects:** inspect source workload, subjects, positive classroom hours and group assignments. Enrollment alone does not create teaching workload groups. - **Registrations lower than student counts by subject:** verify learning plan links, term, elective selections and matching workload. Subject counts may include eligible cohorts or stored counts without a registered pair. - **Row totals exceed overall totals:** a student or group can appear in multiple rows; use overall totals for distinct counts. - **Excel export fails:** check export permission and scopes; apply filters again and export the refreshed snapshot. ## Implementation references - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Reports/StudentSummary/index.tsx) - [service.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Reports/StudentSummary/service.ts) - [SummaryCard.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/components/SummaryCard/SummaryCard.tsx) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentSummaryReport/routes/api.php) - [StudentSummaryReportRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentSummaryReport/Http/Requests/StudentSummaryReportRequest.php) - [StudentSummaryReportController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentSummaryReport/Http/Controllers/StudentSummaryReportController.php) - [StudentSummaryReport.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentSummaryReport/Services/StudentSummaryReport.php) - [StudentSummaryExporter.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentSummaryReport/Services/StudentSummaryExporter.php) - [StudentSummaryWorkbook.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentSummaryReport/Services/StudentSummaryWorkbook.php) - [StudentSummaryReportTest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/tests/Feature/StudentSummaryReport/StudentSummaryReportTest.php) --- # Educational Institution Source: https://docs.kamoorj.com/en/docs/educational-institution ## Open the institution record Go to **Administration → Educational Institution** (`/educational-institute`). The page opens the first institution returned by the server. Saving an empty installation creates its first record. For an existing record, select Edit. Maintain branches, buildings, classrooms and equipment in [institution settings](/en/docs/institution-settings). ## Enter the institution details and translations 1. Choose the record language at the top. The system's default language opens first. Enter the official full name and abbreviation, then select a legal type. 2. Legal types come from a catalog. The initial data includes Foundation, State Non-profit Organization, Production Cooperative, State Enterprise, LLC, CJSC and OJSC. The selector displays types with a name in the selected language. If a type disappears when switching languages, check its translation. 3. Complete the address. The server requires a country and, for each submitted language, a name, abbreviation and street, each up to 255 characters. Region, city and building number are optional. 4. Save the current translation. Switch languages, confirm the switch and fill in the next version. Each save submits one translation along with the shared details. Name, abbreviation and street are language-specific. Phone numbers, website, legal type, city, building, time zone and logo are shared. ### Example in three languages | Language | Full name | Abbreviation | Street | | --- | --- | --- | --- | | Русский | Учебный университет Арарат | УУА | ул. Университетская | | English | Ararat Training University | ATU | University Street | | Հայերեն | Արարատ ուսումնական համալսարան | ԱՈւՀ | Համալսարանի փողոց | This example is for a training record. Use each language's official wording in production. All three versions can share Armenia as the country, the appropriate region and city from the catalog, building “12A” and the `Asia/Yerevan` time zone. ## Contacts and address Select a country code separately for the reception phone, additional phone and fax. For example, select `+374` and enter the local digits `10555010` in the adjacent field. Additional phone and fax can be blank. Enter the official website, contact email and state registration number where applicable. A sample contact email is `office@example.org`. Choose country, region and city in order. Changing country clears the region. Recheck the full address before saving. The city is a catalog entry, the street is free text in the selected language and the building is entered once. To add a missing city, use the [geographic catalog](/en/docs/geo-catalog). Older translations can retain a text city as a fallback. ## Upload or replace the logo In edit mode, choose an image. To replace an existing logo, first clear it in the form. Position and scale the crop, confirm it and check the thumbnail. Then save **the institution form**. Open the thumbnail for a larger preview. The form requires an image and converts the crop into a PNG. The upload validator accepts JPEG, PNG and SVG files up to and including 2 MiB and checks their actual file type. If saving fails, check the size of the submitted image after cropping. The database stores the file path. Files receive generated names on the `protected_uploads` disk under `educational_institutions`. Reading the protected logo requires permission to view the institution. Leave the existing image in place when updating other details. ## Effects of saving - The institution's translated full name and abbreviation are captured when a bulletin snapshot is created. The bulletin exporter fills the template fields `institution.name` and `institution.abbreviation` from that snapshot. Verify a new spelling in a bulletin with a fresh snapshot. Previously captured snapshots can show the earlier wording. - The time zone is applied by the application, returned in the user profile and used when determining dates such as semester transitions. Editing the record clears the cached institution time zone. The form uses `UTC` when no zone has been selected. - Reopen the record and select each language in turn. Check the name, abbreviation and street for each version, the shared logo and contacts, then inspect the relevant document template. ## Permissions and scopes The `educational-institution` module uses `educational-institutions.index` for reading. The first record uses `educational-institutions.store`. The update route `educational-institutions/update-info/{id}` is bound to the same write permission. These routes declare no faculty, department, profession or subject role scopes. Shared details apply to the whole institution. If the record opens read-only, check write permission and enter edit mode. For an empty legal type or address dropdown, check access to its catalog and translations. The settings button also depends on access to at least one of the branches, buildings, classrooms, classroom orientations or equipment catalogs. ## Implementation references - [container/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/EducationalInstitution/container/index.tsx) - [utils/instituteFormAdd.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/EducationalInstitution/utils/instituteFormAdd.ts) - [components/InstituteForms/components/InstituteUploadLogo/InstituteUploadLogo.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/EducationalInstitution/components/InstituteForms/components/InstituteUploadLogo/InstituteUploadLogo.tsx) - [components/InstituteForms/components/InstituteDetails/InstituteDetails.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/EducationalInstitution/components/InstituteForms/components/InstituteDetails/InstituteDetails.tsx) - [EducationalInstitution/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EducationalInstitution/routes/api.php) - [EducationalInstitution/Http/Requests/EducationalInstitutionRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EducationalInstitution/Http/Requests/EducationalInstitutionRequest.php) - [EducationalInstitution/Http/Services/EducationalInstitutionService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EducationalInstitution/Http/Services/EducationalInstitutionService.php) - [EducationalInstitution/Http/Repositories/EducationalInstitutionRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EducationalInstitution/Http/Repositories/EducationalInstitutionRepository.php) - [database/seeders/LegalTypeSeeder.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/database/seeders/LegalTypeSeeder.php) - [app/Support/ProtectedModuleFileAccess.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Support/ProtectedModuleFileAccess.php) - [app/Providers/AppServiceProvider.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Providers/AppServiceProvider.php) - [Bulletins/Services/BulletinSnapshotService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Bulletins/Services/BulletinSnapshotService.php) - [Bulletins/Services/BulletinExportService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Bulletins/Services/BulletinExportService.php) --- # Institution settings Source: https://docs.kamoorj.com/en/docs/institution-settings ## Where to configure the institution Open **Administration → Educational Institution → Settings** (`/educational-institute/settings`). The institution's general details are managed on the [educational institution page](/en/docs/educational-institution). Teaching locations use related directories. | Tab | Data | | --- | --- | | Branches | Addresses and contact information of campus branches. | | Buildings | Buildings with addresses and parent branches. | | Classroom Orientation | Room types or specializations. | | Classrooms | Individual rooms, floor, student capacity, teaching types and room orientations. | Equipment belongs to the expanded table of each classroom. Follow the [classrooms and equipment guide](/en/docs/institution-classrooms) to configure it. The interface remembers the selected tab in the browser session; a link with `tab=4` opens classrooms. Visible tabs depend on the user's permissions. ## Create a branch Open Branches and click Add. | Field | Example | Rule | | --- | --- | --- | | Name | Central Campus | Required translated name. | | Abbreviation | CC | Required translated value. | | Address | 10 Study Street, Yerevan | Required translated text. | | Phone code | +374 | Choose the international dialing code. | | Phone | 10123456 | Required numeric number without the already selected dialing code. | | Email | campus@example.com | Required; the form validates email format. | Branch and building addresses are text fields. The [country and city directory](/en/docs/geo-catalog) can be used to check geographical details, but the branch form has no separate relation to that directory. Complete translations as appropriate, for example Центральный кампус / ЦК and the translated address for Russian. Phone and email are shared across languages. The server checks duplicate names, abbreviations and addresses within a language. If a matching deleted item is reported, check the trash. Save, then find the branch by name, abbreviation, address, phone, code or email. Table filters support code, email and phone. Use the row edit action to change the record. Existing translations that are not changed in the form remain stored. ## Create a building 1. Create its parent branch first. 2. Open Buildings and click Add. 3. Enter “Teaching Building A”, abbreviation “A”, address “10 Study Street, Building A, Yerevan” and select Central Campus as the branch. 4. Complete translations and save. All four fields are required by the form. 5. Verify the building belongs to the intended branch. Search matches translated names, abbreviations and addresses. Where the branch filter is shown, use it to narrow the building list to one campus. A branch can contain multiple buildings. Changing a building's branch changes its relationship. Classroom records also store their own branch, so check the rooms of that building after a change. Matching address text does not establish a relationship. ## Create classroom orientations Open Classroom Orientation. Create a name and abbreviation in the relevant languages, for example Computer Laboratory / CL or Lecture Room / LR. Both fields are required by the form; the server accepts names up to 255 characters. This directory classifies the purpose of rooms. Multiple orientations can be selected in a classroom form. Creating an orientation does not create a room or assign equipment. Search uses names and abbreviations. ## Delete and restore Branches, buildings, orientations and classrooms have deleted-record lists. Use the row action to delete and the restore action in the trash to recover the record. If the server reports deleted data (`deleted_data_check`), locate the matching item and restore it if it represents the same entity. Review dependent directories before deleting. Buildings reference branches, classrooms reference buildings and branches, and schedules reference classrooms. Delete and restore operations act on individual records. Restoring a branch does not automatically restore every separately deleted building or classroom. ## Permissions and scopes | Tab | Module key | Permissions | | --- | --- | --- | | Branches | `branches` | `branches.index`, `branches.store`, `branches.update`, `branches.destroy`, `branches.deleted-items`, `branches.restore` | | Buildings | `buildings` | `buildings.index`, `buildings.store`, `buildings.update`, `buildings.destroy`, `buildings.deleted-items`, `buildings.restore` | | Classroom Orientation | `classroom-orientation` | `classroom-orientations.index`, `classroom-orientations.store`, `classroom-orientations.update`, `classroom-orientations.destroy`, `classroom-orientations.deleted-items`, `classroom-orientations.restore` | | Classrooms and equipment | `classrooms`, `classroom-equipments` | See [classrooms and equipment](/en/docs/institution-classrooms). | The Buildings tab also needs branch read access (`branches.index`) to select a parent branch. These institutional directories are shared; their routes declare no special faculty or department scopes. Access to a module does not automatically grant create, update, delete and restore actions. ## Common issues - **Tab missing:** check read permissions for the module and dependent directories. - **Branch cannot be saved:** inspect translations, duplicate names/addresses/abbreviations, dialing code, numeric phone and email. - **Cannot select a building's branch:** check branch read permission and an available record. - **No classroom orientations:** create appropriate types, then return to room configuration. - **Matching deleted record:** check the trash before creating a slightly renamed duplicate. ## Implementation references - [InstitutionsSettingsPages.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/EducationalInstitution/InstituteSettingsPages/App/InstitutionsSettingsPages.tsx) - [BranchesDescriptor.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/EducationalInstitution/InstituteSettingsPages/pages/Branches/BranchesDescriptor.ts) - [BranchPhoneWidget.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/EducationalInstitution/InstituteSettingsPages/pages/Branches/components/BranchPhoneWidget.tsx) - [BuildingsDescriptor.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/EducationalInstitution/InstituteSettingsPages/pages/Buildings/BuildingsDescriptor.ts) - [ClassroomOrientationDescriptor.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/EducationalInstitution/InstituteSettingsPages/pages/ClassroomOrientation/ClassroomOrientationDescriptor.ts) - [administrationRoutes.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/router/routes/administrationRoutes.ts) - [Branch/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Branch/routes/api.php) - [BranchRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Branch/Http/Requests/BranchRequest.php) - [BranchRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Branch/Http/Repositories/BranchRepository.php) - [Building/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Building/routes/api.php) - [BuildingRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Building/Http/Requests/BuildingRequest.php) - [BuildingRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Building/Http/Repositories/BuildingRepository.php) - [ClassroomOrientation/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ClassroomOrientation/routes/api.php) - [ClassroomOrientationRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ClassroomOrientation/Http/Requests/ClassroomOrientationRequest.php) - [ClassroomOrientationRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ClassroomOrientation/Http/Repositories/ClassroomOrientationRepository.php) --- # Classrooms and equipment Source: https://docs.kamoorj.com/en/docs/institution-classrooms ## Manage classrooms Open **Administration → Educational Institution → Settings → Classrooms** (`/educational-institute/settings?tab=4`). First create branches, buildings and orientations using [institution settings](/en/docs/institution-settings). Teaching format selection uses the teaching-type directory. A classroom is a physical venue that can be assigned in a timetable. Its record contains location, floor, student capacity, teaching types, orientations and nested equipment records. ## Create a classroom 1. Click Add on the Classrooms tab. 2. Fill the following fields. | Field | Example | Rule | | --- | --- | --- | | Name | A-204 | At least one nonempty translation, up to 255 characters each. | | Branch | Central Campus | Required existing record. | | Building | Teaching Building A | Required existing record. | | Teaching Format | Practical class, Laboratory class | Multiple teaching-type selection, required by the form. | | Classroom Orientation | Computer Laboratory | Multiple selection, required by the form. | | Floor | 2 | Required integer (stored as `tax`). | | Students | 24 | Required numeric value in the form, recording room capacity (stored as `students`). | 3. Enter other language versions where needed. The room number can be identical across languages, but classroom names must be unique within a language. Distinguish equal room numbers in different buildings with building prefixes, for example A-204 and B-204. 4. Select a branch and its corresponding building. The current form chooses the two independently, so verify their consistency yourself. 5. Save, find the classroom by name and check floor, capacity, types and location. The list includes room name, teaching format, branch/building, orientation, floor and student capacity. Search matches translated classroom names. A link with the `classroom_id` parameter restricts the table to that room. Reopen the tab without the parameter to see the complete list. ## Edit a classroom Open the row actions and choose Edit. You can change names, location, floor, capacity, teaching types and orientations. Saving submitted teaching-type and orientation lists replaces the prior relations. Names are created or updated per language. For example, remove Laboratory class from the teaching types if the room is no longer suitable for laboratory work, retain Practical class and save. The room keeps its ID. Review existing timetables after changing its building or capacity. Editing room attributes does not automatically relocate scheduled classes to a different physical room record or change enrolled student headcounts. ## Add equipment Equipment is a separate directory related to a specific classroom. There is no dedicated Classroom Equipments tab. 1. Find A-204. 2. Open its row action menu and choose the add-child action. With equipment read permission, expand the row to see its equipment subtable; it may be empty until equipment is added. 3. Enter Computer, code PC, and count 24. Add Russian Компьютер / PC and Armenian Համակարգիչ / PC names if needed. 4. Save and expand the classroom. Verify the new equipment row and count. 5. Add Projector / PRJ with count 1 in the same way. | Equipment field | Rule | | --- | --- | | Classroom | Automatically set to the selected room's ID. | | Name | At least one nonempty translation; maximum 100 characters per language on the server. | | Code | Translated field marked in the form; the server permits an empty value and limits it to 100 characters. | | Count | Required integer, at least 1. | The nested table shows name, code and count. Use the row edit action or edit form to change the count and translations. For example, after installing two more computers, change 24 to 26 and save. Changing equipment count does not by itself increase room capacity. If the room no longer has the equipment, use its row delete action after checking the record. ## Delete and restore Classrooms are soft deleted and can be restored in the classroom trash with the required permission. A deleted room with a matching name can cause a deleted-record conflict. After restoring a room, review its nested equipment and building/branch references. The equipment resource registers create, edit and delete actions, while separate trash and restoration endpoints are currently disabled. Equipment is soft deleted on the server, but the interface does not provide equipment recovery. Recreating a matching deleted name can produce `deleted_data_check`; contact an administrator before entering a new record in that case. ## Permissions and scopes | Action | Permission | | --- | --- | | Open classrooms tab | `classrooms.index` plus directory reads `branches.index`, `buildings.index`, `classroom-orientations.index`, `teaching-types.index`. | | Create/edit room | `classrooms.store`, `classrooms.update`. | | Delete room | `classrooms.destroy`. | | Classroom trash/restore | `classrooms.deleted-items`, `classrooms.restore`. | | Show equipment | `classroom-equipments.index`, checked separately by the interface. | | Create/edit/delete equipment | `classroom-equipments.store`, `classroom-equipments.update`, `classroom-equipments.destroy`. | The `classrooms` and `classroom-equipments` resource routes declare no special faculty, department or branch scopes. They are institution-level directories, while reading and editing equipment use separate permissions. Missing equipment read access hides the nested table. Room selection in a timetable uses that timetable's permissions. ## Common issues - **Room name already used:** check other buildings and deleted rooms. Active classroom names are unique within a language, including other buildings. - **Building or teaching type unavailable:** check the parent directories and read permissions. - **No add-equipment action or expand control:** check equipment creation/read permissions separately from classroom permissions. - **Equipment cannot be saved:** check nonempty names, length limits and integer count of at least 1. - **No equipment restore tab:** this operation is not registered in the current routes. - **Timetable cannot select a room:** verify an active classroom with the correct building and floor, and relevant timetable access. ## Implementation references - [container/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/EducationalInstitution/InstituteSettingsPages/pages/Classrooms/container/index.tsx) - [ClassroomsTable.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/EducationalInstitution/InstituteSettingsPages/pages/Classrooms/components/ClassroomsTable/App/ClassroomsTable.tsx) - [CreateClassroomsModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/EducationalInstitution/InstituteSettingsPages/pages/Classrooms/components/ClassroomsTable/components/CreateClassroomsModal/CreateClassroomsModal.tsx) - [CreateClassroomsBranchSelects.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/EducationalInstitution/InstituteSettingsPages/pages/Classrooms/components/ClassroomsTable/components/ClassroomsBranchSelects/CreateClassroomsBranchSelects.tsx) - [ClassroomsTeachingSelects.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/EducationalInstitution/InstituteSettingsPages/pages/Classrooms/components/ClassroomsTable/components/ClassroomsTeachingSelects/ClassroomsTeachingSelects.tsx) - [ClassroomChildForm/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/EducationalInstitution/InstituteSettingsPages/pages/Classrooms/components/ClassroomsChildTable/components/ClassroomChildForm/index.tsx) - [CreateClassroomsChildModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/EducationalInstitution/InstituteSettingsPages/pages/Classrooms/components/ClassroomsChildTable/components/CreateClassroomsChildModal/CreateClassroomsChildModal.tsx) - [ClassroomsChildTable.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/EducationalInstitution/InstituteSettingsPages/pages/Classrooms/components/ClassroomsChildTable/App/ClassroomsChildTable.tsx) - [Classroom/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Classroom/routes/api.php) - [ClassroomRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Classroom/Http/Requests/ClassroomRequest.php) - [ClassroomRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Classroom/Http/Repositories/ClassroomRepository.php) - [ClassroomService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Classroom/Http/Services/ClassroomService.php) - [ClassroomEquipment/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ClassroomEquipment/routes/api.php) - [ClassroomEquipmentRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ClassroomEquipment/Http/Requests/ClassroomEquipmentRequest.php) - [ClassroomEquipmentRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ClassroomEquipment/Http/Repositories/ClassroomEquipmentRepository.php) - [ClassroomEquipmentService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ClassroomEquipment/Http/Services/ClassroomEquipmentService.php) --- # Countries & Cities Directory Source: https://docs.kamoorj.com/en/docs/geo-catalog ## Purpose Open **Administration → Countries & Cities Directory** (`/geo-catalog`). This catalog maintains the country → region/state → city hierarchy. Its records are used in student, employee and [educational institution](/en/docs/educational-institution) addresses, and countries are also used for student citizenship. The page contains three linked tables. Selecting a country opens its regions. Selecting a region opens its cities. Selecting another country clears the previous region selection. ## Add a country Use the create action in the first table. | Field | Example | Rule | | --- | --- | --- | | Name | Армения / Armenia / Հայաստան | Translated name, up to 255 characters per language; at least one translation is required | | Code | AM | Required unique string, up to 10 characters | | Phone code | +374 | Optional string, up to 20 characters | Save the record. New countries are created with an enabled status. If a country already exists, find and edit it. The code must be unique, while the telephone code is stored as a string. ## Add a region and city 1. Find the country by name and select its row. 2. In the regions table, click Add, enter the name, such as Котайк / Kotayk / Կոտայք, and save. The country ID comes from the current selection. 3. Select the new region and add a city, such as Абовян / Abovyan / Աբովյան. The region is assigned from the current selection. 4. Select another country, then return. Check that the region and city appear under their intended parents. 5. When entering an address, choose the same country, region and city from the corresponding selectors. Region and city forms contain translated names. Every record requires an existing parent. These dialogs do not provide a parent-change field. Editing names preserves stored translations in other languages. ## Search and verification Each table supports search. Regions are selected within the chosen country and cities within the chosen region. If a record is missing, select the correct parent and clear the search. Editing a record's name preserves its ID, so existing address references remain connected to it. Creating a duplicate name does not move existing references to the new ID. ## Deletion and related data The delete action first checks record usage. The result determines which confirmation is available. | Condition | Behavior | | --- | --- | | Country has regions or region has cities | Deletion is blocked and the dialog can only be closed | | No children or external references | Confirmation deletes the record permanently | | No children, but external references exist | The dialog warns about permanent deletion; forced deletion clears the corresponding external fields | External references include student, employee and institutional addresses and, for countries, both student citizenship fields. Forced deletion clears references to the selected record and deletes it. Student and employee records remain, with affected fields empty. The server checks for child records again before deletion. For example, forcing deletion of a city used in two student addresses clears the city in those addresses. Correct spelling by editing the existing name. There is no deleted-items list for this catalog. ## Permissions and scopes The `geo-catalog` module declares no faculty, department or profession scopes. Each section has its own permission group. Region selection requires country access and region read permission; city selection additionally requires city read permission. | Action | API permission names per entity | | --- | --- | | List | `geo-catalog.countries.index`, `geo-catalog.regions.index`, `geo-catalog.cities.index` | | Create | `geo-catalog.{countries,regions,cities}.store` | | Edit | `geo-catalog.{countries,regions,cities}.update` | | Delete | `geo-catalog.{countries,regions,cities}.destroy` | | Check usage | `geo-catalog.{countries,regions,cities}.usage` | | Force delete | `geo-catalog.{countries,regions,cities}.force` | Braces represent three separate permission names. Interface permission groups use the prefixes `GeoCountry*`, `GeoRegion*` and `GeoCity*`, with TablePull, CreateAction, EditAction and DeleteAction suffixes. Usage checking and forced deletion have their own server routes. Verify their permissions separately when configuring deletion access. ## Troubleshooting - **Region or city table is empty.** Select its parent row and check read access to the child list. - **A country cannot be saved.** Verify code uniqueness and the required name. - **Deletion is blocked.** Check child records. Review related addresses and citizenship before confirming permanent deletion. - **A city is missing from an address selector.** Verify the country, region and translated name, then reopen the address form. ## Implementation references - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/GeoCatalog/container/index.tsx) - [GeoCountryDescriptor.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/GeoCatalog/descriptors/GeoCountryDescriptor.ts) - [GeoRegionService.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/GeoCatalog/services/GeoRegionService.ts) - [GeoCityService.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/GeoCatalog/services/GeoCityService.ts) - [useGeoDelete.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/GeoCatalog/components/useGeoDelete.tsx) - [permissionActionMap.json](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/public/permissionActionMap.json) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GeoCatalog/routes/api.php) - [StoreCountryCatalogRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GeoCatalog/Http/Requests/StoreCountryCatalogRequest.php) - [StoreRegionCatalogRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GeoCatalog/Http/Requests/StoreRegionCatalogRequest.php) - [StoreCityCatalogRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GeoCatalog/Http/Requests/StoreCityCatalogRequest.php) - [CountryCatalogService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GeoCatalog/Services/CountryCatalogService.php) - [GeoUsageGuardService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GeoCatalog/Services/GeoUsageGuardService.php) --- # Academic Newsletters Source: https://docs.kamoorj.com/en/docs/academic-newsletters ## Find a newsletter Open **Administration → Academic Newsletters** (`/academic-newsletters`). Staff publish announcements to the student portal and collect applications from existing students. For example, invite second-year students to a summer school. An application decision belongs to that announcement and has no effect on university admission. The list shows the title, audience, application window, publication status and either the application count or application status. Search for words from a title in any supplied language. Each search word must match a title translation. The newest records appear first, 20 per page. Available actions depend on permissions. ## Create or edit a newsletter 1. Choose create (`/academic-newsletters/new`) or edit (`/academic-newsletters/:id/edit`). On the EN, HY and RU tabs, enter a title (up to 255 characters) and description (up to 100,000). Complete at least one language. Every language you start needs both fields. Empty tabs are skipped. 2. Choose a title colour. Reset restores `#253858` across all translations. 3. Choose the audience. Enable applications if students need to register. With applications disabled, students can read the announcement. 4. Check the text, audience and form **before saving for the first time**. Saving creates a published newsletter. To hide it, use the unpublish action in the list and confirm. Republishing restores access for eligible students. The application window controls when students can submit the form. Creating a newsletter or changing it from unpublished to published queues an `academic_news` notification for activated portal accounts in its audience. The dispatcher skips a duplicate with the same event signature. Editing a published newsletter or deciding an application does not trigger this notification. ## Select the audience All active students saves the newsletter without audience restrictions. With this switch off, select at least one value. The eight filters are educational degree, learning format, faculty, profession, department, academic year, term (1 or 2) and year of study. Any selected value within a filter qualifies. All populated filters must match **one enrollment record**. Check that the newsletter is published and that the student has an enabled, visible educational status of type active. The student, enrollment, status and profession records must be present and undeleted. Faculty comes from the profession, while academic year, term and year of study come from the educational status. Criteria matching different parallel programmes do not combine. [Student cohort](/en/docs/student-cohort) ## Set dates and build the form - Both dates are optional and inclusive. The end must be on or after the start. The application status is `not_started` before the start, `open` during the window and `closed` after the end. Leaving both blank keeps applications open while enabled. Disabling applications sets `view_only`. The server uses calendar dates in the application time zone. - An optional HTTP(S) URL of up to 2,048 characters opens separately in the portal. To appear in the administration list, a student must submit the built-in application. Opening the external form does not create a record here. - Add up to 50 fields. Choose short text, long text, number, date, dropdown, single-choice radio or file. Dropdown and radio fields require 1–100 options. Older forms can retain multiple-choice lists. Each field and option needs a label in at least one language, up to 255 characters. Missing label translations inherit the first available one. - Mark mandatory fields, move them up or down and preview the form. For attachments, choose among PDF, JPG/JPEG, PNG, WebP, DOC/DOCX, XLS/XLSX, TXT and CSV. PDF is selected initially. The server sets a 10 MiB per-file limit on saved forms. It checks both file extension and content type. - Each save of an existing newsletter increments its form version. If a student has an older version open, ask them to reopen the newsletter and fill in the current form. Each student may submit one built-in application per newsletter. Existing applications retain a snapshot of their questions and options. ## Review applications Click the application count (`/academic-newsletters/:id/applicants`). The link appears when applications are enabled and you have viewing rights. Filter by Submitted, Accepted or Rejected. The list shows the student's name, email, submission time and status. Open a record to read answers against the original form, open permitted attachments and see the decision date and comment. Accept or reject a submitted application. An individual decision can include a comment of up to 10,000 characters. For a bulk decision, select submitted applications on the current page. Each decision is saved separately with an empty comment. If one fails, refresh the list to see which rows are still submitted. Decisions are final. In the portal the student can see their status and submitted answers. ## Permissions and data scopes The list, audience options and newsletter detail require `academic-newsletters.index`. Creation requires `.store` and editing or changing publication requires `.update` under the same prefix. The applications list, detail and attachment download use `academic-newsletters.applications.index`. Accepting or rejecting requires `academic-newsletters.applications.decide`. The administration routes declare no organisational `data_scope`. Selecting a faculty in the audience restricts recipients in the student portal. ## Summer school example Create “Data Analysis Summer School”. Select the intended faculty and year of study 2. Enable applications from 1 May through 15 May of the same year. Add a required long-text motivation question and an optional PDF attachment. Save. An eligible student can submit through 15 May. From 16 May the published announcement remains visible and applications are closed. Open the applicants list and accept the selected application. ## Implementation references - [frontend-edusystems · administrationRoutes.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/router/routes/administrationRoutes.ts) - [frontend-edusystems · container.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/AcademicNewsletters/container.tsx) - [frontend-edusystems · Editor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/AcademicNewsletters/Editor.tsx) - [frontend-edusystems · editorUtils.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/AcademicNewsletters/editorUtils.ts) - [frontend-edusystems · Applicants.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/AcademicNewsletters/Applicants.tsx) - [frontend-edusystems · AcademicNewsPage.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/students/src/features/academic-news/AcademicNewsPage.tsx) - [backend-edusystems · api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicNewsletters/routes/api.php) - [backend-edusystems · SaveNewsletterRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicNewsletters/Http/Requests/SaveNewsletterRequest.php) - [backend-edusystems · NewsletterData.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicNewsletters/Services/NewsletterData.php) - [backend-edusystems · NewsletterAudience.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicNewsletters/Services/NewsletterAudience.php) - [backend-edusystems · NewsletterReader.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicNewsletters/Services/NewsletterReader.php) - [backend-edusystems · NewsletterService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicNewsletters/Services/NewsletterService.php) - [backend-edusystems · DecideApplicationRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicNewsletters/Http/Requests/DecideApplicationRequest.php) - [backend-edusystems · StudentNotificationDispatcher.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Notifications/Services/StudentNotificationDispatcher.php) - [student_back · NewsletterApplicationService.php](https://gitlab.kamoorj.com/development/student_back/-/blob/47411d0c32014e88319015ad8bb06d2b4ad1bbfb/app/Modules/AcademicNewsletters/Services/NewsletterApplicationService.php) --- # Permissions and scopes Source: https://docs.kamoorj.com/en/docs/role-permissions ## Purpose and access Open **Administration → Permissions** (`/permissions`). The permissions action in a [role catalog](/en/docs/roles) row also opens this page with that role selected. Administrators configure specific module actions for an entire role here. A change affects all its holders. Assigning a role and organizational object to an individual user is performed in the user's access record or employee work record. ## Interface 1. Select the role from the role tree. A label beside its name may show the affiliation type. Wait for existing permissions to load. 2. Use the module tree at the top to filter one or more sections. Clear the filter to see all sections. 3. Expand modules and submodules. The list shows available actions and scope types. Each action's checkbox indicates whether its permission is granted. 4. Show only granted limits the tree to granted actions for review. The display filter does not remove other settings. 5. Group checkboxes manage whole modules or submodules, and scope switches change supported action scopes. For working roles, select individual required operations. ## Action permission and data scope Permission answers two separate questions: whether the role may perform an operation and which records it may work with. | Setting | Meaning | | --- | --- | | Unchecked | The action is not granted to this role. | | Checked | The action is granted, for example view, create, edit, delete or export. | | Partial (`own`) | On a supported affiliation type, restrict the action to the objects assigned to the role holder. | | Full (`all`) | The action is not restricted by the holder's organizational affiliation. Other requirements of the specific module still apply. | For a scoped role, Partial/Full is available for a granted action supporting the role's scope type. For example, workload supports department scope, while learning plans support faculty and profession. If an action does not support the relevant scope type, the corresponding scope choice is not offered. Do not grant it when its actual coverage exceeds the employee's duties. Role affiliation is configured on the Roles page. The specific affiliation object must be correctly specified when assigning the role. The system provides these scope types: | Scope | Object | Assignment example | | --- | --- | --- | | `faculty` | Faculty | Academic coordinator of the Computer Science faculty | | `profession` | Profession | Computer Science program coordinator | | `department` | Department | Mathematics Department workload coordinator | | `subject` | Subject | Coordinator of a particular subject | Effective permissions and scopes account for all user assignments, including roles associated with employment records. Staff with multiple roles may have a combined set of capabilities. Profession and subject hierarchies are taken into account, so verify access to parent and subordinate records. Test the employee's actual set of assignments. ## Configuration examples ### Faculty coordinator with read-only access 1. Create a separate faculty-affiliated role and assign it to a test employee with a specified faculty. 2. In permissions, find **Learning Management → Learning Plan** and grant list and detail viewing. Choose Partial. 3. Leave create, edit, delete and export off if they are outside the duties. Review required data dependencies. 4. Save and sign in as the test employee. The [learning plan list](/en/docs/learning-plans) should show plans within the faculty. Verify that editing is unavailable and records of unrelated faculties are inaccessible. ### Department workload coordinator Create a department-affiliated role and specify the department when assigning it. For [department workload](/en/docs/workload), grant required viewing actions with partial scope. If the employee allocates hours, add necessary educator-assignment create/update actions in Lesson Allocation, and relevant norm-assignment actions when required. Review approval, recalculation, recalculation exclusion, exports and deletion as separate permissions. Test that the employee handles their department only, accounting for approval status restrictions. ## Dependencies and scope consistency Forms and modules may rely on other screens and directories. For example, creating a learning plan uses academic years, degrees, learning formats and professions. On selecting an action, the interface may also grant related viewing actions, including navigation to parent submodules. Missing external dependencies appear in tooltips and the warning indicator. 1. Open the warning and inspect missing dependencies. 2. Grant only required dependencies and choose Partial if supported and suitable. Permissions granted as dependencies are visually marked. 3. Review scope mismatches, such as partial viewing combined with a broader editing scope. Check each action and align its scope with authorized responsibilities. 4. After removing the original permission, review whether any dependencies are now unnecessary. The system tracks dependency links; independently granted permissions and dependencies required by other actions may remain. ## Save and verify Save records the selected role's granted actions and scopes. Unchecking an action removes that grant from the saved set. After saving, permissions are reloaded. Cancel restores unsaved changes to the initial state. Before saving, verify the selected role. Clear the module filter, enable Show only granted and compare the actions with assigned responsibilities. Coordinate updates to shared roles with the responsible administrator. Verify using a separate employee account with the intended assignments. Sign in again and check modules, work objects, allowed controls, and that unrelated operations are unavailable. If an expected section is absent, check its read permission, dependencies, role assignment and scope. If access is broader than intended, check other roles held and Full action scopes. ## Page permissions The `permissions` module declares no organizational scope on its administration routes. The scopes shown in this interface belong to the configured role and individual work action. | Administrator action | Permission | | --- | --- | | Read a role's permissions | `role-route-permission.index` (PermissionsPull) | | Save settings | `role-route-permission.upsert` (PermissionsUpsertAction) | Grant permission management exclusively to administrators responsible for system access. ## Implementation references - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/Permissions/container/index.tsx) - [PermissionsSelects.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/Permissions/components/PermissionSelects/PermissionsSelects.tsx) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/Permissions/components/PermissionsModules/index.tsx) - [ModuleItem.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/Permissions/components/ModuleItem/ModuleItem.tsx) - [RouteAction.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/Permissions/components/ModuleItem/RouteAction.tsx) - [MissingDepsBadge.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/Permissions/components/MissingDepsBadge/MissingDepsBadge.tsx) - [PermissionsFooter.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/Permissions/components/PermissionsFooter/PermissionsFooter.tsx) - [selector.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/Permissions/store/selector.ts) - [permissionsSlice.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/Permissions/store/permissionsSlice.ts) - [permissionActionMap.json](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/public/permissionActionMap.json) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/RoleRoutePermission/routes/api.php) - [RouteDataScopeTypes.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/RoleRoutePermission/Enums/RouteDataScopeTypes.php) - [RoleScopesTypes.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Roles/Enums/RoleScopesTypes.php) - [PermissionScopeService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Roles/Services/PermissionScopeService.php) - [RoutePermissionResolver.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Route/Services/RoutePermissionResolver.php) --- # Roles Source: https://docs.kamoorj.com/en/docs/roles ## Purpose Open **Administration → Roles** (`/role`). A role represents a user's or employee's function in the system, whether it can be used in registration and staffing, and its affiliation type. Specific actions available to role holders are configured separately in [permissions](/en/docs/role-permissions). Start by defining actual responsibilities. For example, a faculty office employee may work with learning plans of their faculty, while a department coordinator handles their department's workload. Define roles for coherent sets of duties. ## List The table displays the role's name in the current language, status, academic-position and registration flags, registration type, affiliation, last update date and a link to permissions. Use name search and pagination. Users with edit access can change the status, position and registration switches directly in the row. The regular catalog contains system and custom roles. A system role with a permanent system code cannot be deleted. The special SuperAdmin role is excluded from this catalog. ## Create a role 1. Click Add. 2. Enter the role name in the language tabs. At least one nonempty translation is required. Use a clear, unique name to distinguish roles. 3. Review the fields. | Field | Meaning | | --- | --- | | Academic position | Whether this role is used in staffing position records. An employment record using such a role requires a position. | | Registration allowed | Whether the role is used in registration scenarios. Enable only where the institution expects that registration path. | | Registration type | The form offers registration without documents, with the applicant's own documents or with another person's documents. The form requires a choice if registration is enabled. | | Affiliation / scope | One of four organizational scope types: faculty, profession, department or subject. This may be empty for a genuinely institution-wide role. | | Status | The catalog record's state. | The creation form initially enables academic position and registration. Check the switches rather than unintentionally making an internal staff role available for an unrelated registration scenario. After editing the registration type, reopen the role and verify the persisted value. An administrator should verify document requirements before enabling user registration. 4. Click Save. Creating a role alone does not grant users module access. 5. Open the new role's permissions and grant the necessary actions. Assign the role to a test user or employee through user access management or the employee's work record. ## Affiliation types | Type | Meaning | | --- | --- | | `faculty` | Faculty | | `profession` | Profession | | `department` | Academic department | | `subject` | Subject | Affiliation on a role determines the scope type. The specific object, such as the Faculty of Computer Science or Mathematics Department, is selected when assigning the role. Object restrictions apply to actions supporting that scope type with partial access selected. See [permissions](/en/docs/role-permissions). ### Example internal role | Field | Value | | --- | --- | | Name | Faculty academic coordinator | | Academic position | Off if not used as a staffing position | | Registration allowed | Off for internal assignment | | Affiliation | Faculty | | Status | Active | Select the specific faculty when assigning this role. In permissions, grant access to view the faculty's learning plans; include editing only if it is part of the employee's duties. ## Edit an existing role Use row edit to change translations and fields. Take particular care changing affiliation, as it affects existing assignments and action scopes. On adding affiliation to a previously unscoped role, the server sets partial scope for existing granted actions supporting that type. Changing or removing existing affiliation triggers a check of user assignments and employee work records. If there are linked records, the system warns of the consequences. A confirmed scope change may clear previously selected affiliation objects from related assignments. Prepare a list of affected assignments and coordinate the transition before applying it. Afterwards, inspect them, specify the correct objects again and verify actual access. Cancel a change that has not been planned. For a new type of responsibility, consider creating a separate role and testing the new assignment before migrating existing staff. ## Delete and restore Custom roles can be moved to Trash. When there are assignments, the system warns about the numbers of linked users and employee work records. Before confirming, identify the staff using the role and arrange replacements if necessary. To revoke access, do not rely on the status switch alone: remove unnecessary assignments or permissions and verify the result. Use the Trash button to view deleted records and the restore action to recover a role. After restoring, check its flags, permissions and assignments. Restoration of a directory record should be included in the effective access review. ## Role administration permissions The `roles` catalog routes declare no faculty, profession, department or subject scopes. The affiliation of the role being created is a separate record property. | Operation | Permission | | --- | --- | | View list | `roles.index` | | Create | `roles.store` | | Edit | `roles.update` | | Delete | `roles.destroy` | | Trash | `roles.deleted-items` | | Restore | `roles.restore` | | Open permission settings | `role-route-permission.index`; saving requires `role-route-permission.upsert` | Verify access using an employee account assigned the new role. Ensure the employee can see their working objects and perform only intended actions, while unrelated objects and actions are unavailable. If a required module is missing, check permissions, scope, role assignment and record status. ## Implementation references - [Roles.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/Role/components/RolePages/Roles/App/Roles.tsx) - [RolesTable.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/Role/components/RolePages/Roles/components/RolesTable/App/RolesTable.tsx) - [CreateRolesModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/Role/components/RolePages/Roles/components/RolesTable/components/CreateRolesModal/CreateRolesModal.tsx) - [EditRolesModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/Role/components/RolePages/Roles/components/RolesTable/components/EditRolesModal/EditRolesModal.tsx) - [RoleFormItems.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/Role/components/RolePages/Roles/components/RolesTable/components/RoleFormItems/RoleFormItems.tsx) - [RoleFormItems.consts.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/Role/components/RolePages/Roles/components/RolesTable/components/RoleFormItems/RoleFormItems.consts.ts) - [RolesLastDateColumns.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/Role/components/RolePages/Roles/components/RolesTable/columns/components/RolesLastDateColumns.tsx) - [RolesSwitchColumns.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/Role/components/RolePages/Roles/components/RolesTable/columns/components/RolesSwitchColumns.tsx) - [permissionActionMap.json](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/public/permissionActionMap.json) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Roles/routes/api.php) - [CreateUpdateRoleRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Roles/Http/Requests/CreateUpdateRoleRequest.php) - [Role.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Roles/Models/Role.php) - [RoleService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Roles/Services/RoleService.php) - [RoleScopesTypes.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Roles/Enums/RoleScopesTypes.php) - [EmployeeWorkRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Http/Requests/EmployeeWorkRequest.php) --- # Registration Document Rules Source: https://docs.kamoorj.com/en/docs/registration-document-rules ## Purpose Open **Administration → Registration Document Rules** (`/registration/rules`). This directory stores parameters for registration document types: name, value type, synchronization flag, registration requirement, upload requirement and changeability. The current implementation supports creating, editing, deleting and restoring directory records with their parameters. The reviewed registration and document-upload code does not automatically consume these rules. For example, enabling Upload required saves the flag, but does not by itself add an upload field to registration or prevent registration without a file. The guide explains each parameter's intended meaning and verified behavior. ## Initial document types The standard seed data includes four records. | Document | System slug | Synchronization | Registration required | Upload required | Status / changeable | | --- | --- | --- | --- | --- | --- | | Social Card | `social-card` | Yes | Yes | Yes | Yes | | Passport | `passport` | No | Yes | Yes | Yes | | Drivers licence | `drivers-licence` | No | Yes | Yes | Yes | | ID Card | `id-card` | No | Yes | Yes | Yes | All four start with field type `text` in the database. An institution's actual values may differ after administrative edits. There is no system-slug field in the form. ## Rule fields Click Add or open an existing rule for editing. | Field | Meaning | Verified behavior | | --- | --- | --- | | Name | User-facing document type name. | At least one translation is required, up to 255 characters each; language code up to 10 characters. | | Field type | Intended type of document number or other value. | The selector offers Numeric, String and Date. Saving sends the selected string. Creation requires a nonempty value of up to 20 characters. This directory does not validate the document number/date itself. | | Document synchronization (`synchronization`) | Flag for intended document synchronization. | Stored as a boolean. Saving a rule does not initiate a synchronization operation. | | Registration required (`registration_required`) | Whether recording document information is intended to be mandatory. | Stored independently. This module does not automatically validate mandatory student or user registration documents in the current implementation. | | Upload required (`upload_required`) | Whether a document file is intended to be mandatory. | Stored independently of the previous setting. There is no file attachment in the rule form, and this directory does not perform upload validation. | | Status (`changeable`) | Whether document changes are intended to be allowed. | The displayed switch stores `changeable`, rather than record deletion or active/inactive state. Turning it off does not remove the rule or lock directory editing. | All four switches are independent. Creation requires boolean values for each; the backend declares no cross-field conditions. Until a consumer applies these rules in a registration process, these combinations are directory configuration. Set them according to institutional requirements and verify actual enforcement in the relevant process. The seeded value `text` is not among the current selector's three options. Treat existing `text` as a stored value. If changing the type, choose an available option and verify the saved row. ## Example Suppose the institution needs a new document type, Student identifier. The intended requirement is to record its value while leaving a scan optional. 1. Open the directory and click Add. 2. Enter Student identifier, Russian Студенческий идентификатор and Armenian Ուսանողի նույնացուցիչ. 3. Select String, since the identifier may have letters or leading zeroes. 4. Enable Registration required, disable Upload required and Document synchronization, and enable Status if changes are intended to be allowed. 5. Save. Verify the displayed name, String type and flag values No / Yes / No / Yes. 6. Reopen Edit to add another translation when needed. The result is a saved directory rule. It does not create an individual student's document or automatically change existing user records. To verify enforcement during admission or registration, open that process and examine its available fields and validations. ## Edit, search and recover The table displays name, field type and four flags. Use row actions for edit and delete. The server's table filter catalog supports field type and each boolean parameter, and searches names and field types. Available search/filter controls depend on the shared table UI. Editing a translation updates or adds the language row without changing the rule ID. Unsubmitted language versions remain stored. Review all four flags when editing other fields. Deletion moves the rule to the trash. Restore returns the same record with translations. To change intended changeability, use Status; deletion is a separate operation. For a seeded rule, edit the existing record rather than adding another with the same name. A translated name is a display label, not the system ID, and the server declares no global name-uniqueness rule. ## Permissions and scope | Action | Permission | | --- | --- | | Open module and read | Module `registration-document-rules`, action `registration-document-rules.index`. | | Create | `registration-document-rules.store`. | | Update | `registration-document-rules.update`. | | Delete | `registration-document-rules.destroy`. | | Trash | `registration-document-rules.deleted-items`. | | Restore | `registration-document-rules.restore`. | This is a shared system directory. Its routes declare no faculty, profession or department scope. Permission to edit a rule does not authorize editing another user's personal documents. Manage individual action access in [roles](/en/docs/roles). ## Common issues - **Rule cannot be saved:** check a nonempty name in at least one language, length limits and a selected field type. All four switches must have boolean values, including false. - **Document type missing:** check the directory and trash; restoration retains the old ID. - **Add, edit or restore unavailable:** check the individual action rights. - **Changing flags has no effect on registration:** the current implementation stores the rules, but consumer enforcement in other processes is unverified. Check the deployed version and relevant registration form. - **Saving did not synchronize documents:** the switch stores a rule parameter rather than triggering document retrieval or exchange. ## Implementation references - [RegistrationDocumentsDescriptor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/RegistrationDocsRules/RegistrationDocumentsDescriptor.tsx) - [RegistrationDocumentsService.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/RegistrationDocsRules/RegistrationDocumentsService.ts) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/RegistrationDocsRules/container/index.tsx) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/RegistrationDocumentRule/routes/api.php) - [StoreRegistrationDocumentRuleRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/RegistrationDocumentRule/Requests/StoreRegistrationDocumentRuleRequest.php) - [UpdateRegistrationDocumentRuleRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/RegistrationDocumentRule/Requests/UpdateRegistrationDocumentRuleRequest.php) - [RegistrationDocumentRuleService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/RegistrationDocumentRule/Services/RegistrationDocumentRuleService.php) - [RegistrationDocumentRuleTableRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/RegistrationDocumentRule/Repositories/RegistrationDocumentRuleTableRepository.php) - [RegistrationDocumentRuleRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/RegistrationDocumentRule/Repositories/RegistrationDocumentRuleRepository.php) - [RegistrationDocumentRule.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/RegistrationDocumentRule/Models/RegistrationDocumentRule.php) - [Seeder: RegistrationDocumentRule.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/database/seeders/RegistrationDocumentRule.php) - [RegistrationDocumentRuleApiTest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/tests/Feature/RegistrationDocumentRule/RegistrationDocumentRuleApiTest.php) --- # Users Access Control Source: https://docs.kamoorj.com/en/docs/user-access-control ## Find an account Open **Administration → Users Access Control** (`/user-access-control`). The Users tab shows the name, email, roles, status and linked employee. Search for part of the first and last name in that order, or the email address. Search is case-insensitive. The initial page size is 10, with sizes of 20, 50 and 100 also supported. If an HR link opened the list with `?id=`, choose All to clear the user filter. ## Approve a pending account The Pending tab displays the name, email and status of accounts with status 0. Previously deactivated accounts also meet this condition. Verify the address and the reason for granting access before approving the row. Approval changes status 0 to 1. You cannot approve your own account or a super administrator this way. If the row is still visible, refresh and check its status on the Users tab. The tab requests the newest 20 records and does not request additional pages or send a search term. For an older record, search by email on the Users tab. Approving an account and assigning a role are separate actions. ## Invite an employee or link an existing account If there is no account, open the HR employee list. Select Send invitation for the employee with a contact email, verify the address and confirm. HR invitations require `employees.invite`. The link is valid for one day. Registered employees and employees with a current invitation are skipped. For a current invitation, check the original email. An expired invitation can be sent again. Bulk sending returns the sent and skipped addresses separately. For an existing account, choose the employee-link action in the user's row menu. Enter at least two characters. The dialog returns up to ten employees per search. Refine the query if the intended employee is missing. Check the full name and contact email. Choose Attach for an available record. An employee already linked to a user shows that user's details and cannot be attached twice. To correct a link, check both records and detach the employee from the previous account first. Detaching clears the employee association and turns off use of the employee's photo. The API also supports a direct invitation with first name, last name, unique email and roles. This administration page has no direct-invitation button. For self-registration, the role specifies one of three modes — no documents, the applicant's own documents, or the applicant's and a second person's documents. Registration request statuses (pending, accepted, rejected and suspended) track the request. The Pending tab lists user accounts. ## Assign a role and scope 1. Open the role and scope action for the user. Main roles and scopes inherited from employment records are read-only. If an employment role or scope is marked deleted, inspect the employee's work record. 2. Add an assignment and select a role. The role definition determines its scope type. The editor supports **faculty, department, profession and subject**. For a scoped role, choose a record from the corresponding directory. Changing the role clears the previous scope. An unscoped role needs no selection. Branch has no separate selector here. [Roles](/en/docs/roles) 3. Save the assignment. The same user, role and scope combination must be unique. To grant a second scope, add a second assignment. An existing direct assignment can be edited or removed. The protected super administrator role is managed separately. 4. Check the intended action in the target module. The scope specifies the assigned entity, and the role's permissions determine available actions. [Role permissions](/en/docs/role-permissions) ## Change status or close access The Users tab distinguishes inactive (0), active (1), rejected (2) and super administrator (5). To enable an ordinary inactive or rejected account, choose activate and confirm. For an active account choose deactivate. Deactivation saves status 0, revokes access tokens and queues an email. Activation from the main list also sends an email. Deactivation allows access to be restored when an employee returns. Deletion is a separate super administrator action. Check the email in the confirmation dialog. You cannot delete yourself or another super administrator. Confirmation marks the account deleted, revokes tokens and removes sessions and password reset records. This page offers no restore action. ## Permissions and example The tabs use `users.index` and `pending.index` respectively. Pending approval uses `pending.activate`. The main list uses `users.activate` and `users.deactivate` for status changes. Employee linking and unlinking require `users.attach-employee` or `users.detach-employee` and employee-list access. Direct role assignments use `user-access-role.role-management` and the role, faculty, department, profession and subject directories. The delete route is `users.destroy` and the server checks super administrator status. The user-list routes declare no organisational `data_scope`. For example, a mathematics department employee needs access to their department. Find the account by work email, link the corresponding employee record and check roles already inherited from their employment. If the required role is missing, assign the approved department-scoped role and choose Mathematics. Verify the saved assignment and the actions available to the user in the target module. ## Implementation references - [frontend-edusystems · src/pages/Administration/UserAccessControl/components/UserAccessTabPages/UserAccessTabPages.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/UserAccessControl/components/UserAccessTabPages/UserAccessTabPages.tsx) - [frontend-edusystems · src/pages/Administration/UserAccessControl/components/UserTable/App/UsersTable.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/UserAccessControl/components/UserTable/App/UsersTable.tsx) - [frontend-edusystems · src/pages/Administration/UserAccessControl/components/PendingUserTable/columns/App/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/UserAccessControl/components/PendingUserTable/columns/App/index.tsx) - [frontend-edusystems · src/pages/Administration/UserAccessControl/components/AttachEmployeeModal/AttachEmployeeModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/UserAccessControl/components/AttachEmployeeModal/AttachEmployeeModal.tsx) - [frontend-edusystems · src/pages/Administration/UserAccessControl/components/AssignRoleUser/AssignRoleDynamicForm.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/UserAccessControl/components/AssignRoleUser/AssignRoleDynamicForm.tsx) - [frontend-edusystems · src/pages/Administration/UserAccessControl/store/thunk.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/UserAccessControl/store/thunk.ts) - [frontend-edusystems · src/pages/HR/Employees/container/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/container/index.tsx) - [backend-edusystems · api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/routes/api.php) - [backend-edusystems · Controllers/UserController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Http/Controllers/UserController.php) - [backend-edusystems · Authentication/Enums/RegistrationType.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Authentication/Enums/RegistrationType.php) - [backend-edusystems · Employees/Services/EmployeeInviteService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Services/EmployeeInviteService.php) - [backend-edusystems · UserAccessControl/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/UserAccessControl/routes/api.php) - [backend-edusystems · UserAccessControl/Http/Requests/Roles/AttachUserRoleFormRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/UserAccessControl/Http/Requests/Roles/AttachUserRoleFormRequest.php) - [backend-edusystems · UserAccessControl/Http/Requests/InvitationFormRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/UserAccessControl/Http/Requests/InvitationFormRequest.php) - [backend-edusystems · UserAccessControl/Services/UserAccessControlService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/UserAccessControl/Services/UserAccessControlService.php) - [backend-edusystems · UserAccessControl/Services/UserAdministrationService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/UserAccessControl/Services/UserAdministrationService.php) --- # Approval flows Source: https://docs.kamoorj.com/en/docs/approval-flows ## Purpose Open **Administration → Status Confirmation Management** (`/status-confirmation-management`) to configure a sequence of roles responsible for approving an operational record. For example, a learning plan can pass through a dean’s office and academic administration. This is not the student status catalog or the user permissions editor. Cards display a module name, number of confirmation steps and supported organizational scope types. Select a card to open `/status-confirmation-management/:slug`. A configuration applies to the whole object type, not a separate flow for every faculty. This editor does not offer separate rules for dates, faculties, courses or student counts, or branching workflows. ## Modules and scopes Cards represent the system’s supported object types, including learning plans (`learning-plan`), department workload (`chair-workload`), baseline data (`baseline-data`), schedules (`lesson-schedule`), student work, dismissal, course and profession transfers, course completion and archiving, archived student employment, journal day changes, bulletins, appeals, bulletin expression trees and the three types of bulletin templates. | Module | Object scope | | --- | --- | | [Learning plans](/en/docs/learning-plans) | `faculty`, `profession` | | [Department workload](/en/docs/workload-details) | `department` | | [Baseline data](/en/docs/baseline-data) | None | | Lesson schedule | `faculty`, `profession` | Refer to each card's badges for the model's available dimensions. They are not step settings. A reviewer’s role assignment and applicable object scope matter. A department appointment is not a substitute for the intended faculty appointment on a learning plan; a scope dimension not present on an object does not restrict it on that dimension. Verify access for the actual organizational assignments used in the module. ## Step editor 1. Open the relevant module card. The header shows the current number of steps and scopes. 2. Switch to editing mode. 3. Add a step. It appears at the end with the next number. Select a role from the options; use View All when there are more than five. 4. Select another step to inspect or replace its role. Each step has one role, and the same role ID cannot appear twice in the sequence. 5. To delete a step, use Delete and confirm. The remaining steps are renumbered. Removing a step only takes effect when saving the whole configuration. 6. Save. A step without a selected role disables saving. Cancel restores the last loaded configuration. Roles come from the [role catalog](/en/docs/roles). Configure operational privileges in [role permissions](/en/docs/role-permissions). Adding a role to an approval step does not grant its holders ordinary module permissions. The editor has no individual employee selector, separate scope selector per step or parallel approval rule. ### Example: learning plan | Position | Example role | Expected responsibility | | --- | --- | --- | | 1 | Dean | Verify the learning plan for their faculty | | 2 | Academic administration officer | Review completeness and academic requirements | | 3 | Vice-rector | Final approval | Use existing suitable roles or create them, appoint active users, grant necessary module viewing and approval permissions and verify applicable scope assignments. Open a test [learning plan](/en/docs/learning-plan-details), inspect the first approver, then verify the next step after approval. After all steps the process becomes approved. For department workload, verify appointment to the relevant department instead. ## What happens when the flow changes - Saving the first sequence creates a configuration version. If at least one process has been fully approved through the current version, saving creates a new version; otherwise the existing version may be edited in place. - Pending processes migrate to the current version. If the roles at completed positions are unchanged, progress is retained; otherwise the process returns to step one. Processes genuinely approved through a flow remain on their original version. - Introducing a flow can create pending processes for existing records that had none. Saving a non-empty flow also promotes formerly automatically approved, zero-step processes to waiting for approval. - New records created without a flow have no approval process. Saving an empty sequence removes the configured flow and marks previously pending processes approved without completed steps. This affects operational records immediately. Do not remove the final step without the institution’s decision. Before changing a flow, check active process counts in [version history](/en/docs/approval-process-history). ## Access | Administrative action | Permission | | --- | --- | | View cards and flow | `approval-flows.index`, `approval-flows.show` (detail view bound to list permission) | | Edit | `approval-flows.upsert`, `roles.index` | | View history | `approval-flows.history`, `approval-processes.show` | The administrative configuration has no organizational record filter of its own. Scopes relate to the records being approved. Ordinary operations on the record and approval process actions have separate authorization requirements. ## Troubleshooting an unavailable approval action Check the current step on the record, user role, correct organizational assignment, validity of staff appointments, permissions in the operational module and eligibility under the record’s business rules. A role offered in the editor does not guarantee that an eligible person currently holds it. Verify the result using a separate operational account. Do not grant unnecessary privileges to resolve a missing assignment. ## Related guides - [Version and approval action history](/en/docs/approval-process-history) - [Roles](/en/docs/roles) - [Permissions](/en/docs/role-permissions) ## Implementation references - [Step editor](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/StatusConfirmationManagement/components/StatusConfirmationItem/container/index.tsx) - [Module cards](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/StatusConfirmationManagement/components/StatusConfirmationCard.tsx) - [Permission groups](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/StatusConfirmationManagement/store/thunk.ts) - [Module registry](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ApprovalFlow/Enums/ApprovableModuleSlug.php) - [Role options and scopes](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ApprovalFlow/Http/Resources/ApprovalFlowDetailResource.php) - [Flow version lifecycle](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ApprovalFlow/Services/ApprovalFlowService.php) - [Approver assignments](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ApprovalFlow/Services/ApproverResolverService.php) - [Step validation](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ApprovalFlow/Http/Requests/ApprovalFlowRequest.php) - [Administrative routes](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ApprovalFlow/routes/api.php) --- # Approval history Source: https://docs.kamoorj.com/en/docs/approval-process-history ## Two different kinds of history - `/status-confirmation-management/:slug/history`: versions of a module’s overall sequence of roles, opened using History in the [approval flow editor](/en/docs/approval-flows). - `/approval-processes/:processId/history`: approval actions on a specific operational record, opened from its status controls, for example a [learning plan](/en/docs/learning-plan-details) or [department workload](/en/docs/workload-details). The ID identifies the process, not the plan or department. ## Configuration history Each version card displays a version number, creation date, creator, current-version badge, number of pending (active) and approved processes, and the ordered roles. Versions appear newest first. Counts represent processes currently referring to each version. This is not an audit log of every edit: before a version has completed an approval, it can be edited in place. The page is for reading, not restoring old configurations. Back returns to the editor. ### Example Version 1 is Dean → Academic administration. Two plans have been fully approved. Changing the sequence to Dean → Vice-rector creates version 2. Completed plans retain version 1; an unfinished plan that passed the dean remains at step two when the first role is unchanged. If the first role is changed, unfinished approval returns to step one. ## Process history The table displays action, step number, user, role, note, attachment (downloadable where available) and date. Actions appear newest first, with pagination. This is an approval activity log, not a complete record of changes to every subject or workload row. | Action | Meaning | | --- | --- | | `approve` | Confirms the current step; the last approval completes the process. | | `rollback` | Returns to a selected earlier step on the same version. | | `reset` | Restarts at step one on the current flow version. | | `system_reset` | Automatic reset when a domain-defined condition requires it. | | `change_request_submit` | A change request was submitted. | | `change_request_approve`, `change_request_reject` | A decision was made on a change request. | An earlier approval entry remains after returning to a previous step. Its existence does not mean that the current step has already been approved. Check the record’s live approval state. Process states are pending and approved; change requests and their decisions have their own history. ## Return and repeat approval In the operational record’s approval controls, an authorized current approver can return the process to a previous position or reset it. For a fully approved process, authorization to reopen it is checked against the last role. Domain-specific conditions can prevent these operations even when the role is correct. Enter the reason and optionally attach a file when rolling back or resetting. For example, an academic administration officer identifies a credit allocation error, returns the plan to the first step, identifies the affected subject in the reason and waits for correction and renewed approval. Check the record’s live status after the decision. ## Permissions and scopes Viewing a flow and its configuration history requires `approval-flows.index` / `approval-flows.show` and `approval-flows.history`. Process history uses `approval-processes.show` together with the corresponding module’s history operation. The server also checks process participation: its creator, a user who has recorded an action, an eligible role holder for a step of the process version with applicable scope, or an authorized super administrator. Attachments also require authorization. Operational permissions for the learning plan or workload do not replace these process requirements. If the log is empty or unavailable, verify that the process exists (a new record may have none if no flow is configured), relevant permissions, role assignment and relationship to the record. An empty log is not proof of completed approval. ## Related guides - [Configuring approval flows](/en/docs/approval-flows) - [Learning plans](/en/docs/learning-plan-details) - [Department workload](/en/docs/workload-details) ## Implementation references - [Configuration history](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/StatusConfirmationManagement/components/History/FlowConfigHistory.tsx) - [Process action history](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/StatusConfirmationManagement/components/History/ProcessHistory.tsx) - [Version history](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ApprovalFlow/Http/Controllers/ApprovalFlowHistoryController.php) - [Process activity and attachments](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ApprovalFlow/Http/Controllers/ApprovalHistoryController.php) - [Approval and reset lifecycle](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ApprovalFlow/Services/ApprovalProcessService.php) - [Action types](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ApprovalFlow/Enums/ApprovalActionType.php) --- # Action history Source: https://docs.kamoorj.com/en/docs/action-history ## Current page status Action History corresponds to `/action-history` in the administrative interface. In the current version it displays **Module Under Construction**. | Feature | Page behavior | | --- | --- | | System-wide user action feed | Currently unavailable. | | User, date or object filters | No controls. | | Before-and-after change inspection | No records table or viewer. | | Export or print | Unavailable. | | Event editing or deletion | No actions. | Opening the page does not change any data. The construction notice is expected in this version and does not represent an empty event list. ## Where to inspect history today For a particular record, use the available object-specific histories. - In a [learning plan](/en/docs/learning-plan-details) or [workload details](/en/docs/workload-details), open the approval details when an approval process exists. Depending on the available history, they show the steps, process action history and content change history for that specific process. - In approval management, the selected approval flow has its own history page, using the `approval-flows.history` permission. - A student-work application has an Action history button in its details. It opens a paginated modal with event type, user ID and time for that application. Reading this history is bound to `student-work.index` and follows the respective module's data access scopes. **Example.** A coordinator needs to determine whether a learning plan changed after approval. Open the relevant plan and inspect its approval process, action history and content changes. For another record, inspect that record's history. The general construction page cannot establish whether any changes occurred. ## Permissions and scopes The general page currently has no server-side history action family, history permission form or record-specific scopes. Histories within other modules are controlled by each module's own record and action permissions. When a staff member needs a particular history, identify the module and read action and check the [role permissions](/en/docs/role-permissions). Approval history requires an existing approval process, and the underlying record retains the educational module's access restrictions. The general page does not grant access to any of those histories. ## When information is missing - **Module Under Construction appears:** this is the current state of the general page; use the specific object's history. - **No approval history in a record:** check whether an approval process exists and its details are available to your role. - **Application history will not open:** verify application read access and the applicable data scope. - **A different event must be investigated:** provide the administrator or support team with the object, approximate time and observed problem. This page cannot export a general history. ## Implementation references - [ActionHistory/container/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ActionHistory/container/index.tsx) - [UnderConstruction.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/components/UnderConstruction/UnderConstruction.tsx) - [administrationRoutes.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/router/routes/administrationRoutes.ts) - [ApprovalStatus.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/components/ApprovalStatus/ApprovalStatus.tsx) - [ApplicationDetails.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/StudentsManagement/StudentWork/ApplicationDetails.tsx) - [ApprovalFlow/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ApprovalFlow/routes/api.php) - [StudentWork/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentWork/routes/api.php) --- # Password expiration Source: https://docs.kamoorj.com/en/docs/password-expiration ## Current password management status Two password expiration pages are present in the administrative interface. They do not yet provide bulk password-changing operations. | Page | Current result | | --- | --- | | `/expire-all-passwords` (Expire All Passwords) | Displays only ExpireAllPasswords. | | `/expire/all-password` | Displays Module Under Construction. | Neither page offers user selection, an expiration period, a password form, a bulk action or confirmation dialog. Opening them does not change passwords, sign users out or send notifications. No bulk expiration server operation, action permission family or data scope has been implemented for these pages. The related Password Policies page (`/password/policies`) also displays a construction notice. It currently cannot change password complexity or expiration rules. ## Available account actions ### Change your own password A user who knows their current password can change it from their personal profile information page, using its password tab. 1. Sign in normally and open your profile. 2. Select the password tab and enter the current password, new password and confirmation. 3. Follow the form's password checks, then click Save. 4. Verify the success message. The server checks the current password, and the confirmation must match the new password. An incorrect current password prevents the operation. If the user has forgotten it, use account recovery. ### Recover access From the sign-in page choose Forgot password, enter the email address of your own account and request an email. Follow the official recovery email and set the new password through the reset form. Do not share your password, recovery email or reset link. ### Own sessions and administrative account access The sessions section of your profile lists active sessions and permits ending other selected sessions when needed. The current session is identified and cannot be revoked through this action. Ending another session requires confirmation. An administrator who needs to restrict an employee's access uses [user access control](/en/docs/user-access-control). Users with the relevant administrative permissions have the available account status and role-assignment actions. Status management and password changes are separate operations; disabling an account does not set a new password. ## Administrative example An employee cannot remember their password. - Verify that they use the correct institution account. - Direct them to account recovery through the sign-in page and their own email. - When access should be restricted, an authorized administrator checks account status and roles in user access control. - After account recovery, the employee signs in with the new password and reviews their sessions if needed. The bulk-expiration pages currently provide no mass operation. Refer institution-wide password expiration requirements to the system administrator for an assessment of supported administrative tools. ## Permissions and scopes Changing one's password and managing one's sessions belong to the authenticated user's personal cabinet. Recovery uses the standard verification procedure for the user's own account. These actions are not scoped by faculty or department. Administrative actions on other accounts follow the `user-access-control` module's permissions and each action's requirements. See [roles](/en/docs/roles) and [user access control](/en/docs/user-access-control). This bulk-expiration area currently has no dedicated operation permission. ## Common issues - **Only text or a construction notice:** the bulk-expiration pages are not implemented yet. - **Own password change fails:** check the current password and new-password confirmation. Use recovery for a forgotten password. - **Recovery email missing:** check the entered address and mail receipt, then contact official support. - **Administrative account action unavailable:** verify user access permissions and that action's restrictions. ## Implementation references - [ExpireAllPasswords/container/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ExpireAllPasswords/container/index.tsx) - [ExpireAllPassword/container/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Settings/ExpireAllPassword/container/index.tsx) - [PasswordPolicies/container/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Settings/PasswordPolicies/container/index.tsx) - [administrationRoutes.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/router/routes/administrationRoutes.ts) - [ProfileInfo.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Profile/components/ProfileInfo/ProfileInfo.tsx) - [ProfileSessions.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Profile/components/ProfileSessions/ProfileSessions.tsx) - [ForgotPassword.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Auth/components/ForgotPassword/ForgotPassword.tsx) - [ProfileSettingsController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Authentication/Http/Controllers/Profile/ProfileSettingsController.php) - [SessionController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Authentication/Http/Controllers/Profile/SessionController.php) --- # Data Bank Source: https://docs.kamoorj.com/en/docs/data-bank ## Find a resource Open **Administration → Data Bank** (`/data-bank`). An entry contains translated titles and descriptions, a category, recipient roles and attached files. The table shows the name, category, description, file count, roles and active indicator. Search matches translated titles and descriptions. Filters include category, roles, activity and last notification date. An email link with `focus_id` opens the corresponding entry when access is available. ## Set up categories Open the bank settings (`/data-bank/settings`) and choose Categories. Add a category, for example “Regulations”. Enter a name in at least one configured language. Each supplied name is required, is limited to 255 characters and must be unique in its language, including names of deleted categories. A category's slug is generated automatically and retained when renamed. If a name is already taken, check the list and its trash. Category search matches names and slugs. You can edit, soft-delete and restore categories. A deleted category is removed from the list of choices for new entries. Existing materials stay in the bank. Edit an entry to assign another category or restore the original category. ## Create and edit an entry 1. Choose the create action. The tabs show the institution's configured languages, with the default language first. Enter at least one translation. Every tab you start needs a title of up to 255 characters. Each optional description is limited to 250 characters. 2. Select a category or leave it empty. Select at least one role. For an ordinary user, the list, detail and trash show active entries sharing at least one of their roles. Super administrators can also see inactive entries and entries assigned to other roles. Role matching does not compare faculties or departments. [Roles and scopes](/en/docs/roles) 3. Optionally select local files and check the staged list. Attachments are shared across translations. The editor has no import field for a URL, Moodle or a cloud drive. A text-only entry is valid. The bank accepts uploads of up to 20 MiB each and its validator has no extension allowlist. 4. Save and check the file count in the list. Creation and editing send `is_active=true`. There is no separate active switch in the form. The tick in the notification column indicates an active entry. The time of the last notification is tracked in `notified_at`. The editor saves the text and roles first, then uploads the newly selected files in a separate request. If an upload fails, find the existing entry and add the missing files through Edit. This avoids creating a second copy of the entry. ## Download or remove an attachment Click the file count, choose the filename and download it to view its contents. The dialog shows name and size and offers no inline preview. Files are kept on the protected disk `protected_uploads` in the entry's directory. The server checks access, the entry–file association and the existence of the file. If you receive a 404, refresh the entry and check whether the attachment is still present. To discard a staged upload, remove it from the list before saving. Confirming removal of an existing attachment in the editor sends a separate request and deletes its file. Cancelling the editor cannot restore that file. Deleting the entire entry sends it to the trash. Restoring the entry brings back its remaining attachments. ## Notify recipients Select one or more entries and choose Send notification. Review the displayed roles, enter a subject of up to 255 characters and a nonempty message. In-app delivery (the notification bell) is selected initially. You can add email or select email alone. At least one channel is required. The system processes each selected entry separately. It resolves recipients from direct assignments to the selected roles in `user_roles`. A person matching two roles receives one notification per entry. Email delivery requires an address. If no eligible recipient is found, the previous notification date is retained. The bulk result counts successfully processed entries and errors. It does not confirm individual email delivery. ## Permissions and example The interface uses `entries.index`, `entries.show`, `entries.store`, `entries.update`, `entries.destroy`, `entries.deleted-items` and `entries.restore`. Upload, download, file removal and notification have separate permissions, respectively `data-bank.entries.attachments.upload`, `data-bank.entries.attachments.download`, `data-bank.entries.delete-attachment` and `data-bank.entries.notify`. Settings require the `data-bank-categories` module and the relevant `categories.index/store/update/destroy/deleted-items/restore` actions. The routes declare no organisational `data_scope`. [Role permissions](/en/docs/role-permissions) For example, create “Resit procedure” under Regulations, attach the current PDF and select the Dean role. Verify the title and download the file from the list. Select the entry and notify recipients of the effective date. If someone cannot see the material, check their module access, the entry's activity and their role assignment. ## Implementation references - [frontend-edusystems · container/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/DataBank/container/index.tsx) - [frontend-edusystems · App/DataBankTable.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/DataBank/components/DataBankTable/App/DataBankTable.tsx) - [frontend-edusystems · DataBankEntryModal/DataBankEntryModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/DataBank/components/DataBankTable/components/DataBankEntryModal/DataBankEntryModal.tsx) - [frontend-edusystems · AttachedFilesViewerModal/AttachedFilesViewerModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/DataBank/components/DataBankTable/components/AttachedFilesViewerModal/AttachedFilesViewerModal.tsx) - [frontend-edusystems · SendNotificationModal/SendNotificationModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/DataBank/components/DataBankTable/components/SendNotificationModal/SendNotificationModal.tsx) - [frontend-edusystems · Categories/CategoriesDescriptor.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/DataBank/DataBankSettingsPages/Categories/CategoriesDescriptor.ts) - [frontend-edusystems · store/thunk.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/DataBank/store/thunk.ts) - [backend-edusystems · routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/DataBank/routes/api.php) - [backend-edusystems · Requests/StoreDataBankEntryRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/DataBank/Http/Requests/StoreDataBankEntryRequest.php) - [backend-edusystems · Requests/DataBankCategoryRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/DataBank/Http/Requests/DataBankCategoryRequest.php) - [backend-edusystems · Repositories/DataBankEntryRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/DataBank/Repositories/DataBankEntryRepository.php) - [backend-edusystems · Services/DataBankEntryService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/DataBank/Services/DataBankEntryService.php) - [backend-edusystems · Services/DataBankCategoryService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/DataBank/Services/DataBankCategoryService.php) - [backend-edusystems · Controllers/DataBankEntryController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/DataBank/Http/Controllers/DataBankEntryController.php) - [backend-edusystems · Services/DataBankNotificationService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/DataBank/Services/DataBankNotificationService.php) - [backend-edusystems · Notifications/DataBankEntryNotification.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/DataBank/Notifications/DataBankEntryNotification.php) --- # Export Templates Source: https://docs.kamoorj.com/en/docs/export-templates ## Purpose Open **Administration → Export Templates** (`/export-templates`) for the shared library of upper and lower document sections used in PDF/XLSX exports. Define reusable branding, institutional details, dates, lines and signatures for multiple modules. This library differs from [content export templates](/en/docs/content-export-templates), which define the exported document or table contents. Certificate and graduation document templates also have their own settings. ## Tabs and cards - **Headers** (`header`) — the upper part of an export. - **Footers** (`footer`) — the lower part. The tabs are independent and displayed only if the user can read the corresponding library. A card shows its name, status, last modification date (when supplied) and permitted actions. If no name is available, it displays the record ID. Use All / Active / Draft / Archived to filter cards. Filtering operates on the received list; there is no pagination control and the page requests up to 100 records of the selected kind. ## Creating and editing 1. Open the required tab. 2. Click Add. 3. In the [editor](/en/docs/export-template-editor), enter a localized name, add the contents and save. 4. Return to the library, inspect the status and check the layout. 5. Click Activate when the template is ready. For an existing card, the ellipsis menu contains Edit and Delete according to your permissions. Deletion requires confirmation. Archive a template instead of deleting it if it may be needed again. ## Status and use | Status | Meaning | Transitions in the list | | --- | --- | --- | | `draft` | Default for a newly created template; unavailable for export | Activate | | `active` | Available for export selection | Archive | | `archived` | Excluded from available exports | Activate or return to draft | Saving the layout and activating it are separate actions. Activation does not create a copy or a separately approved version: it updates the current template status. Editing an existing active partial changes what will be used in future exports. ### How a header or footer is selected - An explicit selection in the export form takes precedence. - For a content export with no explicit selection, the module's default header/footer (`export_header_partial_id` / `export_footer_partial_id`) may apply. Not set means no default. - For ordinary tabular exports, no default is applied automatically. Select a partial explicitly or export without one. - Explicitly choosing an inactive, deleted or incorrect-kind partial results in an unusable-partial error. If a previously assigned default is unavailable, the export proceeds without it. ### Example Create an institutional letterhead and a footer named Rector signature and date. Activate both, then select them in the export form, for example for a student list or a supported content document. Verify the result in each required format and language. For content exports where the letterhead should appear automatically, configure it as the relevant module's default. ## Permissions and scopes These libraries are global, not scoped to a faculty, department or profession. Header and footer privileges are independent. In [role permissions](/en/docs/role-permissions), the relevant modules are `export-header-templates` and `export-footer-templates`. | Action | Permission IDs for each kind | | --- | --- | | Read list, record, variable catalog and media | `*.index` | | Create, edit and change status | `*.store`, bound `*.update` | | Delete | `*.destroy` (server binds to `*.store`) | Here `*` means the appropriate kind. Permission to generate a particular export is configured separately in its own module. Editing the library does not grant access to personal records in an export. ## Troubleshooting Check the partial type, active status, list filter and library viewing permission. If a default disappears from the output after archiving, check the module setting and select an active replacement. If displayed institutional details are wrong, check [institution settings](/en/docs/educational-institution) and the template variables. ## Related guides - [Export partial editor](/en/docs/export-template-editor) - [Content export templates](/en/docs/content-export-templates) ## Implementation references - [Header and footer tabs](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ExportTemplates/container/index.tsx) - [Library filters and state changes](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ExportTemplates/components/ExportTemplateList.tsx) - [Permission groups](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ExportTemplates/ExportTemplatesService.ts) - [Library and permission bindings](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ExportTemplates/routes/api.php) - [Template lifecycle](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ExportTemplates/Services/ExportPartialService.php) - [Export selection precedence](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Services/Export/ExportPartialResolver.php) - [Default options](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ExportTemplates/Services/ExportPartialOptionProvider.php) --- # Export template editor Source: https://docs.kamoorj.com/en/docs/export-template-editor ## Purpose and entry Open `/export-templates/editor/:id?kind=header` or `?kind=footer` to edit a particular partial. Adding from the [library](/en/docs/export-templates) uses `new` in place of the ID. The library tab determines the kind, not the editor. To simplify editing, the partial appears as the body of a single preview sheet, but only its sections are saved. It does not define an entire document or the formats of future exports. ## Working with the layout 1. In the template properties, enter a multilingual name, such as «Шапка вуза / University letterhead / Բուհի վերնագիր». At least one nonempty translation is required. Set a background color or image if needed. 2. Insert a row with one, two or three columns. Add blocks from the palette to its cells. 3. Select a block, cell or row in the preview to change properties in the inspector. Duplicate or remove individual elements. The toolbar supports undo and redo. 4. Add and format variables in the text editor. Verify literal translations and preview language. 5. Save. If layout validation fails, correct the indicated elements. Return to the list to activate the newly saved template. The preview in this mode is schematic, not linked to a particular student or learning plan. Real-record preview and version comparison are hidden. Verify final output using a test export. ## Partial elements | Element | Purpose | | --- | --- | | Rich text and variables | Titles, institutional details and labels | | Image | For example an approved logo | | Table | Static grid for institutional details | | Date | Current date with the selected format | | Signature | Signature area | | Divider, spacer, group | Layout and visual separation | | Input and select | Dynamic elements available from the shared editor | A partial has no student or employee subject and its sections cannot bind to datasets (`binding.source = none`). The module's dynamic content table is hidden. Student/employee photos and performance summaries are also unavailable in this export palette. Use a corresponding content export template for data linked to particular records. ## Variables The global partial catalog is deliberately limited because the same partial can serve multiple modules. | Key | Output | | --- | --- | | `university.name` | Institution name | | `university.abbreviation` | Abbreviation | | `university.address` | Address | | `university.website` | Website | | `university.email` | Email address | | `university.phone` | Phone number | | `employee.by_role_scope` | Name of employee selected by role | | `role.name` | Name of the selected role | | `signatory.attribute` | Signatory detail: position, position abbreviation, academic position, department, scientific degree or title | Institution details come from the [institution record](/en/docs/educational-institution). Signatory variables require selecting a role (`role_id`); the signatory detail variable additionally requires an attribute. The role name is translated from the [role catalog](/en/docs/roles), independently of whether an employee is found. Legacy separate signatory attribute keys remain supported for existing templates; the new palette uses the unified setting. ### Signatory Select a role and, if necessary, pin an employee from the available candidates. A global partial has no record subject, so global role assignments matter in ordinary global exports. If an employee is not pinned and a role has several eligible holders, the export form can request a signatory selection. Use the same role and consistent employee selection to ensure the name and attributes refer to the same person. These printed details are not an electronic signature. ## Example Create a three-column header: approved logo on the left, `university.name` and `university.address` in the center, `university.website` and `university.phone` on the right. In a footer, add a date, signature area, Rector role name, the employee variable for that role and a position attribute. Preview every language and check long names and addresses. Save the header and footer separately and activate them in their respective lists. Generate a test PDF and XLSX in the intended operational module and verify the image, text wrapping, institutional details and selected signatory. ## Limits and access Saving requires creation or editing permissions for the corresponding partial kind. Uploading and deleting media requires the appropriate kind's rights. The editor has no organizational scopes. Status is managed in the list, not through a separate publish-version button in the editor. The server validates the partial layout, including allowed variables and binding sources. The global editor creates partials in the `generic` context; other application workflows can create contextual partials. An existing partial's context is immutable because it defines valid variables. Do not insert arbitrary module data keys into a global partial. ## Related guides - [Header and footer library](/en/docs/export-templates) - [Content export templates](/en/docs/content-export-templates) ## Implementation references - [Partial editor entry](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ExportTemplates/Editor/index.tsx) - [Global partial adapter](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ExportTemplates/exportPartialAdapter.ts) - [Editor layout mapping](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ContentExportTemplates/partialTemplateAdapter.ts) - [Editor behavior](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/features/documentBuilder/editor/index.tsx) - [Block palette](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/features/documentBuilder/model/palette.ts) - [Creation validation](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ExportTemplates/Http/Requests/StoreExportPartialRequest.php) - [Variable catalog](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ExportTemplates/Services/ExportVariableCatalog.php) - [Signatory selection](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ExportTemplates/Services/ExportSignatoryPickService.php) - [Layout validation](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ExportTemplates/Services/ExportPartialService.php) --- # Module Export Builder Source: https://docs.kamoorj.com/en/docs/content-export-templates # Module Export Builder ## Purpose and navigation **Administration → Module Export Builder**, `/content-export-templates`. Create PDF and Excel (XLSX) layouts for particular educational modules. A template controls formatting, columns, additional data and sheets; it does not alter academic plans, workload or grades. Staff run everyday exports from the source module. Each card shows the module, number of templates and whether a default is configured. Open it to go to `/content-export-templates/:moduleKey`. The catalog is language-dependent. | Module | Template key | |---|---| | Student work | `student-work` | | Learning plan | `learning-plan` | | Workload | `workload` | | Lecturer workload | `lecturer-workload` | | Department workload | `department-workload` | | Lesson schedule | `lesson-schedule` | | Baseline data | `baseline-data` | | Academic process schedule | `process-schedule` | | Course assessment criteria | `course-assessment-criteria` | | Grade book | `grade-book` | Department and individual lecturer workload have independent template libraries despite sharing source data and a settings screen. ## List and creation Switch between list and cards. Each template shows name, ID, last update information, applicability, status, default/system badges, history, duplication and permitted actions. Three local applicability filters are available: all; universal (neither degree nor format); by entity (degree and/or format). The last includes only scoped templates: an unset part matches any value. Options come from the loaded templates. Clearing restores all. This filter does not affect actual export selection. Select Add or a starter: blank document or official form. Blank requires a name and opens the editor. Official duplicates an existing non-archived system template (default preferred); unavailable if none exists. Copy asks for a name and opens an independent draft. It is not default; recheck applicability because server duplication does not carry over degree and format. See [template editor](/en/docs/content-export-template-editor). ## Lifecycle | Status | Use | |---|---| | Draft (`draft`) | Preparation or checking; not available for ordinary export. | | Active (`active`) | Eligible for export; activation from the list validates and asks for confirmation. | | Archived (`archived`) | Excluded from normal export; not deleted. | Only an active template may be default. Making it default validates and requests confirmation; the previous default loses that flag. A default cannot be archived or deleted. Archive a non-default before deleting it, or use Archive and delete (two requests; a partial failure can leave it archived). Deletion is soft; the server supports restoring as a draft. Archiving is not the same as the deleted-items bin. ## Applicability and export selection The educational degree and learning format in template properties are **applicability, not role scopes**. Unset criteria are wildcards. For sources that declare record applicability (plan, baseline data, process schedule, lesson schedule, criteria, grade book), active forms are matched without an explicit choice: both fields > one > universal. Within the best specificity the default resolves ambiguity; otherwise a selection is needed. Explicit choices are checked for module and active status. The source export module setting `choose` lets users select (default); `default_only` hides selection and requires a designated default on the general resolution path. In default-only mode a submitted ID cannot override the module default. Record applicability is resolved before this general path in the server service, so test each operational scenario after changing modes. With ordinary mode and no implicit suitable template, the legacy export remains available. Explicit templates conflict with most legacy column/header/footer overrides (the system curriculum has a separate column exception). Student work selects its own template in the source; a mismatched ID is rejected. Selection settings do not grant access to records. ## Settings and libraries The module settings button opens `/content-export-templates/:moduleKey/settings`: header/footer tabs, usage counts and expandable linked templates, add, edit and delete (an in-use partial cannot be deleted). See [reusable headers and footers](/en/docs/content-export-partials). The separately controlled block library is available from its own button: [shared blocks](/en/docs/content-export-snippets). Before editing a shared object, check its usages. ## Permissions and example `ContentExportTemplatesTablePull` covers the catalog, forms, variables, history and preview; the same prefix with `CreateAction` covers creation/copy, `EditAction` modification, validation, status and default, and `DeleteAction` deletion. Settings use independent `ContentExportTemplateSettings` permissions; blocks use `ContentExportSnippets`. Template CRUD itself has no Faculty/Profession/Department scope; record preview and signatory candidate lookup use Faculty, Profession, Department according to the actual model's declared restrictions. Editor rights do not replace export rights in the source module. See [permissions](/en/docs/role-permissions). **Example.** Open Learning plan, duplicate the official form as “Bachelor — full-time”, set degree and format in the editor, configure the table and header, check PDF and XLSX with an accessible full-time plan, save and activate from the list. Do not make it default without checking other applicability combinations. Test the actual export from [learning plan details](/en/docs/learning-plan-details). ## Troubleshooting - No templates: clear the filter, check catalog loading and read permission. - Official starter unavailable: no eligible system starter; use blank or copy an existing form. - Cannot delete: switch the default if needed, then archive and confirm. - 409 conflict: reload the list and check the current version before repeating. - Wrong export layout: verify active status, record applicability, selection mode, source data and export settings. Do not publish an untested form. ## Verified source files - [container/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ContentExportTemplates/container/index.tsx) - [ModuleTemplates/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ContentExportTemplates/ModuleTemplates/index.tsx) - [ScopeFilter.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ContentExportTemplates/ModuleTemplates/ScopeFilter.tsx) - [StarterScenarios.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ContentExportTemplates/ModuleTemplates/StarterScenarios.tsx) - [Settings/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ContentExportTemplates/Settings/index.tsx) - [ContentExportModule.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/Enums/ContentExportModule.php) - [ContentExportTemplateService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/Services/ContentExportTemplateService.php) - [ContentExportTemplateMode.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/Enums/ContentExportTemplateMode.php) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/routes/api.php) - [ContentExportService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExport/Services/ContentExportService.php) --- # Document editor Source: https://docs.kamoorj.com/en/docs/content-export-template-editor # Content export template editor ## Open and navigate **Administration → Module Export Builder → module → template**, `/content-export-templates/:moduleKey/editor/:id` (`new` for a new form). This is a document editor, not an editor of source records. Start from the [template library](/en/docs/content-export-templates) to select the correct source. The title bar contains Back, save indicator, name, language (RU/EN/HY), history and Save. | Ribbon | Purpose | |---|---| | Home | Undo/redo, clipboard, fonts, size, emphasis, alignment, lists, find/replace, text formatting. | | Insert | Tables, pictures, variables, shared blocks, other elements and document properties. Type `/` in text to open insertion commands. | | Layout | Paper (A3, A4, A5, Letter), orientation, margins, borders, page color, breaks, selected block spacing. Unimplemented commands such as line numbers are disabled. | | View | View mode, zoom, workspace appearance and real document preview. | The settings sidebar depends on selection: document, sheet, block, variable or repeating group. Changing an option is not saving to the server. ## Document and sheet properties - Name appears in the title bar (at least one nonempty translation, up to 255 characters). Switch language to enter names, descriptions, text and labels; translation is not automatic. - Status and default flag concern the document; educational degree and learning format define applicability. Empty criteria are universal. A default must be active. - Form settings (presenter options) come from the specific module. Do not invent missing fields. The Approval date switch adds export input `export.approval_date`; the document must also contain the intended text and variable. - Each sheet has a name, paper, portrait/landscape orientation, margins, pagination settings and header/footer. Disable a band or choose an appropriate [reusable partial](/en/docs/content-export-partials). - Add and manage sheets from the bottom tabs. Each sheet has its own settings; the last cannot be removed. A hidden sheet is not intended for ordinary display; repeating sheets use the special `lecturer_sheets` source where supported. - Text can specify display languages and multiple-translation layout: inline or stacked. Test each document language. ## Content and variables Insert paragraphs, headings, tables, images, page breaks, input, select, signature, date, divider, spacer or group. Select blocks to configure their type-specific properties, size and style; use available commands to place and remove them. Insert a variable from the catalog rather than printing its technical key as text. The catalog depends on module and source: common values, record fields and current-row fields in repeating sources. Loop variables only appear where the source is supported. To create a repeating group, choose a source in document properties; its contents repeat over data. Grouping and sorting are restricted to fields that the source supports. Complete any required variable properties, such as signatory selection. See [shared blocks](/en/docs/content-export-snippets) for reusing a complete block. ## Tables and data sources 1. Insert a table and choose the row/column count. It starts as a regular table; enter text, values and variables manually. 2. For a data table, open table settings and change the source to module data. This option requires a loaded module schema. Select the correct section; columns and sources are refreshed from its catalog. 3. Configure visibility, ordering, labels and nested columns, each column's data field, width/automatic sizing, alignment, header rotation, number display, cell and header styles. For regular tables configure rows and cell merges/splits. Module data tables support source-specific row filters, totals, calculations and generated columns where the schema permits. Do not invent identifiers. 4. Check overflow and repeated headers across pages on several records. Close the table settings before saving the document. | Module | Table sections | |---|---| | Learning plan | Main, process graph (`process_graph`), official plan (`official_plan`). | | Workload | Subjects (`subjects`), assignments (`assignments`), teaching load (`teaching_load`); `all` and `main` are legacy sources. | | Lecturer and department workload | Main, teaching load (`teaching_load`), rate (`rate`). | | Other modules | Main (`main`); `all` is a legacy alias of main, not every table together. | Each source has different fields. A section can be absent from a selected record even if the catalog supports it. When designing a learning plan, test [process schedules](/en/docs/process-schedules) separately; for workload see [workload details](/en/docs/workload-details). ## Preview, saving and history Save first. In View, select a real record from the candidate panel, complete required dependent filters and export input fields if shown. Refresh PDF; printing PDF and downloading XLSX are available when the preview is ready. The server creates the actual result from the saved form and selected data. Unsaved changes do not change this PDF; refresh after changing the form or data. Editor pagination is not the final PDF layout. Save submits the entire document, translations, status, applicability, background and page settings. A new document receives a permanent ID after saving. Leaving a dirty document prompts a warning; the editor can offer local draft recovery when reopened. A local draft is not a saved server revision. Open the history of a saved form to select and inspect an earlier revision. Restoring a document revision creates a new copy with creation permission, rather than silently overwriting the current document. Activate the completed form from the list. ## Example Create a learning plan draft “Learning plan — subject table”. Fill name translations, insert a heading and a variable from the learning plan catalog. Insert a table, switch it to module data, and choose main or official-plan data as appropriate. Configure subject names and their fields. Add a separate sheet for the process graph if needed, with a `process_graph` table. Choose a header, save, then check PDF and XLSX against plans of different lengths in all three languages before activation. ## Permissions and troubleshooting `ContentExportTemplatesTablePull` opens the editor, catalogs and history; `ContentExportTemplatesCreateAction` creates a new template; `ContentExportTemplatesEditAction` saves an existing one. Without the applicable permission, the editor is read-only. Creating a shared block requires `ContentExportSnippetsCreateAction`. Record and signatory candidate lookup follows Faculty/Profession/Department restrictions of relevant models, not template-target criteria. - Missing variable or section: verify module, block/loop context and catalog loading. - Preview unavailable: save, select an accessible record and complete required inputs. - No candidates: check source records, dependent selections and role scopes. - Save rejected: check name, active status of default, required variable properties and layout validity. On version conflict compare with server version before proceeding. - Rows overflow: review paper margins, font size, widths and repeated headers; test PDF independently from XLSX. ## Verified source files - [DocumentEditor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/features/documentEditor/DocumentEditor.tsx) - [TemplateProperties.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/features/documentEditor/TemplateProperties.tsx) - [DocumentHistory.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/features/documentEditor/DocumentHistory.tsx) - [InsertRibbon.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/features/documentEditor/InsertRibbon.tsx) - [LayoutRibbon.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/features/documentEditor/LayoutRibbon.tsx) - [HomeRibbon.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/features/documentEditor/HomeRibbon.tsx) - [ViewRibbon.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/features/documentEditor/ViewRibbon.tsx) - [RepeatProperties.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/features/documentEditor/RepeatProperties.tsx) - [TableBlockEditor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/features/documentBuilder/TableBlockEditor.tsx) - [ContentExportTemplateVariableCatalog.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/Services/ContentExportTemplateVariableCatalog.php) - [ContentExportCapabilityManifest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/Services/ContentExportCapabilityManifest.php) - [ContentExportTemplatePreviewService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/Services/ContentExportTemplatePreviewService.php) - [TiptapDocumentCompiler.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/Services/TiptapDocumentCompiler.php) - [ContentExportModule.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/Enums/ContentExportModule.php) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/routes/api.php) --- # Document headers and footers Source: https://docs.kamoorj.com/en/docs/content-export-partials ## Open a header or footer In **Administration → Module Export Builder**, open the relevant module and its header and footer settings. The list is specific to the selected module and band type. Choose headers or footers, then add a band or edit an existing one. The editor route is `/content-export-templates/:moduleKey/partials/:id`. New bands use `new` for the ID. A footer uses `?kind=footer`. The default is a header. [Export template catalogue](/en/docs/content-export-templates) ## Build the band 1. Enter a descriptive name in at least one language, up to 255 characters per translation. For example, use “Learning plan header”. This name identifies the band when attaching it to a sheet. Add any text that should print to the layout itself. 2. Select a section, row and cell on the canvas. Use the add panel to insert text, an image, date, signature, regular table, divider, spacer or group. Input and selection fields are also available. Use the block's properties and the current module's variable catalogue to configure translated content and values. Select an element in the preview or structure tree to inspect its properties. 3. For recurring details, insert an available shared block. Adjust rows, cell widths and appearance. The saved background can include a colour and an image from the managed template media library. An arbitrary external background URL fails validation. [Shared blocks](/en/docs/content-export-snippets) 4. Save. The editor sends the band's sections, dynamic field definitions, background and name translations. Its single workspace uses a synthetic A4 landscape sheet. Set the final page format and orientation in the template that uses the band. ## Check the layout in context Header and footer sections are static, with binding source `none` and mode `single`. Put dataset rows and module data tables in the body of the template. A regular table can arrange fixed labels and values in the band. The band editor shows a schematic preview. To check real data, open a template, assign the header or footer to the intended sheet and preview an accessible record. [Template editor](/en/docs/content-export-template-editor) ## Understand changes to linked templates A sheet stores a reference to the band. After you edit it, subsequent exports of linked templates use the updated design. Expand the usage count in settings to see links to the templates, their statuses and the default marker. A template counts once even when more than one of its sheets uses the band. A referenced band cannot be deleted. First replace or remove it on every relevant sheet in the listed templates and save. For a variant intended for just one template, create a separate band. ## Permissions and example The list, band detail, variables and usage list use `content-export-template-settings.index`. Creation, editing and deletion use `.store`, `.update` and `.destroy` under the same prefix. Selecting an existing band in the builder is tied to `content-export-templates.index`. Band library operations declare no organisational scope. The parent template's data preview respects the selected module's faculty, profession or department scopes. For example, create a two-cell header for `learning-plan`. Put the institution's logo from the media library on the left and its name and the words “Learning Plan” on the right. Save, attach this header to two sheets of the template and check the result in PDF. Before replacing the logo, check the usage list for other learning plan templates that share this header. ## Implementation references - [frontend-edusystems · Settings/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ContentExportTemplates/Settings/index.tsx) - [frontend-edusystems · PartialEditor/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ContentExportTemplates/PartialEditor/index.tsx) - [frontend-edusystems · ContentExportTemplates/partialTemplateAdapter.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ContentExportTemplates/partialTemplateAdapter.ts) - [frontend-edusystems · editor/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/features/documentBuilder/editor/index.tsx) - [backend-edusystems · routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/routes/api.php) - [backend-edusystems · Services/ContentExportPartialService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/Services/ContentExportPartialService.php) - [backend-edusystems · Requests/StoreContentExportPartialRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/Http/Requests/StoreContentExportPartialRequest.php) - [backend-edusystems · Enums/ContentExportModule.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/Enums/ContentExportModule.php) --- # Shared Blocks Source: https://docs.kamoorj.com/en/docs/content-export-snippets ## Find a shared block Open **Administration → Shared Blocks** (`/content-export-snippets`). The library contains layout fragments that can be linked to multiple templates and bands. Search by translated name or machine key. Switch between the card grid and list. Each item shows the name, a system badge where applicable and the number of templates using the block. [Module Export Builder](/en/docs/content-export-templates) ## Create a block and choose modules 1. Choose Add. The editor opens at `/content-export-snippets/editor/new`. Saved blocks use their ID in place of `new`. In block settings, enter a translated name in at least one language, up to 255 characters per translation. The internal key is generated at creation and remains fixed. 2. Leave the module restriction empty for a universal block or select specific modules. For example, choose `learning-plan` for a block that uses learning plan data. The editor loads the first selected module's catalogue, falling back to the learning plan catalogue if none is selected. The server validates the layout for **every** permitted module, including all modules for a universal block. Seeing a variable in the palette alone does not establish compatibility with all modules. 3. Select a cell in the preview. The add panel offers text, variables, input and selection fields, regular tables, module data tables, images, dates, signatures, groups, dividers and spacers. Insert a row of one, two or three columns, place elements in cells and use the inspector to configure content and appearance. Where signatory variables share a role, the editor provides a common role selector. 4. Save the fragment. The library stores a single root block. A composition containing multiple elements or cells is stored as a group. Page size, sheets, headers and footers belong to the parent template. A library block cannot contain a link to another shared block. [Template editor](/en/docs/content-export-template-editor) ## Insert a block in a template or band In the target module's editor, use the add panel to insert a compatible shared block in a cell. During export the reference resolves to the current library layout. Local overrides available in the inspector replace individual properties while the instance inherits the rest. An override can be reset. To make an independent version, detach the instance and save the template. Future changes to the source then leave the detached layout intact. [Headers and footers](/en/docs/content-export-partials) ## Review the impact of changes When saving an existing block, the editor fetches its current usages. Review the modules, templates, sheets and insertion counts before confirming. If loading fails, use Retry in the dialog. You cannot exclude a module where a template or band still uses the block, or alter the source in a way that invalidates saved property overrides. Copy creates an independent user block with the same layout and module restrictions, and appends a copy suffix to each translated name. Existing references still point to the original. System blocks are protected from deletion. To delete a user block, remove references from templates **and** from headers and footers. A band can keep a reference even when no template uses that band. Save the affected layouts, then retry deletion. ## Permissions and example The library has its own `content-export-snippets` module. Its `.index` action covers listing, reading a block, resolving its layout and viewing usage. Adding and copying require `.store`, editing requires `.update` and deletion requires `.destroy`. The API action to reset a system layout is tied to `.update`. These actions declare no organisational scopes. The module restriction controls export compatibility. A template and its shared block have separate editing permissions. For example, create a universal “Approved by” block with two cells containing a signatory label and a signature line. Insert it in two templates. To correct the shared label, change the source and check both templates. If one document needs a different signature, use an available local override or detach the instance in that document. ## Implementation references - [frontend-edusystems · container/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ContentExportSnippets/container/index.tsx) - [frontend-edusystems · Editor/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ContentExportSnippets/Editor/index.tsx) - [frontend-edusystems · Editor/SnippetWorkspace.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ContentExportSnippets/Editor/SnippetWorkspace.tsx) - [frontend-edusystems · Editor/snippetDraft.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ContentExportSnippets/Editor/snippetDraft.ts) - [frontend-edusystems · ContentExportSnippets/ContentExportSnippetsService.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Administration/ContentExportSnippets/ContentExportSnippetsService.ts) - [frontend-edusystems · inspector/SnippetInspector.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/features/documentBuilder/editor/inspector/SnippetInspector.tsx) - [backend-edusystems · routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/routes/api.php) - [backend-edusystems · Services/ContentExportSnippetService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/Services/ContentExportSnippetService.php) - [backend-edusystems · Services/SnippetExpander.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/Services/SnippetExpander.php) - [backend-edusystems · Requests/StoreContentExportSnippetRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/Http/Requests/StoreContentExportSnippetRequest.php) - [backend-edusystems · Controllers/ContentExportSnippetController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ContentExportTemplates/Http/Controllers/ContentExportSnippetController.php) --- # Employees Source: https://docs.kamoorj.com/en/docs/employees ## Purpose Open **Human Resources → Employees** (`/employees`) for the institution’s personnel register. Each employee record contains personal details, documents, contacts, employment, scientific activity and a résumé. One record can have multiple employment entries. Do not create a separate person for each position. An employee and a system user are separate records. Creating an employee supports personnel management, but does not itself register a login or grant permissions. Employment determines roles, organizational affiliation and personnel conditions used in other modules, such as lecturer assignment and document generation. ## Table | Column | Contents | | --- | --- | | Full name | Last name, first name and patronymic in the interface language, with a registration badge | | Position | Positions from employment entries | | Structure | Affiliation objects such as faculty, profession or department | | Personnel number | Personal details field `note` | | Scientific title | From scientific activity | | Scientific degree | From scientific activity | Open a row or choose Edit from its menu to navigate to `/employees/overview/:id`. The table supports pagination, search, filters, sorting and column visibility. Full names sort by last name, then first name and patronymic in the current language. Personnel numbers also sort; positions and structures can contain multiple values and do not have their own unambiguous sorting. When a link from another module restricts the list to one employee ID, click All to remove that restriction. ## Search and filters Search by first or last name, patronymic, phone, email or personnel number. If the person is missing, clear the filters and check their name's language. The filter panel uses the server’s available fields, including: - Role, faculty, department, profession, subject and position from employment entries. Dependent options depend on the selected role. - Employment active today or in a selected period, start/end dates, rate, hourly payment and primary employment. - Scientific title and degree, contacts, gender, birthdate, citizenship, country, region, city and joint employment details. Choose operators appropriate to the filter type, such as multiple roles or an employment period. The Subject filter is a personnel search criterion; it does not mean that the Employees module supports the subject permission scope. ### Example To find lecturers of a given department for the current semester, use advanced filters, select the appropriate role, department and active employment period. Add a position if needed. Review the matching records and their employment entries. One row can show several organizational units if the employee has multiple appointments. ## Creating an employee Click Add. The separate personal details page `/employees/overview/new` opens. | Fields | How to fill in | | --- | --- | | Last name, first name, patronymic | Localized values in institution languages. Last and first names are required, patronymic is optional | | Gender | Required catalog selection | | Birthdate, citizenship | When confirmed information is available | | Personnel number | Institution’s internal tracking number; optional server string up to 255 characters | | Profile photo | Employee image where available, as a file or an already saved image | | Email | Required valid address; must not duplicate another employee's address | | Telephone and additional phone | Country code and number | | Documents | Type and number are required for each added document, issuing authority and date when available; front, inside and back files can be attached. Document numbers must not duplicate another employee document | | Registered and residential addresses | Country, region, city, street, building, apartment and translated address fields | | Scientific title and degree | Select from [employee settings catalogs](/en/docs/employee-settings) | Save personal details. The resulting record receives an ID. Continuing to work takes you to the Work tab; otherwise the saved personal details remain open. Add employment entries with the role, affiliation, position and relevant employment periods. See [employee details](/en/docs/employee-details), [roles](/en/docs/roles) and [academic positions](/en/docs/academic-positions). ### Example record Example employee Anna Ivanyan: personnel number HR-0142, anna.ivanyan@example.org, first and last names in Armenian, Russian and English, selected gender and a scientific degree when applicable. Save, then add lecturer employment at the appropriate department and period. Do not create another person if Anna later receives a second appointment. ## Invitations and registration A registered employee has a green badge beside their name. Hover to see the linked user's email; authorized user access administrators can open the user record. An orange clock means a live invitation, with remaining time in the tooltip. No badge means there is no current registered user or live invitation. To invite a single employee, use Send invitation in the row menu and confirm. For multiple employees, select their rows and click Invite. The individual action is not offered for someone already registered or with a live invitation. The bulk operation reports sent and skipped invitations rather than promising that everyone receives one. Verify the email and relevant permissions. The list may update automatically when an employee registers. ## Import and export The shared list table supports standard table exports. Verify the selected records, columns and permissions before generating the file. XLS/XLSX import is implemented in the employee details page under **Tools → Import**, when permitted. The current main list uses the new shared table and does not mount that older tools panel. Download the official template from the import window. Fill the `Default Language` sheet beginning at row three; preserve sheet names and column positions. Keep the same employees on the same row numbers in the translation sheets. Files are limited to 2 MB. Rows lacking a last or first name are skipped; additional language sheets supplement records from the first sheet. Import creates new records rather than updating by personnel number. Add photos and employment entries separately. A processing error rolls back the transaction. After successful import, return to the list and verify the result. Do not re-import records already created. ## Deleting and restoring Delete one record from its row menu, or select several rows and confirm the bulk deletion. Each selected record is deleted individually. Deletion is soft: it moves an employee to the trash rather than physically removing the person. The trash supports pagination and search. With restore permission, restore a record to the main list. Ending an appointment is a separate task: update the employment entry instead of deleting the employee. ## Permissions and scopes This module supports `faculty`, `department` and `profession` scopes. Organizational affiliation comes from employment entries, not a direct employee field. Appointment dates do not themselves restrict permission scopes; use employment period filters to search by dates. An employee without appointments can be available during initial record setup; after adding employment, verify visibility with intended operational roles. | Action | Permission | | --- | --- | | List | `employees.index`; role, position, faculty and department catalogs are also needed by filters | | View details | `employees.show` | | Create and edit personal details | `employees.store`, `employees.update` | | Employment | `employee-works.index`, `employee-works.upsert` | | Invite | `employees.invite` | | Import | `employees.import` | | Delete | `employees.destroy` | | Trash and restore | `employees.deleted-items`, `employees.restore` | Configure ordinary privileges and organizational scopes in [role permissions](/en/docs/role-permissions). Personal information belongs to one employee record; privileges to change individual employment entries are checked separately. If an employee is missing, check any ID filter, organizational affiliation, viewing permission and the Own/All access mode. If filters are empty, verify catalog permissions. ## Related guides - [Employee details](/en/docs/employee-details) - [Employee settings](/en/docs/employee-settings) - [Academic positions](/en/docs/academic-positions) - [Roles](/en/docs/roles) ## Implementation references - [Employee list and actions](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/container/index.tsx) - [Table columns](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/EmployeesDescriptor.tsx) - [Personal record creation](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/EmployeesPages/PersonalInfo/container/index.tsx) - [Employee detail toolbar](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/components/EmployeesOverview/container/index.tsx) - [Import dialog](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/components/EmployeesAttributes/components/EmployeesImportModal/EmployeesImportModal.tsx) - [Bulk actions](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/components/EmployeesSelected/EmployeesSelected.tsx) - [Routes and supported scopes](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/routes/api.php) - [Employee scope model](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Models/Employee.php) - [Employee fields and validation](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Http/Requests/EmployeeRequest.php) - [Filter catalog](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Filters/EmployeeAffiliationFilters.php) - [Search and sorting](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Repositories/EmployeeTableRepository.php) - [Workbook import](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Services/EmployeeImportService.php) - [Import upload requirements](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Http/Controllers/EmployeeImportController.php) - [Invitation outcomes](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Services/EmployeeInviteService.php) - [List, deletion and restoration](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Http/Controllers/EmployeeController.php) --- # Employee details Source: https://docs.kamoorj.com/en/docs/employee-details ## Open an employee record Open the employee in the HR list (`/employees/overview/:id`). The record has two tabs, Personal Info and Work. A link with `?tab=work` opens the appointments directly. New records use `/employees/overview/new`. Save the personal information first. Work becomes available when the employee has an ID. Save keeps the record open and Save and continue takes you to Work. [Employee list](/en/docs/employees) ## Personal information and translations Choose the record language. Enter the first and last name, with patronymic and citizenship as applicable. Each value is limited to 255 characters. Saving sends the current translation and shared fields. Save changes before switching languages. Gender is required. The birthdate and photo are optional. Under scientific activity, select an academic title and degree from the directories. The short employee note allows up to 50 characters in this form. Set the position for a particular appointment on the Work tab. [Employee settings](/en/docs/employee-settings) · [Academic positions](/en/docs/academic-positions) ## Documents, contacts and addresses - Choose the primary identity document type and enter its number. Each submitted document needs both. The number is limited to 255 characters and must not belong to another employee. You can enter the issuing authority and date, and attach images of the front, inside page and back. Add document creates another record with its own type, number and attachments. When editing, existing files retain their association with the document ID. To save a social card, add a document of the corresponding type. - Enter the contact email. This is required and unique among employee contacts, with a limit of 255 characters. Add a primary and optional additional phone. Each number and country code are stored separately. The form defaults an absent code to +374. The HR email is used for employee invitations. - Enter the registration address. Start with the country, then choose the region and city. Enter the street, building and apartment in the record language. If the residence address differs, enable the checkbox and fill in the second address. Add missing cities in the geographic directory. [Geographic directory](/en/docs/geo-catalog) ## Enter appointments on the Work tab 1. Choose main employment or joint employment. For joint employment, you can enter an external workplace and position. Each internal appointment at the institution gets its own row. 2. Choose a role and start date for each row. If the role has a scope, choose a faculty, department, profession or subject under Structure according to its type. If the role supports a position, select one from the directory. This is required for the row to save. [Roles](/en/docs/roles) 3. Enter the numeric appointment rate, for example 0.5. The form accepts a decimal point or comma. Hourly payment has its own checkbox. Enter an end date for a fixed-term appointment. It may be the start date or a later date. If there are multiple rows, select the main appointment. When there is only one, choosing main employment marks it automatically. 4. To retain history, end the old appointment and add the new one. Saving sends the full editable set, with at least one appointment required. Removing an editable row and saving removes that appointment from the set. Save reloads the tab. Save and finish returns to the list with the original filters when the record was opened from it. ### Primary teaching appointment When teaching export settings enable the feature and include the selected role as a teaching role, you can set its primary teaching period. This has a separate control from main employment. Enter the start of the period. Both boundaries must fit within the appointment. If the appointment has an end, the primary period needs an end too. An employee's primary teaching periods cannot overlap even for one day, including appointments in other departments. For example, if one period ends on 31 January, the next may begin on 1 February. ## Permissions and data scopes Personal Info belongs to the `employee-personal` module. It uses `employees.show` to read, `employees.store` to create and `employees.update` to edit. Work uses `employee-works.index` to view and `employee-works.upsert` to save, together with the role, position and structure directories. Saving on each tab requires its corresponding write permission. The list, personal record and appointments support **faculty, department and profession** scopes. Employee visibility follows their appointments. Someone who can view a record and has personal-data edit permission can update its shared personal information. A newly created employee has no appointments yet. On Work, out-of-scope appointments are shown as read-only context. Moving a row requires access to both the old and new unit. Saving editable rows preserves the other units' appointments. ## Worked example For the fictional employee Ani Example, enter `ani.example@example.org`, choose the gender and document type, use training number `DEMO-HR-042` and select the registration country. Save and continue. Add the teaching role scoped to a department, choose Mathematics, select a position if required, enter a rate of 0.5 and set a start date of 1 September. Mark the appointment as main if appropriate. Save and verify the role, unit and rate in the record. ## Implementation references - [frontend-edusystems · EmployeesPages/tabPages/EmployeesTabPages.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/EmployeesPages/tabPages/EmployeesTabPages.tsx) - [frontend-edusystems · PersonalInfo/container/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/EmployeesPages/PersonalInfo/container/index.tsx) - [frontend-edusystems · components/PersonalInfoForm/PersonalInfoForm.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/EmployeesPages/PersonalInfo/components/PersonalInfoForm/PersonalInfoForm.tsx) - [frontend-edusystems · PersonalInfo/utils/buildEmployeeDocuments.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/EmployeesPages/PersonalInfo/utils/buildEmployeeDocuments.ts) - [frontend-edusystems · PersonalInfo/utils/personalAddressFields.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/EmployeesPages/PersonalInfo/utils/personalAddressFields.ts) - [frontend-edusystems · Work/container/index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/EmployeesPages/Work/container/index.tsx) - [frontend-edusystems · components/WorkEntry/WorkEntry.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/EmployeesPages/Work/components/WorkEntry/WorkEntry.tsx) - [frontend-edusystems · WorkMain/App/WorkMain.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/EmployeesPages/Work/components/WorkMain/App/WorkMain.tsx) - [frontend-edusystems · Work/utils/generateWorks.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/Employees/EmployeesPages/Work/utils/generateWorks.ts) - [backend-edusystems · Employees/routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/routes/api.php) - [backend-edusystems · Http/Requests/EmployeeRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Http/Requests/EmployeeRequest.php) - [backend-edusystems · Http/Requests/EmployeeWorkRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Http/Requests/EmployeeWorkRequest.php) - [backend-edusystems · Employees/Services/EmployeeWorkScopeGuard.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Services/EmployeeWorkScopeGuard.php) - [backend-edusystems · Employees/Services/EmployeeWorkService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Services/EmployeeWorkService.php) - [backend-edusystems · Employees/Services/EmployeeTeachingExportSettings.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Services/EmployeeTeachingExportSettings.php) --- # Employee settings Source: https://docs.kamoorj.com/en/docs/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) --- # Academic Positions Source: https://docs.kamoorj.com/en/docs/academic-positions ## Purpose The **HR** section has two related catalogs. Academic Positions (`/academic/positions`) links an employment title and abbreviation to an employee role. Academic Positions & Hours (`/position/working/hours`) defines a yearly hour range for a position. The maximum is used to calculate the employment rate in [lecturer workload](/en/docs/lecturer-workload). ## Create a position First check the [role catalog](/en/docs/roles). The role must permit use in positions (the `positionable` flag). | Field | Example | Rule | | --- | --- | --- | | Name | Старший преподаватель / Senior Lecturer / Ավագ դասախոս | Required for every submitted translation, up to 100 characters | | Abbreviation | Sr. lecturer | Required for every submitted translation, up to 100 characters | | Role | Lecturer | Existing role enabled for use in positions | | Status | Enabled | Stored catalog status | 1. Open Academic Positions, click Add and enter the name and abbreviation translations. 2. Select the configured role and save the record. 3. Locate it in the table and verify the role and status. The server supports searching translated names and abbreviations and filtering by role and status. 4. To rename a position, edit the existing record so that its ID and employment references remain intact. ### Change the role or delete If the position is already assigned to an employee's employment record with the same role, the server blocks changing its role or deleting it. Review related employment records first. Renaming, correcting a translation and changing the linked role are distinct operations. An unused position can be moved to deleted items and restored with its original ID. If adding or editing reports a match in deleted data, check deleted items and restore the appropriate record. Translations are checked for uniqueness. ## Related settings Annual hour ranges, rate calculation and separate permissions are covered in [Academic Positions & Hours](/en/docs/positions-working-hours). ## Permissions and scopes | Action | Positions | | --- | --- | | List | `positions.index` | | Create | `positions.store` | | Edit | `positions.update` | | Delete | `positions.destroy` | | Deleted items | `positions.deleted-items` | | Restore | `positions.restore` | Creating and editing positions also requires `roles.index`. Resource routes for `academic-positions` declare no additional faculty, department or profession scopes. ## Troubleshooting - Missing role: check its use-in-positions flag and role catalog access. - Save fails: check required translations and matches with active or deleted names. - The role cannot be changed or the position deleted: check linked employee employment records. ## Implementation references - [AcademicPositionsDescriptor.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/AcademicPositions/AcademicPositionsDescriptor.ts) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/AcademicPositions/container/index.tsx) - [registerDefaultRelations.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/core/relations/registerDefaultRelations.ts) - [permissionActionMap.json](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/public/permissionActionMap.json) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Position/routes/api.php) - [PositionRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Position/Http/Requests/PositionRequest.php) - [IndexPositionRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Position/Http/Requests/IndexPositionRequest.php) - [PositionService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Position/Http/Services/PositionService.php) --- # Academic Positions & Hours Source: https://docs.kamoorj.com/en/docs/positions-working-hours ## Purpose Open **HR → Academic Positions & Hours** (`/position/working/hours`). The catalog defines the yearly hour range for an [academic position](/en/docs/academic-positions). The maximum is used in the lecturer rate calculation. ## Set annual hours Open Academic Positions & Hours. An existing academic year and position are required. | Field | Example | Rule | | --- | --- | --- | | Academic year | 2026/27 | Existing academic-year record | | Position | Senior Lecturer | Existing position | | Minimum academic hours | 300 | Integer of zero or greater | | Maximum academic hours | 600 | Integer no lower than minimum | 1. Click Add, select the year and position and enter the 300–600 range. 2. Save. Find the entry by academic-year or position filter. 3. Create a separate entry for another position or academic year. Duplicate active year-position pairs are rejected. 4. Edit the existing row to correct its range. Delete and restore are available in the table. Before restoring, check whether another entry already covers the same year-position pair. ## Effect on lecturer rate The rate calculation finds the relevant lecturer employment record for the workload department and period. It takes its position and looks up the annual full-rate norm using the academic year and position: the maximum hours field. The calculated rate is the lecturer's total hours divided by this norm, rounded to two decimal places. For example, a senior lecturer has 450 assigned hours in 2026/27 and a maximum of 600. The calculated rate is 0.75. A zero maximum or missing applicable norm prevents calculation. To adjust actual hours or the employment rate, use the available actions in [individual lecturer workload](/en/docs/lecturer-workload). Changing the range changes the calculation input. It does not create teaching assignments. Reopen the lecturer workload, compare the calculated and stored rates. ## Permissions and scopes | Action | Annual hours | | --- | --- | | List | `rates.index` | | Create | `rates.store` | | Edit | `rates.update` | | Delete | `rates.destroy` | | Deleted items | `rates.deleted-items` | | Restore | `rates.restore` | Creating and editing annual hours requires `academic-years.index` and `positions.index`. Resource routes for `positions-working-hours` declare no additional faculty, department or profession scopes. ## Troubleshooting - Invalid annual range: maximum must be at least minimum, and both must be nonnegative integers. Check for a duplicate year-position pair. - Calculated rate unavailable: check the employee's employment record, department, academic year, position and a positive maximum. ## Implementation references - [PositionsWorkingHoursDescriptor.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/PositionsWorkingHours/PositionsWorkingHoursDescriptor.ts) - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/PositionsWorkingHours/container/index.tsx) - [permissionActionMap.json](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/public/permissionActionMap.json) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Rate/routes/api.php) - [RateRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Rate/Http/Requests/RateRequest.php) - [IndexRateRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Rate/Http/Requests/IndexRateRequest.php) - [LecturerRateService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/LecturerWorkload/Services/LecturerRateService.php) --- # Employee Report Source: https://docs.kamoorj.com/en/docs/employee-report ## Purpose **Human Resources → Employee Report** (`/employees/report`) reports employee headcounts by department, age group, scientific degree category and employment type at a specified date. It counts people, not full-time equivalents or teaching hours. Unlike the [employee summary](/en/docs/employee-summary), it is a snapshot at one date rather than an academic-year analysis based on configured educator roles. ## Generating the report The page initially loads today’s report with standard age groups. | Control | Result | | --- | --- | | Report date | Determines active appointments and age on that date | | Category | Multi-select scientific degree categories; without a selection, active categories plus No category are included | | Age groups | Opens the range editor | | Submit | Recalculates the table with current fields | | Only with data / Show all | Hides or restores zero age rows and departments without nonzero rows | | Export | XLSX using current form fields and the nonempty-row setting | | Print | Prints the displayed table through the browser | The server also supports faculty (`faculty_id`) and department (`academic_department_id`) filters, but the current page does not render selectors for them. These are report criteria, not organizational permission restrictions. ### Age ranges Defaults are up to and including 34, 35–44, 45–54, 55–64, and 65 or older. In the age groups editor, change From and To, add or remove groups, close using Save and submit the report. The interface accepts ages from 0 to 120. An empty lower bound means no minimum, an empty upper bound means no maximum; both empty covers all known ages. Removing all ranges restores the defaults on submission. Bounds are inclusive. If ranges overlap, an employee belongs to the first matching one in list order. An employee matching no group is excluded. Without a birthdate, an employee is excluded even with an all-ages range. For complete coverage of known ages, use adjacent nonoverlapping ranges without gaps. ## Table and data sources The table lists each department, one row per age range, and a department subtotal. Each active scientific degree category has three subcolumns: - **Main employment** (`main`): employees whose personal record identifies their employment as main. - **Non-main employment** (`non_main`): the others. - **Hourly payment** (`hours_payment`): people with an active hourly assignment at the same department. This is an additional indicator, not a third mutually exclusive group. The category comes from the employee’s scientific activity: the selected degree links to a category in [employee settings](/en/docs/employee-settings). Without a degree or category and without an explicit category filter, the employee is shown under virtual No category. Categories unavailable in the active catalog do not form separate columns. ### Who is counted - The employee and department are not deleted. - The employee has an appointment to the relevant department via a department-scoped role. A faculty or other appointment alone is not enough. - Appointment start is on or before the report date, and its end is absent or on/after the date. - Age on the report date matches a group. - The degree category matches a displayed column. Repeated appointments at the same department should not inflate the count. An employee with appointments in two departments may appear in both. At the bottom of the screen, the grand total counts unique employees across the report instead of summing department totals. ## Formulas and example - Row total = sum of main and non-main counts across displayed categories. - Department total = sum of its age rows. - Grand total = number of unique employees included in at least one row. For example, a mathematics department has three main and two non-main employees aged 35–44 in one category. Two of those five have active hourly assignments. The cells are 3 / 2 / 2 and the total is 5, not 7. If one also works at another department, they may appear in that department but will count only once in the institution-wide total. ## Export, print and permissions Submit after changing any fields so that the table, printout and export refer to the same selection. Export recomputes the report with the current form fields and generates `employee-report-.xlsx`. The file has grouped headers, age rows and department subtotals; the unique grand total is displayed separately on screen but is not emitted as a separate XLSX row. Only with data affects the export. Print uses the displayed table. Viewing requires `employee-report.index` and access to the scientific degree category catalog. XLSX requires `employee-report.export`. This report’s routes do not declare organizational permission scopes; department is a report grouping, not an automatically applied access restriction. Grant report access only to a role authorized to view these aggregate figures. ## Troubleshooting differences from the register Check [employee records](/en/docs/employees), employment dates, birthdate, degree category, main employment and hourly payment. Verify the report date and age ranges. Do not compare the one-date snapshot with the [academic-year summary](/en/docs/employee-summary) without accounting for their different counting methods. ## Implementation references - [Report form, age ranges and table](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/EmployeeReport/container/EmployeeReport.tsx) - [Report and export permissions](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/EmployeeReport/store/thunk.ts) - [Report routes](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeReport/routes/api.php) - [Report filter validation](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeReport/Http/Requests/EmployeeReportRequest.php) - [Eligible employment records](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeReport/Repositories/EmployeeReportRepository.php) - [Age groups and headcount formulas](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeReport/Services/EmployeeReportService.php) - [XLSX output](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeReport/Services/EmployeeReportExcelExporter.php) - [Nonempty row export](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeReport/Http/Controllers/EmployeeReportController.php) --- # Employee Summary Report Source: https://docs.kamoorj.com/en/docs/employee-summary ## Purpose **Human Resources → Employee Summary** (`/employees/summary`) presents the number of educators over one or more academic years, by departments, employment types, scientific degrees and titles, with trends across years. It counts unique employees who have qualifying employment assignments, not all personnel records or full-time equivalents. ## Configuring educator roles Before using the summary, open Settings if permitted and select the roles your institution considers teaching roles. Select multiple existing roles from the [role catalog](/en/docs/roles), search by name or clear the selection. Duplicate role names are distinguished by their ID. Choose legitimate teaching roles, not the super-administrator role. The institution-wide setting replaces the previous selection when saved. After saving, the summary reloads with applied filters. An empty role list produces a no-roles-configured notice and empty or zero indicators. The setting does not change employees’ actual roles or permissions; it only defines which appointments enter this summary. ### Example Select Lecturer and Hourly Lecturer if those are the actual roles in your institution. Do not select Secretary if administrative work should not count as teaching. If an employee has both teaching and administrative appointments, only appointments with the selected roles contribute. ## Filters | Field | Behavior | | --- | --- | | Academic year | Multiple years; defaults to the current year, or latest available when no current year is marked | | Faculty | Multiple faculties; empty means all available | | Department | Multiple departments; selecting faculties narrows the options to their departments | | Search / Reset | Apply selected fields; reset restores the initial selection | Changing the faculty removes selected incompatible departments. To analyze multiple years, select them and apply the filters. The summary header displays the applied scope. With restricted permission scopes, available organizational options are based on eligible employment assignments. ### How an academic year is defined For 2025–2026, the calculation period is September 1, 2025 through August 31, 2026, inclusive. An employee qualifies if at least one relevant appointment starts no later than the end of the year and ends on or after its start, or has no end date. This is period overlap, not necessarily employment today or throughout the entire year. With multiple years selected, the summary uses the union of qualifying assignments in those years. Each employee counts once in the total even with multiple roles, departments or years. ## Indicators and formulas Cards can be shown as data or charts. Changing the presentation does not change the calculation. | Indicator | Calculation | | --- | --- | | Active employees | Unique employees with at least one qualifying assignment in the selected period | | By department | Unique employees per department; subject appointments map to the subject’s department. Faculty or profession appointments may have no department | | By employment type | Hourly paid: at least one qualifying assignment with hours_payment; regular: total minus hourly | | By scientific degree | Unique employees by degree categories, not individual degree names | | By scientific title | Unique employees by title | | No degree / No title | Total minus unique employees with the respective qualification | | Annual trend | Unique employees per available academic year with the current faculty/department filters, independently of years selected for the main summary | Qualifications come from the employee’s current record; they are not historical snapshots of qualifications per year. Birthdate does not affect this summary. Deleted employees are excluded. ## Counting example In the selected departments for 2025–2026: Anna teaches in A and B and has one regular and one hourly assignment; David teaches in A with regular employment only; Mariam teaches in B with hourly employment only. All assignments match configured roles and dates. | Indicator | Value | | --- | ---: | | Total headcount | 3 | | Department A | 2 | | Department B | 2 | | Hourly paid | 2 | | Regular | 1 | Department counts add to 4, not 3, because Anna works in both, but the total counts her once. Employment type counts are exclusive: Anna is classified as hourly despite having a regular appointment as well. ## Export With export permission, click Export to generate `employee-summary.xlsx` in the interface language (ru/en/hy). The file includes the **applied** filters rather than unapplied form edits, the total, department counts, employment types, degrees, titles, trends and charts of employment and annual trends. Apply changes before exporting. The server recalculates when exporting, so newly updated employment information may alter the figures. ## Permissions and scopes | Operation | Permission | | --- | --- | | View summary | `employee-summary.index` | | Export | `employee-summary.export` | | View role settings | `employee-summary.educator-roles.show` | | Edit role settings | `employee-summary.educator-roles.update` | Summary and export support all four organizational scope types: `faculty`, `department`, `profession`, `subject`. With restricted access, eligible appointments must match the applicable type and organizational assignment. Subject appointments derive their department from the subject; profession appointments derive the faculty from the profession. User filters further narrow the accessible set. Teaching role configuration is module-wide and has separate permissions without organizational scopes. ## Troubleshooting unexpected figures Verify the configured educator roles, work entries in [employee details](/en/docs/employee-details), dates, hourly payment, faculty/department relationships and permission scopes. When no academic years have valid boundaries, configure an academic year. For age-group headcount at a single date, use the [employee report](/en/docs/employee-report), which has a different method and role selection. ## Implementation references - [Summary filters and indicators](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/EmployeeSummary/index.tsx) - [Educator role settings](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/EmployeeSummary/EducatorRolesSettings.tsx) - [Summary permissions and scopes](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeSummary/routes/api.php) - [Filter validation](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeSummary/Http/Requests/EmployeeSummaryRequest.php) - [Role settings validation](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeSummary/Http/Requests/EmployeeSummaryEducatorRolesRequest.php) - [Persisting role selections](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeSummary/Http/Controllers/EmployeeSummaryEducatorRolesController.php) - [Summary calculations](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeSummary/Services/EmployeeSummaryService.php) - [Employment scope and period](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeSummary/Repositories/EmployeeSummaryRepository.php) - [Workbook and charts](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeSummary/Services/EmployeeSummaryExcelExporter.php) --- # Employee Timesheet Source: https://docs.kamoorj.com/en/docs/employee-timesheet ## Location and purpose Open **HR → Employee Timesheet** (`/employees/timesheet`). The page builds a monthly attendance grid from employment periods in [employee records](/en/docs/employee-details). An eligible working day defaults to presence for eight hours unless an absence is recorded. This timesheet is based on the calendar and manual absence marks. ## Build the timesheet 1. Select a month. The current month is initially selected. The table reloads automatically when it changes. 2. Find an employee by name. Search filters the received rows without changing their daily calculations. 3. Enable Only absent employees to retain employees with at least one absence. 4. Inspect the dates and totals. The current interface has no faculty or department selector. Rows depend on role scope and employment records. ### How working days are determined Employees with an accessible employment record in a supported organizational scope that overlaps the month are included. Multiple eligible employment records for the same employee are combined into one row. | Cell | Meaning | | --- | --- | | 8 | Working day no later than today, within an accessible employment period, without a saved absence | | Absence | An absence is stored for the employee and date | | — | Weekend, nonworking calendar day, future date or date outside employment | The server excludes weekdays classified as weekends and dates marked nonworking in the academic calendar. Employment boundaries are inclusive. Today counts as elapsed. Presence does not depend on teaching assignments or employment rate. Total hours = worked days × 8, while absent days are counted separately. ## Mark absence With update permission, click an eligible cell displaying 8. It changes to the absence mark, and the table and totals are recalculated after saving. Click it again to remove the mark. Dashes are not editable cells. For example, an employee has five elapsed working days within their employment period, with no nonworking calendar dates. Initially there are five worked days and 40 hours. Mark one day absent to get 4 worked days, 1 absence and 32 hours. Remove the mark to return to 5, 0 and 40. The mark is stored per employee and calendar date, applying to that employee in other accessible timesheet views. The form does not record an absence reason or a custom hour count. The server rejects changes outside an authorized employment period, in a different month, or on a nonworking or future day. ## Export Click Export, optionally select a [header and footer](/en/docs/export-templates), then Excel or PDF. The file contains names, every date of the selected month, worked days, absences and hours. The server generates the export at request time using the selected month, search and absence filter. Active common-context headers and footers of the appropriate kind are accepted. If a selected partial is unsuitable or archived, choose another or clear the selection. A separate templates button opens the library when accessible. ## Permissions and scopes | Action | Permission | | --- | --- | | View timesheet | `employee-timesheet.index` | | Scope dictionary (API) | `employee-timesheet.scopes`, bound to viewing | | Change absence | `employee-timesheet.update` | | PDF or Excel | `employee-timesheet.export` | The module declares all four scope types: faculty (`faculty`), department (`department`), subject (`subject`) and profession (`profession`). The server filters employment records by accessible scope and additionally checks access to the employee's work on the selected date when saving. Header and footer selectors have separate permissions. ## Troubleshooting - **Employee missing.** Check employment start/end, organizational affiliation and user access. Clear search and the absence filter. - **A working date shows a dash.** Check employment dates, current date and academic calendar. - **Cell disabled.** Check update permission and access to work on the relevant day. - **Hours differ from workload.** Timesheet presence counts eight hours, while [lecturer workload](/en/docs/lecturer-workload) uses assigned teaching hours. - **Export failed.** Check export permission and selected layout templates, then retry. ## Implementation references - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/EmployeeTimesheet/index.tsx) - [index.test.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/EmployeeTimesheet/index.test.tsx) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeTimesheet/routes/api.php) - [TimesheetMonthRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeTimesheet/Http/Requests/TimesheetMonthRequest.php) - [TimesheetAbsenceRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeTimesheet/Http/Requests/TimesheetAbsenceRequest.php) - [EmployeeTimesheetService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeTimesheet/Services/EmployeeTimesheetService.php) - [TimesheetCalculator.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeTimesheet/Services/TimesheetCalculator.php) - [EmployeeTimesheetExportService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeTimesheet/Services/EmployeeTimesheetExportService.php) - [RoleScopesTypes.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Roles/Enums/RoleScopesTypes.php) --- # Professional Development Source: https://docs.kamoorj.com/en/docs/professional-development ## Open the staff register Open **Professional Development** in HR (`/professional-development`). Choose a group, then an employee, to see their records and field values. Results are grouped first by record type (profession group), then by employee. Pages load groups containing matching records. The institution configures groups and their fields. [Professional development settings](/en/docs/professional-development-settings) Filter by group, department, employee, first name, last name, patronymic, contact email or status. Apply or reset the filters. Status refers to the employee's linked user account. The active filter looks for a numeric user status above zero. Inactive matches status zero or an employee without an account. A professional development record has no separate submission or approval stage. ## Create a record for an employee 1. Choose Add and select an active record type. For example, choose “Continuing education” if the institution configured such a group. The form shows the fields selected for that group in the configured order. 2. Select the department, then choose the employee from its list. Changing department clears the employee selection. If someone is missing, check their appointments and your department access. [Employee record](/en/docs/employee-details) 3. Complete the required fields. Enter text directly, use numeric values for numbers, the calendar for dates and the predefined options for selections. A checkbox stores a yes/no value. One file field accepts one PDF up to 10 MiB. Configure two file fields if the record requires two attachments. 4. Save and check the entry under the selected employee and group. Editing changes field values. The employee, department and record type are locked in edit mode. To correct a wrong owner or type, first create and verify a record in the correct group. ## Update values and attachments When a set of values is saved, the server removes old fields missing from the submitted set, including their files. The current editor omits an existing attachment unless it is selected again. When editing a record with other fields, **select the PDF again**, save and verify the attachment. If the group's fields have changed, check prior values before editing an older record. Confirming deletion of the entire record removes its attachments. The record register has no trash view. ## Use the employee's personal page Open **My Professional Development** (`/my-professional-development`). Cards show the active groups and each group's count of your records, including zero. Choose a group to open its table. The `?group=` parameter preserves the selection. The server derives the employee from the authenticated account's HR link. The personal form has no department or employee selector. With the corresponding permissions, users can add, edit and delete their own records. If access is denied on the personal page, check the account's employee link. The personal service returns 403 without it. If a type's card disappeared, check the group's status. A count may exceed the visible row count: the current client requests the group's first page, which defaults to 15 records. [User–employee link](/en/docs/user-access-control) [My professional advancement](/en/docs/my-professional-development) ## Permissions and example The staff register uses `employee-professional-advancements.index` for listing and reading, and `.store` for creating, updating and deleting. Its declared organisational scope is department. The form also needs the group, field, department and employee directories. The personal page has separate `my-professional-advancements.index/store/update/destroy` permissions. Its routes declare no organisational scope. The server checks ownership against the employee linked to the current account. For a training example, create a “Courses” record for a mathematics department employee. Enter “Learning data analysis”, 24 hours, 18 May and a certificate PDF if these fields are configured. After saving, the employee's personal Courses count increases. To correct the number of hours, edit the number and select the certificate again before saving. ## Implementation references - [frontend-edusystems · ProfessionalDevelopment/ProfessionalDevelopment.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/ProfessionalDevelopment/ProfessionalDevelopment.tsx) - [frontend-edusystems · components/EditAdvancementModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/ProfessionalDevelopment/components/EditAdvancementModal.tsx) - [frontend-edusystems · components/DynamicFieldInput.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/ProfessionalDevelopment/components/DynamicFieldInput.tsx) - [frontend-edusystems · MyProfessionalDevelopment/MyProfessionalDevelopment.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/MyProfessionalDevelopment/MyProfessionalDevelopment.tsx) - [frontend-edusystems · MyProfessionalDevelopment/MyProfessionalDevelopmentService.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/MyProfessionalDevelopment/MyProfessionalDevelopmentService.ts) - [frontend-edusystems · components/GroupRecordsTable.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/MyProfessionalDevelopment/components/GroupRecordsTable.tsx) - [backend-edusystems · routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeProfessionalAdvancements/routes/api.php) - [backend-edusystems · Repositories/EmployeeProfessionalAdvancementRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeProfessionalAdvancements/Repositories/EmployeeProfessionalAdvancementRepository.php) - [backend-edusystems · Requests/StoreAdvancementRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeProfessionalAdvancements/Http/Requests/StoreAdvancementRequest.php) - [backend-edusystems · Requests/UpdateAdvancementRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeProfessionalAdvancements/Http/Requests/UpdateAdvancementRequest.php) - [backend-edusystems · Services/EmployeeProfessionalAdvancementService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeProfessionalAdvancements/Services/EmployeeProfessionalAdvancementService.php) - [backend-edusystems · Controllers/MyProfessionalAdvancementController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeProfessionalAdvancements/Http/Controllers/MyProfessionalAdvancementController.php) --- # Professional development settings Source: https://docs.kamoorj.com/en/docs/professional-development-settings ## Understand the two tabs Open settings from **Professional Development** (`/professional-development/settings`). Available Fields defines questions and answer types. Profession Groups combines fields into forms. The group name appears as a record type in the register. For example, a Conferences group could contain a topic, date and diploma. These groups classify professional development records independently of academic programme specialisations or employee positions. [Staff register and personal page](/en/docs/professional-development) ## Add an available field 1. Add a field and name it in the institution's default language. Fill other translations on the language tabs. Empty translations are skipped. Each submitted name is limited to 255 characters. 2. Choose the type. Use **text** for a title, **textarea** for a description, **number** for hours, **date** for an event date, **select** for one predefined option, **file** for one PDF up to 10 MiB and **checkbox** for a yes/no answer. New fields default to text and active status. 3. For a select field, add and translate the choices, then put them in order. Each option needs at least one name of up to 255 characters. Saving an edited option list recreates the options with new IDs. Old answers store option IDs, so check how existing records will display before changing a live catalogue. To keep the existing list intact, create a separate field for new forms. ## Assemble a group and control visibility 1. On Profession Groups, add a group. Enter a name in the default language and supply other translations as needed. Enable the group so it appears when creating a record and on the personal page's group cards. 2. Select at least one field. Choose which are required in this group. The same field can be mandatory in one group and optional in another. Arrange the fields in the desired sequence. The form saves the order of the selected fields. 3. Save and open the create form in the register. If a question is missing, verify its membership in the selected group. The current form builds its questions from the group's field links. Changing a field's own status does not remove an existing link. To remove the question from a group, uncheck it there and save. 4. Inactive groups are hidden from new record type selections and personal group cards. The staff register retrieves existing records according to its filters. Changing group membership replaces the links used when existing records are next edited. Both settings directories offer soft deletion and restoration subject to permissions. ## Permissions and configuration example Access to either tab opens the settings page. Each tab checks its own module, `available-fields` or `profession-groups`. Depending on the action, each uses `.index`, `.store`, `.update`, `.destroy`, `.deleted-items` and `.restore`. Group configuration also needs the available field directory. Settings routes declare no organisational scopes. These forms apply across the institution. For example, add Topic (text), Completion date (date), Hours (number) and Certificate (file). Create an active Courses group with all four in that order. Mark Topic and Completion date as required. Verify that the staff register offers these fields and that Courses appears on the personal page. ## Implementation references - [frontend-edusystems · tabPage/ProfDevSettingsPages.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/ProfessionalDevelopment/ProfDevSettingsPages/tabPage/ProfDevSettingsPages.tsx) - [frontend-edusystems · components/EditAvailableFieldModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/ProfessionalDevelopment/ProfDevSettingsPages/AvailableFields/components/EditAvailableFieldModal.tsx) - [frontend-edusystems · components/EditProfessionGroupModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/ProfessionalDevelopment/ProfDevSettingsPages/ProfessionGroups/components/EditProfessionGroupModal.tsx) - [frontend-edusystems · components/EditAdvancementModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/ProfessionalDevelopment/components/EditAdvancementModal.tsx) - [backend-edusystems · routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalDevelopment/routes/api.php) - [backend-edusystems · Enums/FieldType.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalDevelopment/Enums/FieldType.php) - [backend-edusystems · Requests/StoreAvailableFieldRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalDevelopment/Http/Requests/StoreAvailableFieldRequest.php) - [backend-edusystems · Requests/StoreProfessionGroupRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalDevelopment/Http/Requests/StoreProfessionGroupRequest.php) - [backend-edusystems · Services/AvailableFieldService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/ProfessionalDevelopment/Services/AvailableFieldService.php) --- # My Professional Advancement Source: https://docs.kamoorj.com/en/docs/my-professional-development ## Use the employee's personal page Open **My Professional Development** (`/my-professional-development`). Cards show the active groups and each group's count of your records, including zero. Choose a group to open its table. The `?group=` parameter preserves the selection. The server derives the employee from the authenticated account's HR link. The personal form has no department or employee selector. With the corresponding permissions, users can add, edit and delete their own records. If access is denied on the personal page, check the account's employee link. The personal service returns 403 without it. If a type's card disappeared, check the group's status. A count may exceed the visible row count: the current client requests the group's first page, which defaults to 15 records. [User–employee link](/en/docs/user-access-control) ## Permissions Personal routes use `my-professional-advancements.index/store/update/destroy`. The server checks that each record belongs to the employee linked to the current account. No organizational scopes are declared for personal routes. ## Example Open Courses and add “Learning data analysis”, 24 hours and May 18 if these fields are configured. When editing a record with a PDF, reattach the file before saving. See the [staff register guide](/en/docs/professional-development) for field and file behavior. ## Implementation references - [frontend-edusystems · ProfessionalDevelopment/ProfessionalDevelopment.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/ProfessionalDevelopment/ProfessionalDevelopment.tsx) - [frontend-edusystems · components/EditAdvancementModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/ProfessionalDevelopment/components/EditAdvancementModal.tsx) - [frontend-edusystems · components/DynamicFieldInput.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/ProfessionalDevelopment/components/DynamicFieldInput.tsx) - [frontend-edusystems · MyProfessionalDevelopment/MyProfessionalDevelopment.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/MyProfessionalDevelopment/MyProfessionalDevelopment.tsx) - [frontend-edusystems · MyProfessionalDevelopment/MyProfessionalDevelopmentService.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/MyProfessionalDevelopment/MyProfessionalDevelopmentService.ts) - [frontend-edusystems · components/GroupRecordsTable.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/MyProfessionalDevelopment/components/GroupRecordsTable.tsx) - [backend-edusystems · routes/api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeProfessionalAdvancements/routes/api.php) - [backend-edusystems · Repositories/EmployeeProfessionalAdvancementRepository.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeProfessionalAdvancements/Repositories/EmployeeProfessionalAdvancementRepository.php) - [backend-edusystems · Requests/StoreAdvancementRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeProfessionalAdvancements/Http/Requests/StoreAdvancementRequest.php) - [backend-edusystems · Requests/UpdateAdvancementRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeProfessionalAdvancements/Http/Requests/UpdateAdvancementRequest.php) - [backend-edusystems · Services/EmployeeProfessionalAdvancementService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeProfessionalAdvancements/Services/EmployeeProfessionalAdvancementService.php) - [backend-edusystems · Controllers/MyProfessionalAdvancementController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/EmployeeProfessionalAdvancements/Http/Controllers/MyProfessionalAdvancementController.php) --- # References Source: https://docs.kamoorj.com/en/docs/references # References ## Purpose and modes **References → References**, `/references`. Select a student or employee, issue a certificate from a prepared template, and inspect issued documents. This is not the template designer: modify structure or variables in Reference Templates (`/reference-templates`). The Student and Employee tabs select the subject type; History toggles the table. History off shows people eligible for issuance; on shows issued certificates of the selected type. Switching does not change data. The default is the student list with history off. ## Student list Columns show full name, educational degree, faculty, profession, study year and academic year. Learning format can be enabled as a visible column (hidden by default). Data comes from the student's effective academic enrollment, active or latest, including archived students. Filters: degree, format, faculty (dependent on degree and format), profession, academic year, study year and term 1/2. Academic year, study year and term are based on the last educational status of the effective enrollment, not every historical term. Use search, pagination and supported sorting. To issue a certificate, find the correct row and choose Assign Reference from its action menu. ## Employee list Columns show full name and email. The source is the employee registry, so the same server filters apply: role, faculty, department, profession, subject, position, active today/period, employment start/end, rate, hourly payment, main employment, research qualifications, contacts and personal criteria. Available fields depend on the schema and catalog permissions. See [Employees](/en/docs/employees). Choose Assign Reference on the correct person's row. Student and employee certificates are different subject types. If a person has both records, use the intended subject type. You cannot edit personnel/student records, create or delete people on this list. ## Issued certificate history Turn History on without changing the subject tab. Issued certificates appear newest first, with pagination. | Fields | Type | |---|---| | Document ID, reference type (template name), recipient, issue date/time, issuer, status | Both | | Subject type and faculty at issuance | Additional student columns | Issue date is shown in local DD/MM/YYYY HH:mm format. The common table exposes search, but the current server history list supports only student-ID/subject-type and pagination filtering; do not rely on history text search or sorting as guaranteed selection features. A student's profile has a separate list of their certificates. Row actions: - View document opens a read-only saved document with 50–150% zoom, printing and PDF download when the action is available. - View history shows actions, actors and dates, such as issuance, downloading, synchronization, deletion/restoration if recorded. Viewing does not issue a second certificate; PDF generation records an exported event. An ordinary issued certificate has status `issued`. Its snapshot does not change when the source profile or template changes. Viewing an old certificate is different from issuing a new one. This screen has no correction, sync, delete or restore buttons; server operations are not necessarily exposed here. Server synchronization exists for student certificates whose sources remain, updating the snapshot while retaining frozen unit names and issuer. ## Permissions and scopes | Action | Group / right | |---|---| | Student list and issued list | `ReferencesTablePull` / `references.index` | | Student preview/issuance | `ReferencePreviewAction`, `ReferenceIssueAction` / `references.preview`, `references.issue` | | Student action history/PDF | `ReferenceHistoryAction`, `ReferenceExportAction` / `references.issued.history`, `references.issued.export` | | Employee list | `EmployeesPull` / `employees.index` | | Employee issuance/preview | `EmployeeReferenceIssueAction` / `references.employee-issue` | | Employee history | `EmployeeReferenceHistoryTablePull`, `EmployeeReferenceHistoryAction` / `references.employee-history`, `references.employee-issued.history` | | Employee PDF | Server `references.employee-issued.export` is bound to employee history. The common viewer PDF button additionally checks the student `ReferenceExportAction` group. | Reference routes support Faculty, Profession and Department. Student-list scopes depend on academic affiliation, employee scopes on employment affiliation. Issued records have stored unit IDs captured when issued (for employees, from the selected work). Permission to issue one subject type does not grant issuance or history for the other. Template selection requires catalog reading permission. See [role permissions](/en/docs/role-permissions). ## Example and troubleshooting For an enrollment confirmation, find the student within their faculty, turn History off, and choose Assign Reference. Complete the [issuance form](/en/docs/reference-issue), confirm and download PDF. Return and turn History on in the Student tab to view the issued certificate. - No people: clear filters and check subject type and role scope. - Missing issuance action: check permissions for the selected type. - Certificate absent in history: check tab/mode, reload and verify stored document scope. Preview does not produce a history record. - PDF differs from the current template: you opened a saved snapshot. Do not issue a duplicate just to view it. ## Verified source files - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/References/container/index.tsx) - [ReferencesDescriptor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/References/ReferencesDescriptor.tsx) - [EmployeeReferencesDescriptor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/References/EmployeeReferencesDescriptor.tsx) - [IssuedCertificatesDescriptor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/References/IssuedCertificatesDescriptor.tsx) - [EmployeeIssuedCertificatesDescriptor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/References/EmployeeIssuedCertificatesDescriptor.tsx) - [ReferencesService.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/References/ReferencesService.ts) - [DocumentViewer.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/References/components/DocumentViewer.tsx) - [ViewHistoryModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/References/components/ViewHistoryModal.tsx) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Certificates/routes/api.php) - [ReferenceController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Certificates/Http/Controllers/ReferenceController.php) - [IssuedCertificate.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Certificates/Models/IssuedCertificate.php) - [CertificateIssuanceService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Certificates/Services/CertificateIssuanceService.php) - [HasAcademicCardFilters.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/AcademicCard/Http/Requests/Concerns/HasAcademicCardFilters.php) - [EmployeeAffiliationFilters.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Employees/Filters/EmployeeAffiliationFilters.php) --- # Issue a reference Source: https://docs.kamoorj.com/en/docs/reference-issue # Issue a reference ## Open and prepare `/references/issue/:subjectType/:subjectId` is a dedicated issuance page. Open it using Assign Reference in the [references list](/en/docs/references). Supported types are `student` and `employee`; the ID comes from the selected person's record. Issue to one subject at a time. Verify the name in the title to avoid issuing for the wrong person. If the name fails to load, the ID appears; verify the record and access before continuing. A correct certificate requires current source data and an enabled template of the appropriate type. Design the form separately in Reference Templates (`/reference-templates`). ## Choose the reference type The page displays cards for available template names. It loads enabled forms (up to 100 in the catalog request) and filters by subject type; student and employee templates are not interchangeable. Select the appropriate card. Use Change type before confirming to pick another form; previous manual values are cleared. If the list is empty, check template status, subject type and catalog read permission. It does not mean that the person is barred from all certificates. ## Data and form fields | Field | Use | |---|---| | Issuing user | Current user, read-only; recorded at issuance. | | Employee work record | Visible when the employee has more than one active work record today. Choose the relevant one; the main record is preselected if among the active records. | | Manual fields | Defined by the chosen template. Text uses an input, long text a text area, date a DD.MM.YYYY calendar. Complete requested values. | | Who signs | Shown for roles with multiple candidates without a design-time signatory pin. Choose a person for each displayed role. | | Dynamic fields on the right | Fields actually defined in the document, such as editable text or a list selection. Complete them next to the preview. | For students, variables can pull personal information, effective academic enrollment, academic data/grades, identity documents and tuition from the latest contract (base amount, discount, paid, balance, etc.). The student sequence number comes from the final educational status of the effective enrollment. Only template-selected fields with available source data are populated. Employee variables can pull personal information, documents, employment, position, role, unit and scientific qualifications, where included in the template. Sources are [employee details](/en/docs/employee-details) and [employee settings](/en/docs/employee-settings). Without an explicit choice the server uses `main_work`, otherwise the earliest work by ID. This is not the primary teaching period from department workload settings. An explicitly selected work record must belong to the subject. ## Preview and restrictions A rendered form appears on the right. The server preview loads when the saved template or subject changes; dynamic fields affect the display through the document mechanism. Manual fields, selected work and signatories are submitted at confirmation; this page does not request a new server preview whenever these change. Therefore the preview can differ from the final PDF. Printing before issuance prints the preview and **does not register a certificate**. For roles with multiple candidates the form requires a signatory selection. Options come from the template; at issuance the server further validates that the selected person is a candidate for that role in the subject's scope. Do not select an arbitrary person on error; verify the role and unit data. Complete manually entered fields marked required before confirmation; they have required indicators, but this version does not guarantee issuance is blocked for every empty manual field. ## Confirm and obtain the certificate 1. Check data, type, selected work (employee), manual/dynamic values and signatories. 2. Select Confirm & attach. This is an actual issuance, not saving a draft. The server validates template availability and subject type, assembles the document, registers a unique ID such as `REF-2026-0001`, status `issued`, date, issuer, supplied values, snapshot and issued event. 3. A successful issuance leaves you on the page, replacing the issuance action with PDF download, Print and Back. PDF download uses the stored snapshot; browser print uses the displayed preview. For the precise final result, download the PDF or open the issued certificate from history. 4. Return to the [references list](/en/docs/references), turn on history of the appropriate type and verify the record. If unsure of an issuance, check history before attempting again. The snapshot contains layout and data at issuance. Source changes do not automatically update it. If a corrected document is required, follow the institution's process; do not alter the source record solely to change the appearance of a certificate. ## Example For employment confirmation, open the employee tab and choose a fictional Anna Ivanyan. If employed in two departments, select the work entry for which proof is required. Open the enabled Employee template “Employment confirmation,” fill the intended recipient or purpose if present, choose a signatory if requested, and confirm. For example, the server assigns REF-2026-0123 (the actual number is generated). Download the final PDF and verify position and department. If incorrect, inspect the selected work record and issued snapshot; do not issue again blindly. ## Permissions and troubleshooting Student issuance uses `ReferencesTablePull`, `ReferencePreviewAction`, `ReferenceIssueAction` (server rights `references.index` and `references.issue`); employee issuance uses `EmployeeReferenceIssueAction` (`references.employee-issue`). The header and work entries make separate requests using `students.show`, `employees.show` and `employee-works.index` respectively. Reading templates and signatory candidates is bound to `reference-templates.index`. PDF download depends on read rights for the issued document type; see [references](/en/docs/references). Issuance and history routes support Faculty, Profession and Department. Issued certificate scope is stored at issuance from a student's academic affiliation or employee's work record. Template access does not grant issuance over inaccessible people. - Wrong type/missing form: check subject type, enabled status and catalog access. - Missing data: check the person, required variables and source information instead of treating the document as an ordinary word-processing file. - Work selector absent: verify active dates; it appears only when multiple active entries exist. Check work-list read permission. - Signatory rejected: recheck candidates for the role and recipient scope. - Error after confirmation: do not assume issuance succeeded without confirmation and history. Check permissions, input and template state. ## Verified source files - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/References/IssueReference/container/index.tsx) - [ReferencesService.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/References/ReferencesService.ts) - [ReferenceTemplatesService.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/HR/References/ReferenceTemplatesService.ts) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Certificates/routes/api.php) - [ReferenceController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Certificates/Http/Controllers/ReferenceController.php) - [IssueCertificateRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Certificates/Http/Requests/IssueCertificateRequest.php) - [CertificateIssuanceService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Certificates/Services/CertificateIssuanceService.php) - [CertificateRenderService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Certificates/Services/CertificateRenderService.php) - [CertificateDataResolverService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Certificates/Services/CertificateDataResolverService.php) - [EmployeeDataResolverService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Certificates/Services/EmployeeDataResolverService.php) - [CertificateSignatoryPickService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Certificates/Services/CertificateSignatoryPickService.php)