add field amountSpecial

This commit is contained in:
Bright 2024-12-06 18:53:56 +07:00
parent 27409a892f
commit a2d5cec4fe
3 changed files with 3 additions and 0 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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;