From e221b3fc0dacd36ef30271b3b07d40289e940e38 Mon Sep 17 00:00:00 2001 From: Bright Date: Mon, 6 Jan 2025 11:28:08 +0700 Subject: [PATCH] no message --- src/controllers/CommandTypeController.ts | 37 ++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/src/controllers/CommandTypeController.ts b/src/controllers/CommandTypeController.ts index 2f6df4fc..d0094066 100644 --- a/src/controllers/CommandTypeController.ts +++ b/src/controllers/CommandTypeController.ts @@ -160,6 +160,43 @@ export class CommandTypeController extends Controller { }; _commandType = _commandType10; } + else if (["C-PM-21", "C-PM-23"].includes(_commandType.code)) { + let _commandType21and23: any; + _commandType21and23 = { + id: _commandType.id, + name: _commandType.name, + commandSysId: _commandType.commandSysId, + code: _commandType.code, + fileCover: _commandType.fileCover, + fileAttachment: _commandType.fileAttachment, + isActive: _commandType.isActive, + detailHeader: _commandType.detailHeader, + detailBody: _commandType.detailBody, + detailFooter: _commandType.detailFooter, + subtitle: _commandType.subtitle, + isAttachment: _commandType.isAttachment, + name1: "๑. ..........................ประธาน", + name2: "๒. ..........................กรรมการ", + name3: "๓. ..........................กรรมการ", + name4: "๔. ..........................กรรมการ", + persons: [ + { + no: "-", + org: "-", + fullName: "-", + citizenId: "-", + position: "-", + posLevel: "-", + posNo: "-", + amount: "-", + dateRetire: "-", + dateExecute: "-", + remark: "-" + } + ] + }; + _commandType = _commandType21and23; + } return new HttpSuccess(_commandType); }