45 lines
1.4 KiB
HTML
45 lines
1.4 KiB
HTML
<vn-descriptor-content
|
|
module="zone"
|
|
description="$ctrl.zone.name">
|
|
<slot-menu>
|
|
<vn-item class="vn-item"
|
|
ng-click="deleteZone.show()"
|
|
translate>
|
|
Delete
|
|
</vn-item>
|
|
</slot-menu>
|
|
<slot-body>
|
|
<div class="attributes">
|
|
<vn-label-value
|
|
label="Warehouse"
|
|
value="{{$ctrl.zone.warehouse.name}}">
|
|
</vn-label-value>
|
|
<vn-label-value
|
|
label="Agency"
|
|
value="{{$ctrl.zone.agencyMode.name}}">
|
|
</vn-label-value>
|
|
<vn-label-value
|
|
label="Closing hour (ETD)"
|
|
value="{{$ctrl.zone.hour | date: 'HH:mm'}}">
|
|
</vn-label-value>
|
|
<vn-label-value
|
|
label="Traveling days"
|
|
value="{{$ctrl.zone.travelingDays}}">
|
|
</vn-label-value>
|
|
<vn-label-value
|
|
label="Price"
|
|
value="{{$ctrl.zone.price | currency: 'EUR': 2}}">
|
|
</vn-label-value>
|
|
<vn-label-value
|
|
label="Bonus"
|
|
value="{{$ctrl.zone.bonus | currency: 'EUR': 2}}">
|
|
</vn-label-value>
|
|
</div>
|
|
</slot-body>
|
|
</vn-descriptor-content>
|
|
<vn-confirm
|
|
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> |