From 396440e4bcb85315928789821fe9896e0d8591fe Mon Sep 17 00:00:00 2001 From: Bright Date: Wed, 20 Nov 2024 18:57:03 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B9=81=E0=B8=99=E0=B8=9A=E0=B8=97?= =?UTF-8?q?=E0=B9=89=E0=B8=B2=E0=B8=A2=E0=B8=84=E0=B8=B3=E0=B8=AA=E0=B8=B1?= =?UTF-8?q?=E0=B9=88=E0=B8=87=E0=B8=A3=E0=B8=B1=E0=B8=81=E0=B8=A9=E0=B8=B2?= =?UTF-8?q?=E0=B8=81=E0=B8=B2=E0=B8=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/CommandController.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index 7d530528..b3993ebb 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -3446,6 +3446,7 @@ export class CommandController extends Controller { RemarkHorizontal?: any | null; RemarkVertical?: any | null; CommandYear?: any | null; + CommandExcecuteDate?: Date | null; }[]; }, ) { @@ -3515,7 +3516,9 @@ export class CommandController extends Controller { "/" +*/ _organizationNew ?? "-", // date: Extension.ToThaiShortDate_noPrefix(new Date()), - dateStart: "-", + dateStart: item.CommandExcecuteDate + ? Extension.ToThaiShortDate(item.CommandExcecuteDate) + : "-", dateEnd: "-", order: posMasterAct.posMasterOrder == null