diff --git a/src/controllers/ProfileSalaryTempController.ts b/src/controllers/ProfileSalaryTempController.ts index 9c21a1d1..c853524c 100644 --- a/src/controllers/ProfileSalaryTempController.ts +++ b/src/controllers/ProfileSalaryTempController.ts @@ -1130,7 +1130,7 @@ export class ProfileSalaryTempController extends Controller { order: { order: "DESC" }, }); if (salary) { - dest_item = salary.order; + dest_item = salary.order+1; } // const profile = await this.profileRepo.findOneBy({ id: body.profileId }); // if (!profile) { @@ -1148,7 +1148,7 @@ export class ProfileSalaryTempController extends Controller { order: { order: "DESC" }, }); if (salary) { - dest_item = salary.order; + dest_item = salary.order+1; } // const profile = await this.profileEmployeeRepo.findOneBy({ id: body.profileId }); // if (!profile) { diff --git a/src/interfaces/utils.ts b/src/interfaces/utils.ts index 1d8d3c87..596f53c5 100644 --- a/src/interfaces/utils.ts +++ b/src/interfaces/utils.ts @@ -615,6 +615,8 @@ export function commandTypePath(commandCode: string): string | null { return "/salary/report/command35/officer/report"; //SALARY case "C-PM-46": return "/salary/report/command36/employee/report"; //SALARY + case "C-PM-47": + return "/placement/appointment/gazette/report"; default: return null; }