fixes #5149 ticket.descriptor-menu Eliminar ticket, debe comprobar que no existe un abono #1348

Merged
joan merged 8 commits from 5149-check-ticket.refund into dev 2023-03-02 06:30:18 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 915c598c0c - Show all commits

View File

@ -2789,7 +2789,7 @@ INSERT INTO `vn`.`workerConfig` (`id`, `businessUpdated`, `roleFk`)
INSERT INTO `vn`.`ticketRefund`(`refundTicketFk`, `originalTicketFk`)
VALUES
(1, 31);
(1, 12);
INSERT INTO `vn`.`deviceProductionModels` (`code`)
VALUES

View File

@ -118,7 +118,7 @@ describe('ticket setDeleted()', () => {
return value;
};
const ticketId = 30;
const ticketId = 12;
await models.Ticket.setDeleted(ctx, ticketId, options);
await tx.rollback();