Merge branch '4700-split-tour' of https://gitea.verdnatura.es/verdnatura/salix into 3963-ticket-advance
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
commit
09d7c450a2
|
@ -51,7 +51,7 @@ module.exports = Self => {
|
||||||
if (!ticket.id || !ticket.ticketFuture) continue;
|
if (!ticket.id || !ticket.ticketFuture) continue;
|
||||||
await models.Sale.updateAll({ ticketFk: ticket.id }, { ticketFk: ticket.ticketFuture }, myOptions);
|
await models.Sale.updateAll({ ticketFk: ticket.id }, { ticketFk: ticket.ticketFuture }, myOptions);
|
||||||
await models.Ticket.setDeleted(ctx, ticket.id, myOptions);
|
await models.Ticket.setDeleted(ctx, ticket.id, myOptions);
|
||||||
await models.Chat.sendCheckingPresence(ctx, 1, message);
|
await models.Chat.sendCheckingPresence(ctx, ticket.workerFk, message);
|
||||||
};
|
};
|
||||||
if (tx) {
|
if (tx) {
|
||||||
await tx.commit();
|
await tx.commit();
|
||||||
|
|
Loading…
Reference in New Issue