diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index f4e99a28..55cfae55 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -2432,6 +2432,8 @@ export class CommandController extends Controller { "C-PM-37", "C-PM-42", "C-PM-43", + "C-PM-45", + "C-PM-46", ].includes(commandCode) ) { let posMaster = await this.employeePosMasterRepository.find({ diff --git a/src/interfaces/utils.ts b/src/interfaces/utils.ts index 3b066475..0223a185 100644 --- a/src/interfaces/utils.ts +++ b/src/interfaces/utils.ts @@ -579,6 +579,10 @@ export function commandTypePath(commandCode: string): string | null { return "/retirement/resign-employee/leave-cancel/report"; case "C-PM-43": return "/retirement/out/command/report"; + case "C-PM-45": + return "/salary/report/command35/officer/report"; //SALARY + case "C-PM-46": + return "/salary/report/command36/employee/report"; //SALARY default: return null; }