แก้ไข get เเละ put temp-information

This commit is contained in:
AnandaTon 2023-09-01 20:04:26 +07:00
parent f194efe064
commit 267f863205
2 changed files with 86 additions and 47 deletions

View file

@ -148,6 +148,19 @@ const defaultInformation: Information = {
profileType: null,
};
const defaultTempInformation: any = {
employeeMoneyIncrease: null,
employeeMoneyAllowance: null,
employeeMoneyEmployee: null,
employeeMoneyEmployer: null,
positionEmployeeGroupId: null,
positionEmployeePositionId: null,
positionEmployeeLineId: null,
employeeTypeIndividual: null,
employeeOc: null,
employeeWage: null,
};
const defaultFamily: Family = {
prefixC: null,
prefixIdC: null,
@ -175,7 +188,13 @@ const defaultFamily: Family = {
childrens: [],
};
export { defaultInformation, defaultFamily, defaultAddress, defaultGoverment };
export {
defaultInformation,
defaultFamily,
defaultAddress,
defaultGoverment,
defaultTempInformation,
};
export type {
ChangeActive,
Information,