This commit is contained in:
AdisakKanthawilang 2025-09-05 11:44:17 +07:00
parent 6de0acd9df
commit 2a542e9f5c

View file

@ -3706,6 +3706,8 @@ export class CommandController extends Controller {
profile.isActive = true;
}
await this.profileRepository.save(profile);
console.log("item>>>", item);
console.log("clearProfile.LeaveType >>>", clearProfile.LeaveType );
if (item.posmasterId && clearProfile.LeaveType != "RETIRE_OUT_EMP") {
await CreatePosMasterHistoryOfficer(item.posmasterId, req);
}