feat(ticket_log): add routeFk log
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2022-03-15 10:07:39 +01:00
parent 8e37518449
commit 4dea046c97
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}}", "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 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", "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', 'companyFk',
'shipped', 'shipped',
'landed', 'landed',
'isDeleted' 'isDeleted',
'routeFk'
], ],
include: [ include: [
{ {
@ -169,6 +170,7 @@ module.exports = Self => {
}] }]
}, myOptions); }, myOptions);
args.routeFk = null;
const updatedTicket = Object.assign({}, args); const updatedTicket = Object.assign({}, args);
delete updatedTicket.ctx; delete updatedTicket.ctx;
delete updatedTicket.option; delete updatedTicket.option;