fix รายการลาออกลูกจ้างข้อมูลเงินเดือนไม่แสดง

This commit is contained in:
Bright 2024-12-20 11:52:34 +07:00
parent be2b1fa161
commit 84ebb4a11b
5 changed files with 8 additions and 3 deletions

View file

@ -1866,7 +1866,8 @@ export class ProfileEmployeeTempController extends Controller {
? null
: profile.current_holders.find((x) => x.orgRevisionId == orgRevisionPublish.id)?.orgChild4
.orgChild4Name,
salary: profile.amount,
salary: profile ? profile.amount : null,
amountSpecial: profile ? profile.amountSpecial : null
};
return new HttpSuccess(_profile);
}