From 565f343e19313939eb7576ff83c3a40f612e9426 Mon Sep 17 00:00:00 2001 From: carlosjr Date: Tue, 22 Jun 2021 09:39:33 +0200 Subject: [PATCH] added isDelivered, isReceived and removed travel descriptor --- modules/entry/back/methods/entry/getEntry.js | 2 +- modules/entry/front/summary/index.html | 21 +++++++++++--------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/modules/entry/back/methods/entry/getEntry.js b/modules/entry/back/methods/entry/getEntry.js index c14ca800a..30078c5f9 100644 --- a/modules/entry/back/methods/entry/getEntry.js +++ b/modules/entry/back/methods/entry/getEntry.js @@ -38,7 +38,7 @@ module.exports = Self => { { relation: 'travel', scope: { - fields: ['id', 'name', 'shipped', 'landed', 'agencyFk', 'warehouseOutFk', 'warehouseInFk'], + fields: ['id', 'name', 'shipped', 'landed', 'agencyFk', 'warehouseOutFk', 'warehouseInFk', 'isReceived', 'isDelivered'], include: [ { relation: 'agency', diff --git a/modules/entry/front/summary/index.html b/modules/entry/front/summary/index.html index 3f91ddc26..60467ae88 100644 --- a/modules/entry/front/summary/index.html +++ b/modules/entry/front/summary/index.html @@ -34,12 +34,8 @@ - - - {{$ctrl.entryData.travel.agency.name}} - + @@ -47,12 +43,22 @@ + + + + @@ -174,7 +180,4 @@ vn-id="item-descriptor" warehouse-fk="$ctrl.vnConfig.warehouseFk"> - -