diff --git a/src/controllers/ReportController.ts b/src/controllers/ReportController.ts index 16b3d4a..8586c9c 100644 --- a/src/controllers/ReportController.ts +++ b/src/controllers/ReportController.ts @@ -1810,7 +1810,7 @@ export class ReportController extends Controller { salaryPeriodId: salaryPeriodId, }, type: "NONE", //ไม่ได้เลื่อน - isRetired: false, //กรองเฉพาะคนที่ไม่เกษียณ + isRetired: salaryPeriod.period === 'APR' ? In([true, false]) : false, //กรองเฉพาะคนที่ไม่เกษียณเฉพาะรอบตุลา }, order: { salaryOrg: {