# Dismissal reasons ## Purpose Open Settings in [Student Dismissal](/en/docs/student-dismissals), `/students/dismissal-reasons`. This is the shared catalog of dismissal categories available in individual [request cards](/en/docs/student-dismissal-request). A reason is not an educational status: the target inactive status is selected separately. ## Add a reason Choose Add and complete: | Field | Rule | |---|---| | Name | Translatable; at least one language, up to 255 characters per translation | | Active | Enabled by default | Illustrative names: RU “По собственному желанию”, EN “At own request”, HY “Սեփական ցանկությամբ”. Use categories approved by the institution. One record contains translations rather than separate reasons per language. The server rejects repeated language entries in submitted translations; it does not separately check name uniqueness across records. Check for an equivalent existing reason. Do not place names or personal order details in the shared catalog. Use the request's basis and free-text explanation for these. ## Reason ordering The table displays name, position and active flag. New entries normally appear at the end. Drag rows to change order with edit permission; there is no separate numeric position input. For example, place frequently used reasons before uncommon reasons. The full list loads without server pagination, ordered by position and then ID. After dragging, verify the saved order and request options. ## Activity and historical records Active reasons are offered in the dismissal request form. Inactive entries cannot be newly selected or submitted. Changing activity does not change existing requests or student statuses. Editing retains the reason ID, and submitted translations replace the previous set. Complete the necessary languages. If a reason is already used, avoid changing its meaning because the displayed category of historical records may change. Create a distinct record for a genuinely different basis. Deletion is soft, but the current UI has no recycle-bin/restore flow and such routes are not provided. Unlike some other catalogs, the server does not specifically block soft deletion of an in-use reason; the request reference remains but normal loading of the deleted reason may return an empty value. For used reasons, prefer **deactivating** rather than deleting to preserve historical display. ## Permissions and scopes Module `student-dismissal-reasons`. Read, create, edit and delete use `student-dismissal-reasons.index/show/store/update/destroy`. Reordering uses edit permission (`student-dismissal-reasons.order` is bound to `student-dismissal-reasons.update`). No faculty, profession, department or student scopes are declared; the catalog is shared across the institution. An operator sending dismissal requests needs read access to the catalog but does not necessarily need permission to add, delete or reorder reasons. See [Role permissions](/en/docs/role-permissions). ## Troubleshooting - Empty reason selector: verify active entries and read access; the form may link to settings. Reopen the request after adding a reason. - Cannot drag rows: verify edit permission and that the order was saved. - Reason no longer shown on old request: check whether the entry was deleted; a new same-named entry would not restore the old relationship. - Need to explain one individual case: use the request's free-text explanation, not a catalog change. ## Implementation references - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/StudentsManagement/StudentDismissalReasons/container/index.tsx) - [StudentDismissalReasonsDescriptor.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/StudentsManagement/StudentDismissalReasons/StudentDismissalReasonsDescriptor.ts) - [StudentDismissalReasonsService.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/StudentsManagement/StudentDismissalReasons/StudentDismissalReasonsService.ts) - [SendDismissalRequestModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/StudentsManagement/StudentDismissal/components/SendDismissalRequestModal/SendDismissalRequestModal.tsx) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentDismissal/routes/api.php) - [StudentDismissalReasonController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentDismissal/Http/Controllers/StudentDismissalReasonController.php) - [StoreStudentDismissalReasonRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentDismissal/Http/Requests/StoreStudentDismissalReasonRequest.php) - [UpdateStudentDismissalReasonRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentDismissal/Http/Requests/UpdateStudentDismissalReasonRequest.php) - [OrderStudentDismissalReasonsRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentDismissal/Http/Requests/OrderStudentDismissalReasonsRequest.php) - [StudentDismissalReason.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentDismissal/Models/StudentDismissalReason.php) - [StudentDismissal.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentDismissal/Models/StudentDismissal.php) - [StoreStudentDismissalRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentDismissal/Http/Requests/StoreStudentDismissalRequest.php)