7152-devToTest_2414 #2228

Merged
alexm merged 636 commits from 7152-devToTest_2414 into test 2024-03-28 08:26:34 +00:00
1 changed files with 1 additions and 11 deletions
Showing only changes of commit cac388f986 - Show all commits

View File

@ -30,18 +30,8 @@ module.exports = Self => {
Object.assign(myOptions, options);
const ticket = await models.Ticket.findById(id, {
include: [{
relation: 'client',
scope: {
fields: ['id', 'salesPersonFk']
}
}]
fields: ['originFk', 'creationDate', 'newInstance']
}, myOptions);
const lastUpdatedTicket = await models.ticketLog.findById(id, {
include: [{
}]
});
const now = Date.vnNew();
const maxDate = new Date(ticket.updated);