2921 - Changed the ticket url of rocket notifications
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
782783b0b4
commit
a5c3ba3926
|
@ -62,7 +62,7 @@ module.exports = Self => {
|
||||||
itemId: sale.itemFk,
|
itemId: sale.itemFk,
|
||||||
ticketId: sale.ticketFk,
|
ticketId: sale.ticketFk,
|
||||||
nickname: nickname,
|
nickname: nickname,
|
||||||
ticketUrl: `${origin}/#!/ticket/${sale.ticketFk}/summary`,
|
ticketUrl: `${origin}/#!/ticket/${sale.ticketFk}/sale`,
|
||||||
itemUrl: `${origin}/#!/item/${sale.itemFk}/summary`
|
itemUrl: `${origin}/#!/item/${sale.itemFk}/summary`
|
||||||
});
|
});
|
||||||
await models.Chat.sendCheckingPresence(ctx, salesPerson.id, message);
|
await models.Chat.sendCheckingPresence(ctx, salesPerson.id, message);
|
||||||
|
|
|
@ -221,7 +221,7 @@ module.exports = Self => {
|
||||||
|
|
||||||
const message = $t('Changed this data from the ticket', {
|
const message = $t('Changed this data from the ticket', {
|
||||||
ticketId: args.id,
|
ticketId: args.id,
|
||||||
ticketUrl: `${origin}/#!/ticket/${args.id}/summary`,
|
ticketUrl: `${origin}/#!/ticket/${args.id}/sale`,
|
||||||
changes: changesMade
|
changes: changesMade
|
||||||
});
|
});
|
||||||
await models.Chat.sendCheckingPresence(ctx, salesPersonId, message, myOptions);
|
await models.Chat.sendCheckingPresence(ctx, salesPersonId, message, myOptions);
|
||||||
|
|
|
@ -77,7 +77,7 @@ module.exports = Self => {
|
||||||
const origin = ctx.req.headers.origin;
|
const origin = ctx.req.headers.origin;
|
||||||
const message = $t('This ticket is not an stowaway anymore', {
|
const message = $t('This ticket is not an stowaway anymore', {
|
||||||
ticketId: stowawayFk,
|
ticketId: stowawayFk,
|
||||||
ticketUrl: `${origin}/#!/ticket/${stowawayFk}/summary`
|
ticketUrl: `${origin}/#!/ticket/${stowawayFk}/sale`
|
||||||
});
|
});
|
||||||
await models.Chat.sendCheckingPresence(ctx, salesPerson.id, message);
|
await models.Chat.sendCheckingPresence(ctx, salesPerson.id, message);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue