update 2473
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m2s

This commit is contained in:
Adisak 2026-05-11 13:25:26 +07:00
parent b000e8b531
commit 7a6cf119bd
3 changed files with 12 additions and 9 deletions

View file

@ -5784,7 +5784,7 @@ export class ProfileEmployeeController extends Controller {
await this.profileRepo.save(profile);
if (requestBody.isLeave == true) {
if (orgRevisionRef) {
await CreatePosMasterHistoryEmployee(orgRevisionRef.id, request);
await CreatePosMasterHistoryEmployee(orgRevisionRef.id, request, "DELETE");
}
await removeProfileInOrganize(profile.id, "EMPLOYEE");
}