fix: ticket
This commit is contained in:
+4
-13
@@ -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: 'بسته شده',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user