fix คำสั่งเลื่อนขั้นค่าจ้าง

This commit is contained in:
Bright 2024-07-15 14:03:28 +07:00
parent 3c4b099f15
commit 765082ab10

View file

@ -6424,19 +6424,19 @@ export class ReportController extends Controller {
});
if (salary != null) {
await new CallAPI()
.PostData(request, "/org/profile/salary", {
profileId: salary.profileId,
.PostData(request, "/org/profile-employee/salary", {
profileEmployeeId: salary.profileId,
date: new Date(),
amount: salary.positionSalaryAmount,
positionSalaryAmount: salary.amountSpecial,
mouthSalaryAmount: null,
posNo: salary.orgShortName + salary.posMasterNo,
position: salary.position,
positionLine: null,
positionPathSide: null,
positionExecutive: null,
// positionLine: null,
// positionPathSide: null,
// positionExecutive: null,
positionType: salary.posType,
positionLevel: salary.posLevel,
positionLevel: salary.posLevel ? String(salary.posLevel) : null,
refCommandNo: v.refCommandNo,
templateDoc: v.templateDoc,
})