fix
This commit is contained in:
parent
7871e18130
commit
7ad713116f
2 changed files with 19 additions and 18 deletions
|
|
@ -3330,16 +3330,16 @@ export class ProfileController extends Controller {
|
|||
await new CallAPI().PostData(request, "org/profile/salary", {
|
||||
profileId: profile.id,
|
||||
date: requestBody.dateLeave,
|
||||
amount: profileSalary?.amount,
|
||||
positionSalaryAmount: profileSalary?.positionSalaryAmount,
|
||||
mouthSalaryAmount: profileSalary?.mouthSalaryAmount,
|
||||
posNo: profileSalary?.posNo,
|
||||
position: profileSalary?.position,
|
||||
positionLine: profileSalary?.positionLine,
|
||||
positionPathSide: profileSalary?.positionPathSide,
|
||||
positionExecutive: profileSalary?.positionExecutive,
|
||||
positionType: profileSalary?.positionType,
|
||||
positionLevel: profileSalary?.positionLevel,
|
||||
amount: profileSalary?.amount ?? null,
|
||||
positionSalaryAmount: profileSalary?.positionSalaryAmount ?? null,
|
||||
mouthSalaryAmount: profileSalary?.mouthSalaryAmount?? null,
|
||||
posNo: profileSalary?.posNo ?? null,
|
||||
position: profileSalary?.position ?? null,
|
||||
positionLine: profileSalary?.positionLine ?? null,
|
||||
positionPathSide: profileSalary?.positionPathSide ?? null,
|
||||
positionExecutive: profileSalary?.positionExecutive ?? null,
|
||||
positionType: profileSalary?.positionType ?? null,
|
||||
positionLevel: profileSalary?.positionLevel ?? null,
|
||||
refCommandNo: null,
|
||||
templateDoc: requestBody.leaveReason,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ import {
|
|||
} from "../entities/ProfileEmployeeEmployment";
|
||||
import { ProfileEmployeeEmploymentHistory } from "../entities/ProfileEmployeeEmploymentHistory";
|
||||
import CallAPI from "../interfaces/call-api";
|
||||
import e from "cors";
|
||||
|
||||
@Route("api/v1/org/profile-employee")
|
||||
@Tags("ProfileEmployee")
|
||||
|
|
@ -2694,17 +2695,17 @@ export class ProfileEmployeeController extends Controller {
|
|||
await new CallAPI().PostData(request, "org/profile-employee/salary", {
|
||||
profileEmployeeId: profile.id,
|
||||
date: requestBody.dateLeave,
|
||||
amount: profileSalary?.amount,
|
||||
positionSalaryAmount: profileSalary?.positionSalaryAmount,
|
||||
mouthSalaryAmount: profileSalary?.mouthSalaryAmount,
|
||||
posNo: profileSalary?.posNo,
|
||||
position: profileSalary?.position,
|
||||
positionType: profileSalary?.positionType,
|
||||
positionLevel: profileSalary?.positionLevel,
|
||||
amount: profileSalary?.amount ?? null,
|
||||
positionSalaryAmount: profileSalary?.positionSalaryAmount ?? null,
|
||||
mouthSalaryAmount: profileSalary?.mouthSalaryAmount ?? null,
|
||||
posNo: profileSalary?.posNo ?? null,
|
||||
position: profileSalary?.position ?? null,
|
||||
positionType: profileSalary?.positionType ?? null,
|
||||
positionLevel: profileSalary?.positionLevel ?? null,
|
||||
refCommandNo: null,
|
||||
templateDoc: requestBody.leaveReason,
|
||||
|
||||
});
|
||||
|
||||
|
||||
return new HttpSuccess();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue