feat: atualizar fluxo OT, dashboard, transacoes e PDFs
This commit is contained in:
@@ -27,6 +27,7 @@ const CATEGORY_LABEL: Record<string, string> = {
|
||||
}
|
||||
|
||||
const STATUS_LABELS: Record<string, string> = {
|
||||
quote: 'Orçamento',
|
||||
open: 'Aberta',
|
||||
in_progress: 'Em Curso',
|
||||
completed: 'Concluída',
|
||||
@@ -35,6 +36,7 @@ const STATUS_LABELS: Record<string, string> = {
|
||||
}
|
||||
|
||||
const TRANSITIONS: Record<string, string[]> = {
|
||||
quote: ['open', 'cancelled'],
|
||||
open: ['in_progress', 'cancelled'],
|
||||
in_progress: ['completed', 'cancelled'],
|
||||
completed: ['invoiced', 'cancelled'],
|
||||
|
||||
Reference in New Issue
Block a user