@@ -206,3 +206,20 @@ export const SERVICE_TYPE = Object.freeze({
|
||||
educational: 'آموزشی',
|
||||
other: 'سایر',
|
||||
})
|
||||
|
||||
// Lifecycle of a dispatch request assigned to a missionary. `pending` is the
|
||||
// initial backend state; the missionary may set seen, accepted, or rejected.
|
||||
export const MISSIONARY_REQUEST_STATUS = Object.freeze({
|
||||
pending: 'در انتظار بررسی',
|
||||
seen: 'دیده شده',
|
||||
accepted: 'پذیرفته شده',
|
||||
rejected: 'رد شده',
|
||||
})
|
||||
|
||||
// Landing route per role after login / when a logged-in user hits a guest
|
||||
// page. Roles not listed here fall back to the student dashboard.
|
||||
export const ROLE_HOME_ROUTES = Object.freeze({
|
||||
admin: 'admin-dashboard',
|
||||
counselor: 'counselor-consultations',
|
||||
missionary: 'missionary-requests',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user