salix/modules/agency/front/descriptor/index.html

54 lines
1.9 KiB
HTML
Raw Normal View History

2018-12-04 12:18:27 +00:00
<vn-card margin-medium-v class="vn-descriptor">
<vn-horizontal class="header">
<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>
<vn-icon-menu
vn-id="more-button"
icon="more_vert"
show-filter="false"
value-field="callback"
translate-fields="['name']"
data="$ctrl.moreOptions"
on-change="$ctrl.onMoreChange(value)">
2018-12-04 12:18:27 +00:00
</vn-icon-menu>
</vn-horizontal>
<vn-horizontal pad-medium>
<vn-one>
<vn-label-value label="Id"
value="{{::$ctrl.zone.id}}">
2018-12-04 12:18:27 +00:00
</vn-label-value>
<vn-label-value label="Name"
value="{{::$ctrl.zone.name}}">
2018-12-04 12:18:27 +00:00
</vn-label-value>
<vn-label-value label="Warehouse"
value="{{::$ctrl.zone.warehouse.name}}">
2018-12-04 12:18:27 +00:00
</vn-label-value>
<vn-label-value label="Agency"
value="{{::$ctrl.zone.agencyMode.name}}">
2018-12-04 12:18:27 +00:00
</vn-label-value>
</vn-one>
<vn-one>
<vn-label-value label="Estimated hour (ETD)"
value="{{::$ctrl.zone.hour | date: 'HH:mm'}}">
2018-12-04 12:18:27 +00:00
</vn-label-value>
<vn-label-value label="Traveling days"
value="{{::$ctrl.zone.travelingDays}}">
</vn-label-value>
2018-12-04 12:18:27 +00:00
<vn-label-value label="Price"
value="{{::$ctrl.zone.price | currency: '€': 2}}">
2018-12-04 12:18:27 +00:00
</vn-label-value>
<vn-label-value label="Bonus"
value="{{::$ctrl.zone.price | currency: '€': 2}}">
2018-12-04 12:18:27 +00:00
</vn-label-value>
</vn-one>
</vn-horizontal>
</vn-card>
<vn-confirm
vn-id="delete-zone"
on-response="$ctrl.returnDialog(response)"
question="Delete zone"
message="Are you sure you want to delete this zone?">
</vn-confirm>