3235-entry_summary #755
|
@ -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',
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue