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

45 lines
1.4 KiB
HTML
Raw Normal View History

2020-05-06 12:38:09 +00:00
<vn-descriptor-content
module="zone"
description="$ctrl.zone.name">
<slot-menu>
2020-05-06 12:38:09 +00:00
<vn-item class="vn-item"
ng-click="deleteZone.show()"
translate>
Delete
</vn-item>
</slot-menu>
<slot-body>
2019-02-11 11:59:54 +00:00
<div class="attributes">
2020-04-25 09:50:04 +00:00
<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>
2020-04-25 09:50:04 +00:00
<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>
2020-04-25 09:50:04 +00:00
<vn-label-value
label="Closing hour (ETD)"
value="{{$ctrl.zone.hour | date: 'HH:mm'}}">
2018-12-04 12:18:27 +00:00
</vn-label-value>
2020-04-25 09:50:04 +00:00
<vn-label-value
label="Traveling days"
2019-01-21 10:45:53 +00:00
value="{{$ctrl.zone.travelingDays}}">
</vn-label-value>
2020-04-25 09:50:04 +00:00
<vn-label-value
label="Price"
value="{{$ctrl.zone.price | currency: 'EUR': 2}}">
2018-12-04 12:18:27 +00:00
</vn-label-value>
2020-04-25 09:50:04 +00:00
<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>
</slot-body>
</vn-descriptor-content>
<vn-confirm
2020-04-25 09:50:04 +00:00
vn-id="deleteZone"
on-accept="$ctrl.onDeleteAccept()"
question="Are you sure you want to delete this zone?"
message="This zone will be removed">
</vn-confirm>