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

56 lines
1.7 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"
2020-06-02 06:59:04 +00:00
ng-click="$ctrl.onDelete()"
2020-05-06 12:38:09 +00:00
translate>
Delete
</vn-item>
2020-06-02 06:59:04 +00:00
<vn-item
ng-click="clone.show()"
name="cloneZone"
translate>
Clone
</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"
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"
2020-06-02 08:17:46 +00:00
on-accept="$ctrl.deleteZone()"
message="This zone will be removed">
</vn-confirm>
2020-06-02 06:59:04 +00:00
<vn-confirm
vn-id="clone"
on-accept="$ctrl.onCloneAccept()"
question="Do you want to clone this zone?"
message="All it's properties will be copied">
</vn-confirm>