fix: ticket

This commit is contained in:
sajjadtalkhabi
2026-06-05 18:43:02 +03:30
parent 1c665830b0
commit ea562aeefa
53 changed files with 2475 additions and 859 deletions
+4 -13
View File
@@ -165,6 +165,10 @@ export const ASSIGNMENT_PRIORITY = Object.freeze({
optional: 'اختیاری',
})
// Single ticket-lifecycle vocabulary. Used by every ticket-like resource —
// admin /messages, admin /services, admin /consultations, counselor, student
// /my-tickets, /user/services, /user/consultants. Backend exposes exactly
// these three values across all of them.
export const TICKET_STATUS = Object.freeze({
open: 'باز',
answered: 'پاسخ داده شده',
@@ -182,22 +186,9 @@ export const PRIORITY_STATUS = Object.freeze({
low: 'پایین',
})
export const SERVICE_STATUS = Object.freeze({
approved: 'تایید شده',
pending: 'در انتظار بررسی',
in_progress: 'در حال انجام',
completed: 'تکمیل شده',
})
export const SERVICE_TYPE = Object.freeze({
loan: 'وام',
consultation: 'مشاوره',
educational: 'آموزشی',
other: 'سایر',
})
export const CONSULTATION_STATUS = Object.freeze({
open: 'در حال گفتگو',
answered: 'پاسخ داده شده',
closed: 'بسته شده',
})