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

@ -4565,7 +4565,7 @@ export class CommandController extends Controller {
orgChild3Ref = curPosMaster?.orgChild3 ?? null;
orgChild4Ref = curPosMaster?.orgChild4 ?? null;
if (curPosMaster) {
await CreatePosMasterHistoryEmployee(curPosMaster.id, req);
await CreatePosMasterHistoryEmployee(curPosMaster.id, req, "DELETE");
}
}
@ -5792,7 +5792,7 @@ export class CommandController extends Controller {
},
});
if (curPosMaster) {
await CreatePosMasterHistoryEmployee(curPosMaster.id, req);
await CreatePosMasterHistoryEmployee(curPosMaster.id, req, "DELETE");
}
}
await removeProfileInOrganize(_profile.id, "EMPLOYEE");