refs #5542 "importar reclamacion" crea un registro en ticketRefund
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
38e5660e61
commit
9f04581862
|
@ -109,6 +109,11 @@ module.exports = Self => {
|
||||||
zoneFk: zone.id
|
zoneFk: zone.id
|
||||||
}, myOptions);
|
}, myOptions);
|
||||||
|
|
||||||
|
await models.TicketRefund.create({
|
||||||
|
refundTicketFk: newRefundTicket.id,
|
||||||
|
originalTicketFk: claim.ticket().id
|
||||||
|
}, myOptions);
|
||||||
|
|
||||||
await saveObservation({
|
await saveObservation({
|
||||||
description: `Reclama ticket: ${claim.ticketFk}`,
|
description: `Reclama ticket: ${claim.ticketFk}`,
|
||||||
ticketFk: newRefundTicket.id,
|
ticketFk: newRefundTicket.id,
|
||||||
|
|
Loading…
Reference in New Issue