API ที่ต้องปรับแก้ไข คำสั่งโปรดเกล้าฯ แต่งตั้งให้ดำรงตำแหน่ง #1780
This commit is contained in:
parent
6936846a41
commit
8a7417edf9
2 changed files with 63 additions and 20 deletions
|
|
@ -2169,7 +2169,16 @@ export class CommandController extends Controller {
|
|||
command.detailFooter = commandType.detailFooter;
|
||||
command.isAttachment = commandType.isAttachment;
|
||||
command.isUploadAttachment = commandType.isUploadAttachment;
|
||||
command.status = "NEW";
|
||||
// ถ้าเป็นคำสั่งโปรดเกล้าฯ "C-PM-47" ให้เปิดถึงรออัปโหลดไฟล์ #1780
|
||||
if (commandCode === "C-PM-47") {
|
||||
command.isSignature = true;
|
||||
command.isDraft = true;
|
||||
command.isSign = true;
|
||||
command.status = "PENDING";
|
||||
}
|
||||
else {
|
||||
command.status = "NEW";
|
||||
}
|
||||
command.issue = commandType.name;
|
||||
(command.commandAffectDate = requestBody.commandAffectDate
|
||||
? new Date(requestBody.commandAffectDate)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue