no message

This commit is contained in:
Kittapath 2024-08-07 18:05:24 +07:00
parent 372e6d8973
commit 3a32b07272
2 changed files with 8 additions and 1 deletions

View file

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

View file

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