feat: add salary family and income tax options for dependents in employee registration

- Enhanced the employee registration form by adding checkboxes for "Salário Família" and "Imposto de Renda" for each dependent.
- Updated the backend schema and mutations to include optional fields for salary family and income tax benefits.
- Improved the handling of dependent data to accommodate the new fields, enhancing the overall functionality of the dependents management section.
This commit is contained in:
2025-11-04 10:54:39 -03:00
parent f7cc758d33
commit f02eb473ca
3 changed files with 40 additions and 3 deletions

View File

@@ -148,6 +148,9 @@ export default defineSchema({
cpf: v.string(),
nascimento: v.string(),
documentoId: v.optional(v.id("_storage")),
// Benefícios/declarações por dependente
salarioFamilia: v.optional(v.boolean()),
impostoRenda: v.optional(v.boolean()),
})
)
),