fix(updateQuantity): fix rocket translation #2581

Merged
alexm merged 2 commits from 6408-hotFix_updateQuantity into master 2024-06-12 08:10:14 +00:00
1 changed files with 31 additions and 29 deletions
Showing only changes of commit de0f0623e1 - Show all commits

View File

@ -96,6 +96,7 @@ module.exports = Self => {
AND s.originalQuantity <> s.quantity
`, [params.ticketFk], myOptions);
if (sales.length) {
let changes = '';
const url = await models.Url.getUrl();
const $t = ctx.req.__;
@ -120,6 +121,7 @@ module.exports = Self => {
});
await models.Chat.sendCheckingPresence(ctx, salesPersonFk, message, myOptions);
}
}
await Self.rawSql(`CALL vn.ticket_setState(?, ?)`, [ticket.id, params.code], myOptions);
const ticketTracking = await models.TicketTracking.findOne({