This commit is contained in:
kittapath 2024-10-11 13:39:41 +07:00
parent 2af5598aae
commit 4933ce8599
3 changed files with 30 additions and 5 deletions

View file

@ -1020,7 +1020,7 @@ export class CommandController extends Controller {
.PostData(request, "/placement/noti/profiles", {
subject: `${command.issue}`,
body: `${command.issue}`,
receiverUserId: profiles,
receiverUserIds: profiles,
payload: "", //แนบไฟล์
isSendMail: true,
isSendInbox: true,
@ -1112,8 +1112,11 @@ export class CommandController extends Controller {
if (issue == null) issue = "...................................";
const _command = {
issue: issue,
commandNo: command.commandNo,
commandYear: command.commandYear,
commandNo: command.commandNo == null ? "" : Extension.ToThaiNumber(command.commandNo),
commandYear:
command.commandYear == null
? ""
: Extension.ToThaiNumber(Extension.ToThaiYear(command.commandYear).toString()),
commandTitle: command.issue,
detailHeader: command.detailHeader,
detailBody: command.detailBody,

View file

@ -189,7 +189,7 @@ export class WorkflowController extends Controller {
.PostData(req, "/placement/noti/profiles", {
subject: `รายการถูกส่ง`,
body: `รายการถูกส่ง`,
receiverUserId: profileNow,
receiverUserIds: profileNow,
payload: "", //แนบไฟล์
isSendMail: true,
isSendInbox: true,
@ -206,7 +206,7 @@ export class WorkflowController extends Controller {
.PostData(req, "/placement/noti/profiles", {
subject: `ได้รับรายการ`,
body: `ได้รับรายการ`,
receiverUserId: profileNext,
receiverUserIds: profileNext,
payload: "", //แนบไฟล์
isSendMail: true,
isSendInbox: true,