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:
@@ -188,6 +188,8 @@ export const create = mutation({
|
||||
cpf: v.string(),
|
||||
nascimento: v.string(),
|
||||
documentoId: v.optional(v.id("_storage")),
|
||||
salarioFamilia: v.optional(v.boolean()),
|
||||
impostoRenda: v.optional(v.boolean()),
|
||||
})
|
||||
)
|
||||
),
|
||||
@@ -334,6 +336,8 @@ export const update = mutation({
|
||||
cpf: v.string(),
|
||||
nascimento: v.string(),
|
||||
documentoId: v.optional(v.id("_storage")),
|
||||
salarioFamilia: v.optional(v.boolean()),
|
||||
impostoRenda: v.optional(v.boolean()),
|
||||
})
|
||||
)
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user