fixed agency descriptor & summary

This commit is contained in:
Joan Sanchez 2019-02-11 12:59:54 +01:00
parent 7365a1e001
commit 0a5860e59c
2 changed files with 16 additions and 4 deletions

View File

@ -3,7 +3,9 @@
<a translate-attr="{title: 'Return to module index'}" ui-sref="zone.index">
<vn-icon icon="chevron_left"></vn-icon>
</a>
<vn-icon icon="my_location"></vn-icon>
<a translate-attr="{title: 'Preview'}" ui-sref="zone.card.summary({id: $ctrl.zone.id})">
<vn-icon icon="desktop_windows"></vn-icon>
</a>
<vn-icon-menu
vn-id="more-button"
icon="more_vert"
@ -15,7 +17,7 @@
</vn-icon-menu>
</vn-horizontal>
<div class="body">
<vn-one>
<div class="attributes">
<vn-label-value label="Id"
value="{{$ctrl.zone.id}}">
</vn-label-value>
@ -40,7 +42,7 @@
<vn-label-value label="Bonus"
value="{{$ctrl.zone.price | currency: 'EUR': 2}}">
</vn-label-value>
</vn-one>
</div>
</div>
</div>
<vn-confirm

View File

@ -38,7 +38,8 @@
"params": {
"zone": "$ctrl.zone"
}
}, {
},
{
"url": "/basic-data",
"state": "zone.card.basicData",
"component": "vn-zone-basic-data",
@ -46,6 +47,15 @@
"params": {
"zone": "$ctrl.zone"
}
},
{
"url": "/summary",
"state": "zone.card.summary",
"component": "vn-zone-summary",
"description": "Summary",
"params": {
"zone": "$ctrl.zone"
}
}
]
}