# Course transfer reasons ## Purpose Open Settings from [Student Course Transfer](/en/docs/student-course-transfers) (`/students/course-transfer-reasons`). This is the shared reason catalog for next-course and manual second-semester requests. A directory reason is distinct from free-form notes and order details. ## Create a reason Choose Add and complete two fields. | Field | Rule | |---|---| | Name | Translatable, at least one language required, up to 5000 characters per translation | | Active | Enabled by default; controls availability for new requests | Example: | Language | Illustrative label | |---|---| | Russian | Успешное завершение курса | | English | Successful completion of course | | Armenian | Կուրսի հաջող ավարտ | Use labels approved by the institution. This is one record with several translations. The server checks that no language appears twice in the submitted translations; it does not separately check uniqueness of the reason name across different records. Check the existing list before creating a reason, especially if only capitalization or punctuation differs. Do not put order numbers, student names or individual circumstances in the shared directory. The [request form](/en/docs/student-course-transfer-request) has separate order and notes fields. ## Activity and use in requests - Active reasons are available for new requests of both types. - Inactive reasons are not available for new requests. If already selected in an old request, the reason can appear as its former value during editing but cannot be newly selected. - The course-transfer list filter includes inactive reasons for historical lookup. - Older requests may have no reason-directory reference if created before the catalog existed. Do not replace their original notes with an invented reason. Changing activity does not change approval state or execute transfers. Disable a discontinued reason rather than deleting it. Editing retains the reason ID; submitted translations replace the existing translation set. Complete the needed languages and do not repurpose a historical reason into a different meaning. ## List, delete and restore The list displays name and active flag. It supports searching the loaded records; the server returns the list ordered by ID without server pagination. No manual sort-order field is present. Deletion is soft with a recycle bin. A reason referenced by requests, including historical requests, cannot be deleted through the ordinary action; deactivate it if no longer applicable. Restoration returns the same record with its translations and prior activity setting, so confirm whether it should be offered again. ## Permissions and scopes Module `student-course-transfer-reasons`: `student-course-transfer-reasons.index/show/store/update/destroy/deleted-items/restore`. Read, create, edit, delete and restore have separate permissions. No faculty, profession, department or student scopes are declared; the catalog is institution-wide. Request reason selection is bound to transfer-module read access (`student-course-transfers.index`), so permission to create a transfer does not grant editing of the settings catalog. See [Role permissions](/en/docs/role-permissions). ## Troubleshooting - Missing reason in a new request: check that it is active and readable through the transfer module. - Cannot delete: the reason is in use; deactivate instead. - Incorrect text in a document: check the selected reason and language. - Need to explain one particular transfer: use the request's Notes rather than creating a shared reason. ## Implementation references - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/StudentsManagement/CourseTransferReasons/container/index.tsx) - [CourseTransferReasonsDescriptor.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/StudentsManagement/CourseTransferReasons/CourseTransferReasonsDescriptor.ts) - [CourseTransferReasonsService.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/StudentsManagement/CourseTransferReasons/CourseTransferReasonsService.ts) - [useCourseTransferReasonOptions.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/StudentsManagement/CourseTransfer/hooks/useCourseTransferReasonOptions.ts) - [EditTransferModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/StudentsManagement/CourseTransfer/components/EditTransferModal/EditTransferModal.tsx) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentCourseTransfer/routes/api.php) - [StudentCourseTransferReasonController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentCourseTransfer/Http/Controllers/StudentCourseTransferReasonController.php) - [StoreStudentCourseTransferReasonRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentCourseTransfer/Http/Requests/StoreStudentCourseTransferReasonRequest.php) - [UpdateStudentCourseTransferReasonRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentCourseTransfer/Http/Requests/UpdateStudentCourseTransferReasonRequest.php) - [StudentCourseTransferReason.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentCourseTransfer/Models/StudentCourseTransferReason.php) - [StudentCourseTransfer.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentCourseTransfer/Models/StudentCourseTransfer.php) - [CreateStudentCourseTransferRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentCourseTransfer/Http/Requests/CreateStudentCourseTransferRequest.php) - [UpdateStudentCourseTransferRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/StudentCourseTransfer/Http/Requests/UpdateStudentCourseTransferRequest.php)