admin_ruspet/src/features/approvalTasks/const.ts

20 lines
729 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export const TASK_STATUSES = [
{ value: 'pending', label: 'В ожидании', color: 'blue', icon: 'clock' },
{ value: 'waiting', label: 'Ожидает', color: 'orange', icon: 'hourglass' },
{ value: 'completed', label: 'Выполнена', color: 'green', icon: 'check' },
{ value: 'cancelled', label: 'Отменена', color: 'gray', icon: 'x' },
] as const
export const STATUS_COLORS: Record<string, string> = {
pending: 'blue',
waiting: 'orange',
completed: 'green',
cancelled: 'gray',
}
export const STATUS_LABELS: Record<string, string> = {
pending: 'В ожидании',
waiting: 'Ожидает',
completed: 'Выполнена',
cancelled: 'Отменена',
}