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:
2025-11-17 19:07:03 -03:00
parent 2c3d231d20
commit 0e5a26b5fd
4 changed files with 178 additions and 127 deletions

View File

@@ -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()),