3625-feat(ticket_log): add routeFk log #897

Merged
carlosjr merged 2 commits from 3625-ticket_log_routeFk into dev 2022-03-21 12:04:45 +00:00
2 changed files with 5 additions and 2 deletions

View File

@ -121,5 +121,6 @@
"Deny buy request": "Purchase request for ticket id [{{ticketId}}]({{{url}}}) has been rejected. Reason: {{observation}}",
"The type of business must be filled in basic data": "The type of business must be filled in basic data",
"The worker has hours recorded that day": "The worker has hours recorded that day",
"isWithoutNegatives": "isWithoutNegatives"
"isWithoutNegatives": "isWithoutNegatives",
"routeFk": "routeFk"
}

View File

@ -158,7 +158,8 @@ module.exports = Self => {
'companyFk',
'shipped',
'landed',
'isDeleted'
'isDeleted',
'routeFk'
],
include: [
{
@ -169,6 +170,7 @@ module.exports = Self => {
}]
}, myOptions);
args.routeFk = null;
const updatedTicket = Object.assign({}, args);
delete updatedTicket.ctx;
delete updatedTicket.option;