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 models = Self.app.models;
|
||||||
|
|
||||||
const filter = {include: {relation: 'address'}};
|
const filter = {include: {relation: 'address'}};
|
||||||
|
@ -133,7 +133,7 @@ module.exports = Self => {
|
||||||
await models.TicketRefund.create({
|
await models.TicketRefund.create({
|
||||||
refundTicketFk: refundTicket.id,
|
refundTicketFk: refundTicket.id,
|
||||||
originalTicketFk: ticket.id,
|
originalTicketFk: ticket.id,
|
||||||
}, myOptions, [result]);
|
}, myOptions);
|
||||||
|
|
||||||
return refundTicket;
|
return refundTicket;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue