parent
043a2d344e
commit
3d689ff19c
2 changed files with 20 additions and 10 deletions
|
|
@ -4310,10 +4310,12 @@ export class CommandController extends Controller {
|
|||
lastUpdatedAt: new Date(),
|
||||
};
|
||||
if (item.isLeave != undefined && item.isLeave == true) {
|
||||
// if(orgRevisionRef){
|
||||
// await CreatePosMasterHistoryOfficer(orgRevisionRef.id, req, "DELETE");
|
||||
// }
|
||||
if(orgRevisionRef){
|
||||
await CreatePosMasterHistoryOfficer(orgRevisionRef.id, req, "DELETE");
|
||||
}
|
||||
console.log("A");
|
||||
await removeProfileInOrganize(profile.id, "OFFICER");
|
||||
console.log("Z");
|
||||
}
|
||||
const clearProfile = await checkCommandType(String(item.commandId));
|
||||
const _null: any = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue