Merge pull request 'refs #5328 mod funcion createTicketRefund' (!1498) from 5328-abonarTodoTicket into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #1498
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
Reviewed-by: Vicent Llopis <vicent@verdnatura.es>
This commit is contained in:
Carlos Satorres 2023-05-30 07:47:47 +00:00
commit 6ff4c4f51d
1 changed files with 3 additions and 0 deletions

View File

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