2019-01-21 14:21:24 +00:00
|
|
|
<div class="vn-descriptor">
|
2018-12-04 12:18:27 +00:00
|
|
|
<vn-horizontal class="header">
|
|
|
|
<a translate-attr="{title: 'Return to module index'}" ui-sref="zone.index">
|
|
|
|
<vn-icon icon="chevron_left"></vn-icon>
|
|
|
|
</a>
|
2019-02-11 11:59:54 +00:00
|
|
|
<a translate-attr="{title: 'Preview'}" ui-sref="zone.card.summary({id: $ctrl.zone.id})">
|
|
|
|
<vn-icon icon="desktop_windows"></vn-icon>
|
|
|
|
</a>
|
2018-12-04 12:18:27 +00:00
|
|
|
<vn-icon-menu
|
|
|
|
vn-id="more-button"
|
|
|
|
icon="more_vert"
|
|
|
|
show-filter="false"
|
|
|
|
value-field="callback"
|
|
|
|
translate-fields="['name']"
|
|
|
|
data="$ctrl.moreOptions"
|
2018-12-04 13:38:56 +00:00
|
|
|
on-change="$ctrl.onMoreChange(value)">
|
2018-12-04 12:18:27 +00:00
|
|
|
</vn-icon-menu>
|
|
|
|
</vn-horizontal>
|
2019-01-21 14:21:24 +00:00
|
|
|
<div class="body">
|
2019-02-11 11:59:54 +00:00
|
|
|
<div class="attributes">
|
2018-12-04 12:18:27 +00:00
|
|
|
<vn-label-value label="Id"
|
2019-01-21 10:45:53 +00:00
|
|
|
value="{{$ctrl.zone.id}}">
|
2018-12-04 12:18:27 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Name"
|
2019-01-21 10:45:53 +00:00
|
|
|
value="{{$ctrl.zone.name}}">
|
2018-12-04 12:18:27 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Warehouse"
|
2019-01-21 10:45:53 +00:00
|
|
|
value="{{$ctrl.zone.warehouse.name}}">
|
2018-12-04 12:18:27 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Agency"
|
2019-01-21 10:45:53 +00:00
|
|
|
value="{{$ctrl.zone.agencyMode.name}}">
|
2018-12-04 12:18:27 +00:00
|
|
|
</vn-label-value>
|
2019-06-13 11:49:07 +00:00
|
|
|
<vn-label-value label="Closure hour (ETD)"
|
2019-02-27 16:04:00 +00:00
|
|
|
value="{{$ctrl.zone.hour | dateTime: 'HH:mm'}}">
|
2018-12-04 12:18:27 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Traveling days"
|
2019-01-21 10:45:53 +00:00
|
|
|
value="{{$ctrl.zone.travelingDays}}">
|
2018-12-04 13:38:56 +00:00
|
|
|
</vn-label-value>
|
2018-12-04 12:18:27 +00:00
|
|
|
<vn-label-value label="Price"
|
2019-01-31 10:44:03 +00:00
|
|
|
value="{{$ctrl.zone.price | currency: 'EUR': 2}}">
|
2018-12-04 12:18:27 +00:00
|
|
|
</vn-label-value>
|
|
|
|
<vn-label-value label="Bonus"
|
2019-04-08 08:57:01 +00:00
|
|
|
value="{{$ctrl.zone.bonus | currency: 'EUR': 2}}">
|
2018-12-04 12:18:27 +00:00
|
|
|
</vn-label-value>
|
2019-02-11 11:59:54 +00:00
|
|
|
</div>
|
2019-01-21 14:21:24 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-12-04 13:38:56 +00:00
|
|
|
<vn-confirm
|
|
|
|
vn-id="delete-zone"
|
|
|
|
on-response="$ctrl.returnDialog(response)"
|
2019-05-28 10:55:50 +00:00
|
|
|
question="Are you sure you want to delete this zone?"
|
|
|
|
message="This zone will be removed">
|
2018-12-04 13:38:56 +00:00
|
|
|
</vn-confirm>
|