# 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)