2020-05-06 12:38:09 +00:00
|
|
|
<vn-descriptor-content
|
|
|
|
module="zone"
|
2022-04-11 06:02:05 +00:00
|
|
|
description="$ctrl.zone.name"
|
|
|
|
summary="$ctrl.$.summary">
|
2020-04-30 10:48:52 +00:00
|
|
|
<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>
|
2020-04-30 10:48:52 +00:00
|
|
|
</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="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
|
2020-05-08 12:01:49 +00:00
|
|
|
label="Closing hour"
|
2019-10-18 23:18:25 +00:00
|
|
|
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}}">
|
2018-12-04 13:38:56 +00:00
|
|
|
</vn-label-value>
|
2020-04-25 09:50:04 +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>
|
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>
|
2020-04-30 10:48:52 +00:00
|
|
|
</slot-body>
|
|
|
|
</vn-descriptor-content>
|
2022-04-11 06:02:05 +00:00
|
|
|
<vn-popup vn-id="summary">
|
|
|
|
<vn-zone-summary zone="$ctrl.zone"></vn-zone-summary>
|
|
|
|
</vn-popup>
|
|
|
|
|
2018-12-04 13:38:56 +00:00
|
|
|
<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()"
|
2019-05-28 10:55:50 +00:00
|
|
|
message="This zone will be removed">
|
2020-05-08 12:01:49 +00:00
|
|
|
</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>
|