This commit is contained in:
parent
b000e8b531
commit
7a6cf119bd
3 changed files with 12 additions and 9 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue