diff --git a/src/controllers/ProfileSalaryController.ts b/src/controllers/ProfileSalaryController.ts index 970ff8a9..74daa7e0 100644 --- a/src/controllers/ProfileSalaryController.ts +++ b/src/controllers/ProfileSalaryController.ts @@ -178,6 +178,7 @@ export class ProfileSalaryController extends Controller { let null_:any = null; profile.amount = body.amount ?? null_; + profile.amountSpecial = body.amountSpecial ?? null_; profile.positionSalaryAmount = body.positionSalaryAmount ?? null_; profile.mouthSalaryAmount = body.mouthSalaryAmount ?? null_; await this.profileRepo.save(profile); diff --git a/src/controllers/ProfileSalaryEmployeeController.ts b/src/controllers/ProfileSalaryEmployeeController.ts index 1c3c89ce..0fb5bc9e 100644 --- a/src/controllers/ProfileSalaryEmployeeController.ts +++ b/src/controllers/ProfileSalaryEmployeeController.ts @@ -194,6 +194,7 @@ export class ProfileSalaryEmployeeController extends Controller { let null_:any = null; profile.amount = body.amount ?? null_; + profile.amountSpecial = body.amountSpecial ?? null_; profile.positionSalaryAmount = body.positionSalaryAmount ?? null_; profile.mouthSalaryAmount = body.mouthSalaryAmount ?? null_; await this.profileRepo.save(profile); diff --git a/src/entities/ProfileSalary.ts b/src/entities/ProfileSalary.ts index 17428d38..704065f3 100644 --- a/src/entities/ProfileSalary.ts +++ b/src/entities/ProfileSalary.ts @@ -213,6 +213,7 @@ export class CreateProfileSalaryEmployee { profileEmployeeId: string | null; date?: Date | null; amount?: Double | null; + amountSpecial?: Double | null; commandId?: string | null; positionSalaryAmount?: Double | null; mouthSalaryAmount?: Double | null;