เพิ่มแสดงเหตุผลการพ้นจากราชการในทะเบียนประวัติ #1240
This commit is contained in:
parent
03a7b45aa3
commit
b2c8bdecf3
4 changed files with 90 additions and 10 deletions
|
|
@ -8263,6 +8263,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