Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 59s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 59s
This commit is contained in:
commit
cd3bcac5f8
1 changed files with 3 additions and 1 deletions
|
|
@ -4341,9 +4341,11 @@ export class CommandController extends Controller {
|
|||
createdAt: new Date(),
|
||||
lastUpdatedAt: new Date(),
|
||||
};
|
||||
if (item.isLeave != undefined && item.isLeave == true) {
|
||||
if (orgRevisionRef && item.isLeave == true){
|
||||
console.log("profile.current_holders.id>>>",orgRevisionRef.id);
|
||||
await CreatePosMasterHistoryOfficer(orgRevisionRef.id, req, "DELETE");
|
||||
}
|
||||
if (item.isLeave != undefined && item.isLeave == true) {
|
||||
console.log("profile.id>>>",profile.id);
|
||||
await removeProfileInOrganize(profile.id, "OFFICER");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue