diff --git a/modules/entry/back/methods/entry/getEntry.js b/modules/entry/back/methods/entry/getEntry.js index 30078c5f9..74ccc88c5 100644 --- a/modules/entry/back/methods/entry/getEntry.js +++ b/modules/entry/back/methods/entry/getEntry.js @@ -38,7 +38,17 @@ module.exports = Self => { { relation: 'travel', scope: { - fields: ['id', 'name', 'shipped', 'landed', 'agencyFk', 'warehouseOutFk', 'warehouseInFk', 'isReceived', 'isDelivered'], + fields: [ + 'id', + 'name', + 'shipped', + 'landed', + 'agencyFk', + 'warehouseOutFk', + 'warehouseInFk', + 'isReceived', + 'isDelivered', + 'ref'], include: [ { relation: 'agency', diff --git a/modules/entry/front/summary/index.html b/modules/entry/front/summary/index.html index 6ed066a0b..f443a94fe 100644 --- a/modules/entry/front/summary/index.html +++ b/modules/entry/front/summary/index.html @@ -34,6 +34,13 @@ + + + {{$ctrl.entryData.travel.ref}} + + @@ -185,4 +192,7 @@ vn-id="item-descriptor" warehouse-fk="$ctrl.vnConfig.warehouseFk"> + +