noti
This commit is contained in:
parent
2af5598aae
commit
4933ce8599
3 changed files with 30 additions and 5 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue