refs #5328 mod funcion createTicketRefund #1498

Merged
carlossa merged 11 commits from 5328-abonarTodoTicket into dev 2023-05-30 07:47:48 +00:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit 3ac1ce403c - Show all commits

View File

@ -100,9 +100,7 @@ module.exports = Self => {
}, myOptions); }, myOptions);
} }
} }
const query = `CALL vn.ticket_recalc(?)`; await Self.rawSql(query, [refundTicket.id], myOptions);
const query = `CALL vn.ticket_recalc(?)`;
const [result] = await Self.rawSql(query, [refundTicket.id]);
if (tx) await tx.commit(); if (tx) await tx.commit();
return refundTicket; return refundTicket;