feat: add 'Cancelado_RH' status to vacation management
- Introduced a new status 'Cancelado_RH' for vacation requests, allowing for better tracking of cancellations by HR. - Updated the UI components to reflect the new status, including badge colors and alert messages. - Enhanced backend schema and mutation to support the new status, ensuring consistency across the application. - Improved logging and state management for better performance and user experience.
This commit is contained in:
@@ -332,7 +332,8 @@ export default defineSchema({
|
||||
v.literal("aprovado"),
|
||||
v.literal("reprovado"),
|
||||
v.literal("data_ajustada_aprovada"),
|
||||
v.literal("EmFérias")
|
||||
v.literal("EmFérias"),
|
||||
v.literal("Cancelado_RH")
|
||||
),
|
||||
gestorId: v.optional(v.id("usuarios")),
|
||||
observacao: v.optional(v.string()),
|
||||
|
||||
Reference in New Issue
Block a user