refactor: refs #6184 Minor changes
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Guillermo Bonet 2024-02-02 12:25:48 +01:00
parent 1d596b63a0
commit eec36300ad
1 changed files with 0 additions and 10 deletions

View File

@ -137,23 +137,13 @@ module.exports = Self => {
throw new UserError('Ticket is already signed');
if (location) await setLocation(ticketId);
<<<<<<< HEAD
if (!await hasSignDms(ticketId) && !gestDocCreated)
await createGestDoc(ticketId);
=======
if (!gestDocCreated) await createGestDoc(ticketId);
>>>>>>> dev
await models.TicketDms.create({ticketFk: ticketId, dmsFk: dms[0].id}, myOptions);
await ticket.updateAttribute('isSigned', true, myOptions);
const deliveryState = await models.State.findOne({
<<<<<<< HEAD
where: {code: 'DELIVERED'}
=======
where: {
code: 'DELIVERED'
}
>>>>>>> dev
}, myOptions);
await models.Ticket.state(ctx, {