diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index 84702d36..ccec5b1a 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -1623,7 +1623,7 @@ export class ProfileController extends Controller { const retire_raw = await this.salaryRepo.findOne({ where: { profileId: id, - commandCode: In(["16"]), + commandCode: In(["12", "15", "16"]), }, order: { order: "desc" }, }); diff --git a/src/controllers/ProfileEmployeeController.ts b/src/controllers/ProfileEmployeeController.ts index 8b605b56..c476e3ae 100644 --- a/src/controllers/ProfileEmployeeController.ts +++ b/src/controllers/ProfileEmployeeController.ts @@ -1826,7 +1826,7 @@ export class ProfileEmployeeController extends Controller { const retire_raw = await this.salaryRepo.findOne({ where: { profileEmployeeId: id, - commandCode: In(["16"]), + commandCode: In(["12", "15", "16"]), }, order: { order: "desc" }, });