no message
This commit is contained in:
parent
372e6d8973
commit
3a32b07272
2 changed files with 8 additions and 1 deletions
|
|
@ -2247,6 +2247,11 @@ export class EmployeePositionController extends Controller {
|
|||
profile.posLevel = positionNew.posLevel;
|
||||
profile.posType = positionNew.posType;
|
||||
profile.position = positionNew.positionName;
|
||||
profile.employeeOc = posMaster?.orgRoot?.orgRootName ?? null;
|
||||
profile.positionEmployeePositionId = positionNew.positionName;
|
||||
// profile.positionEmployeeLineId = "PERM";
|
||||
// profile.positionEmployeeGroupId = "PERM";
|
||||
|
||||
await this.profileRepository.save(profile);
|
||||
await this.employeePositionRepository.save(positionNew);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3145,8 +3145,10 @@ export class ProfileEmployeeController extends Controller {
|
|||
.then(async (x) => {
|
||||
profile.statusTemp = "DONE";
|
||||
profile.employeeClass = "PERM";
|
||||
const _null: any = null;
|
||||
profile.employeeWage = v.amount == null ? _null : v.amount.toString();
|
||||
await this.profileRepo.save(profile);
|
||||
})
|
||||
});
|
||||
await new CallAPI()
|
||||
.PostData(request, "/org/employee/pos/report/current", {
|
||||
posmasterId: profile.posmasterIdTemp,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue