refs #5328 mod funcion createTicketRefund #1498
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue