Purpose
Open Students Management → Profession Tuition → Settings (/students/tuition/settings). There are two tabs: Student Payment Categories and Discounts. They manage shared catalogues; this page does not record a student's actual payment or apply a personal discount.
Access to each tab is evaluated independently. The browser session remembers the last selected tab.
Student payment categories
A category refines the reason or basis of an existing educational payment type, such as paid or free study. Creating a category does not determine the student's tuition automatically.
In Student Payment Categories, press Add.
| Field | Rule | Example |
|---|---|---|
| Name | Required translated name, up to 255 characters; at least one translation | Contract-funded study |
| Educational payment type | Required reference to an existing type | Paid |
| Status | Required activity switch (true/false) | On |
Create one multilingual record, e.g. RU «Договорное обучение», EN Contract-funded study, HY «Պայմանագրային ուսուցում». The language code is limited to five characters; each record can have one translation per language. There is no abbreviation, percentage, amount, currency or validity period field. The validator does not separately prohibit duplicate names across categories; use unambiguous labels.
Save and verify the payment type. A state-funded category, for example, should reference the appropriate free payment type rather than a paid one. Use your institution's actual categories.
Where a category is used
In the student details educational form, first select the payment type; the category selector offers records of that type. Changing a payment type clears the previously selected category. The server checks that a supplied category matches the student's payment type; the category can also be empty. The activity flag is not checked by this particular validation and form filtering, so disabling a category does not guarantee that all selectors will hide it.
Categories are also used in staff-entered profession payment-category counts. Creating one does not automatically assign students or charge tuition. Assign an applicable category in the student's educational details; use Student Payments for individual monetary amounts.
Discounts
The Discounts tab creates percentage presets that can later be selected for a particular student and semester.
| Field | Rule | Example |
|---|---|---|
| Name | At least one required translation, up to 255 characters | Academic discount |
| Percentage | Required number in range 0–100 | 20 |
For example, create «Академическая скидка» / Academic discount / «Ակադեմիական զեղչ» at 20%. Another preset can use 12.5%; percentages are stored with two decimal places. Each language code is limited to five characters, with one translation per language. There is no status, validity period, faculty selector or automatic eligibility rule in this form.
Selecting a preset in the student's discount dialog fills its percentage from the catalogue, which can then be overridden. The percentage applied to the student's term is stored separately. Changing a catalogue preset from 20 to 25 does not automatically recalculate existing individual discounts. Individual discounts and payments
Search, editing and export
Categories support translated-name search, status and payment-type filters, and sorting for supported fields. Discounts support server search by name and sorting by percentage or creation date; there are no additional discount filters. Both tables feature standard Excel/PDF export.
Editing either catalogue record replaces the existing set of translations with the submitted set; preserve needed languages in the form. Both support soft deletion and restoration from trash. Neither service explicitly checks every linked educational status or applied discount before deletion. A deleted category stops appearing in ordinary catalogue queries. A deleted discount preset may not resolve its name in historical individual discount records, although the applied percentage remains. Review actual use before archiving.
Access and scopes
Both catalogues are shared, with no explicitly declared Faculty, Department, Profession or Subject scopes.
| Action | Categories | Discounts |
|---|---|---|
| List | student-payment-categories.index |
discounts.index |
| Create | student-payment-categories.store |
discounts.store |
| Edit | student-payment-categories.update |
discounts.update |
| Delete | student-payment-categories.destroy |
discounts.destroy |
| Trash | student-payment-categories.deleted-items |
discounts.deleted-items |
| Restore | student-payment-categories.restore |
discounts.restore |
Creating/editing categories also requires study-payment-types.index to populate the payment-type selector. The tabs use the StudentPaymentCategoryTablePull and DiscountsTablePull UI groups. Individual discounts, charges and payments have separate permissions.
Troubleshooting
- Tab absent: check its list permission.
- Category not offered in the student form: check the selected payment type and category existence.
- Discount rejected: its percentage must be in range 0–100.
- Preset changed but the student's percentage stayed the same: the individual value is stored separately; review the selected year.
Source references
- frontend-edusystems · index.tsx
- frontend-edusystems · StudentPaymentCategoryDescriptor.ts
- frontend-edusystems · DiscountsDescriptor.ts
- frontend-edusystems · EducationRotation.tsx
- frontend-edusystems · permissionActionMap.json
- backend-edusystems · ModulesSeeder.php
- backend-edusystems · api.php
- backend-edusystems · StoreStudentPaymentCategoriesRequest.php
- backend-edusystems · UpdateStudentPaymentCategoriesRequest.php
- backend-edusystems · IndexStudentPaymentCategoriesRequest.php
- backend-edusystems · StudentPaymentCategoriesService.php
- backend-edusystems · StudentPaymentCategoriesTableRepository.php
- backend-edusystems · StudentPaymentCategory.php
- backend-edusystems · api.php
- backend-edusystems · StoreDiscountRequest.php
- backend-edusystems · UpdateDiscountRequest.php
- backend-edusystems · IndexDiscountRequest.php
- backend-edusystems · DiscountService.php
- backend-edusystems · DiscountTableRepository.php
- backend-edusystems · Discount.php
- backend-edusystems · ValidPaymentCategoryRule.php
- backend-edusystems · StudentEducationalDetailsFormRequest.php
- backend-edusystems · ProfessionTuitionCategoryCount.php
- backend-edusystems · StudentTuitionService.php