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
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 · 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
Enter appointments on the Work tab
- 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.
- 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
- 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.
- 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 [email protected], 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
- frontend-edusystems · PersonalInfo/container/index.tsx
- frontend-edusystems · components/PersonalInfoForm/PersonalInfoForm.tsx
- frontend-edusystems · PersonalInfo/utils/buildEmployeeDocuments.ts
- frontend-edusystems · PersonalInfo/utils/personalAddressFields.ts
- frontend-edusystems · Work/container/index.tsx
- frontend-edusystems · components/WorkEntry/WorkEntry.tsx
- frontend-edusystems · WorkMain/App/WorkMain.tsx
- frontend-edusystems · Work/utils/generateWorks.ts
- backend-edusystems · Employees/routes/api.php
- backend-edusystems · Http/Requests/EmployeeRequest.php
- backend-edusystems · Http/Requests/EmployeeWorkRequest.php
- backend-edusystems · Employees/Services/EmployeeWorkScopeGuard.php
- backend-edusystems · Employees/Services/EmployeeWorkService.php
- backend-edusystems · Employees/Services/EmployeeTeachingExportSettings.php