parent
85121ffae8
commit
043a2d344e
1 changed files with 3 additions and 3 deletions
|
|
@ -4310,9 +4310,9 @@ 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");
|
||||
// }
|
||||
await removeProfileInOrganize(profile.id, "OFFICER");
|
||||
}
|
||||
const clearProfile = await checkCommandType(String(item.commandId));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue