diff --git a/src/controllers/ReportController.ts b/src/controllers/ReportController.ts index 48627c3..5d8e0d9 100644 --- a/src/controllers/ReportController.ts +++ b/src/controllers/ReportController.ts @@ -1050,6 +1050,7 @@ export class ReportController extends Controller { refId: string commandAffectDate: Date | null commandNo: string | null + commandId: string | null commandYear: number templateDoc: string | null amount: Double | null @@ -1062,6 +1063,7 @@ export class ReportController extends Controller { .PostData(request, "/org/command/excexute/salary-probation", { data: body.refIds.map(v => ({ profileId: v.refId, + commandId: v.commandId, date: v.commandAffectDate, refCommandNo: `${v.commandNo}/${Extension.ToThaiYear(v.commandYear)}`, salaryRef: v.templateDoc, @@ -1131,6 +1133,7 @@ export class ReportController extends Controller { refId: string commandAffectDate: Date | null commandNo: string | null + commandId: string | null commandYear: number templateDoc: string | null amount: Double | null @@ -1143,6 +1146,7 @@ export class ReportController extends Controller { .PostData(request, "/org/command/excexute/salary-probation-leave", { data: body.refIds.map(v => ({ profileId: v.refId, + commandId: v.commandId, date: v.commandAffectDate, refCommandNo: `${v.commandNo}/${Extension.ToThaiYear(v.commandYear)}`, salaryRef: v.templateDoc,