3235-entry_summary #755

Merged
carlosjr merged 7 commits from 3235-entry_summary into dev 2021-10-20 08:35:01 +00:00
2 changed files with 21 additions and 1 deletions

View File

@ -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',

View File

@ -34,6 +34,13 @@
</vn-label-value>
</vn-one>
<vn-one>
<vn-label-value label="Reference">
<span
ng-click="travelDescriptor.show($event, $ctrl.entryData.travel.id)"
class="link">
{{$ctrl.entryData.travel.ref}}
</span>
</vn-label-value>
<vn-label-value label="Agency"
value="{{$ctrl.entryData.travel.agency.name}}">
</vn-label-value>
@ -185,4 +192,7 @@
vn-id="item-descriptor"
warehouse-fk="$ctrl.vnConfig.warehouseFk">
</vn-item-descriptor-popover>
<vn-travel-descriptor-popover
vn-id="travelDescriptor">
</vn-travel-descriptor-popover>