From cb04b7a4b9cf587924c5cbd4c6d4e2c98f12294d Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Mon, 21 Oct 2024 14:30:22 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20id=20=E0=B8=84=E0=B8=B3=E0=B8=AA=E0=B8=B1=E0=B9=88=E0=B8=87?= =?UTF-8?q?=E0=B8=A5=E0=B8=87=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=B4=E0=B8=95=E0=B8=B3=E0=B9=81=E0=B8=AB=E0=B8=99?= =?UTF-8?q?=E0=B9=88=E0=B8=87=20#665?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/ReportController.ts | 4 ++++ 1 file changed, 4 insertions(+) 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,