Merge branch 'develop' of github.com:Frappet/hrms-api-org into develop
This commit is contained in:
commit
45c7a179c5
4 changed files with 90 additions and 10 deletions
|
|
@ -8265,6 +8265,7 @@ export class ProfileController extends Controller {
|
|||
if (requestBody.isLeave == true) {
|
||||
await removeProfileInOrganize(profile.id, "OFFICER");
|
||||
}
|
||||
profile.leaveType = "RETIRE_DECEASED";
|
||||
await this.profileRepo.save(profile, { data: request });
|
||||
setLogDataDiff(request, { before, after: profile });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue