Skip to content
Kamoorjdocs
Documentation

Graduation documents

Issue documents, manage numbering, snapshots, PDF, history, reprint and cancellation.

On this page

Purpose

Open Graduation → Graduation documents (/graduation/documents). Issue student graduation documents using saved templates. This does not graduate a student or archive a course: course completion and course archive are separate operations. The employee tab is hidden in the current UI.

Before issuance, check student data, study results and an enabled graduation document template. This module reads student data rather than creating it.

Student list

The Student tab initially has History off. The read-only table shows name, educational degree, faculty, profession, study year and academic year; learning format is an optional column. Search, filters and pagination are supported. The list and filters reuse the academic card's effective academic course logic. The issuance request does not declare successful course completion as a separate mandatory condition. Do not treat appearing in this list as confirmation of diploma eligibility.

Issue a document

  1. Find the student and select the issuance action from the row menu.
  2. Select a document type, i.e. an enabled saved template. The server does not permit issuance from disabled or deleted templates.
  3. On the second step, review the name and preview. Issuing user comes from the current account and cannot be changed.
  4. Complete series, number (manual mode), issue date, template manual fields and builder dynamic fields. Check every field required by institutional rules even if the UI allows an empty value.
  5. Confirm issuance. A separate issued record, frozen content snapshot and audit entry are created. Returning to type selection before confirmation is not issuance.
Field Example Rule
Series DIP Optional string up to 255 characters
Number 0042 Up to 255; generated by server in auto mode
Issue date 1 July 2027 Optional date, distinct from save time
Template field Defense result: excellent Template text/date/textarea type
Document identifier GRD-2027-0042 Automatic sequence, distinct from series/number

Series, number and date are separate record metadata. Do not assume they automatically become manual.* values printed in the body: those variables depend on the template's separate manual fields and layout. The request does not require series, number or date, and does not enforce each manual field's required flag.

Numbering mode

The module setting numbering_mode accepts manual (default) and auto. In auto mode, Number is disabled and the server formats the number from the same sequence as the GRD identifier. Manual mode lets the operator enter a number, including an empty number in the API. Neither mode generates a series or date. The issue dialog only reads this module setting; it has no mode switch. Changing the setting does not renumber previously issued documents.

Issuance history and corrections

Turn History on. The table changes from students to issued records: document ID, template name, student, series/number, faculty, issue date, issuer and status. The menu offers document viewer, PDF, action history, reprint and cancellation depending on permissions. APIs also support sync, deletion and restoration, but these actions are not exposed in the current main list menu. The student's card has a graduation documents tab for viewing and downloading records.

Status Meaning and permitted transitions
draft Draft; may become generated, issued or cancelled
generated Generated; may become issued or cancelled
issued Issued; may be reprinted or cancelled
reprinted Reprinted; may be reprinted again or cancelled
cancelled Cancelled; no further status transitions

Ordinary issuance sets issued immediately; there is no draft editor or separate generated step here.

  • View and PDF use the saved snapshot. Ordinary template or student changes do not automatically change it.
  • Reprint updates manual/dynamic inputs, rebuilds the snapshot from current sources and marks it reprinted, retaining the original ID, series, number and date. You may attach a reason (up to 1000 characters) and one PDF/JPG/JPEG/PNG/DOC/DOCX supporting file up to 10 MB; both are optional in the request. Structural unit names retain the historical document context.
  • Cancellation records the reason and status without releasing the number for reuse. It is a terminal status.
  • Server sync rebuilds the snapshot without changing status. Reprint and sync fail if the template or student source is unavailable.

Permissions and scopes

The route requires graduation-documents. UI groups are GraduationDocumentsTablePull, GraduationDocumentIssueAction, GraduationDocumentPreviewAction, GraduationDocumentHistoryAction, GraduationDocumentExportAction, GraduationDocumentReprintAction, GraduationDocumentCancelAction, GraduationDocumentSyncAction. Server view, history, PDF and preview bind to graduation-documents.index; issue, reprint, cancellation, sync, deletion and restoration bind to graduation-documents.issue.

Supported scopes are Faculty, Profession and Department. Issued records store these IDs from the effective academic course; scopes are not just table filters. The student card tab uses student-graduation-documents.index with the same scopes. Numbering settings and templates are not scoped this way. Review role permissions, including catalogue and template read access.

Example and checks

For graduate Anna Harutyunyan, select Diploma supplement, enter the date and manual number, complete additional fields and inspect subjects and name. Confirm, find the record in History and download the PDF. If results are missing, check source academic records and template variable bindings. If a document type is absent, check whether its template is enabled and readable.

Implementation references

Updated Nov 27, 2026