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 2 additions and 2 deletions
Showing only changes of commit 566f03c497 - Show all commits

View File

@ -112,7 +112,7 @@ module.exports = Self => {
}
};
async function createTicketRefund(ticketId, now, refundAgencyMode, refoundZoneId, myOptions, vTicketId) {
async function createTicketRefund(ticketId, now, refundAgencyMode, refoundZoneId, myOptions) {
const models = Self.app.models;
const filter = {include: {relation: 'address'}};
@ -133,7 +133,7 @@ module.exports = Self => {
await models.TicketRefund.create({
refundTicketFk: refundTicket.id,
originalTicketFk: ticket.id,
}, myOptions, [result]);
}, myOptions);
return refundTicket;
}