2018-12-04 12:18:27 +00:00
|
|
|
<vn-crud-model
|
|
|
|
vn-id="model"
|
2019-10-24 22:53:53 +00:00
|
|
|
url="Zones/{{$ctrl.$params.id}}/getLeaves"
|
2019-10-08 05:22:38 +00:00
|
|
|
filter="::$ctrl.filter">
|
2018-12-04 12:18:27 +00:00
|
|
|
</vn-crud-model>
|
2019-11-10 10:08:44 +00:00
|
|
|
<vn-portal slot="topbar">
|
2020-03-13 19:33:12 +00:00
|
|
|
<vn-searchbar
|
|
|
|
on-search="$ctrl.onSearch($params)"
|
|
|
|
auto-state="false">
|
|
|
|
</vn-searchbar>
|
2019-11-10 10:08:44 +00:00
|
|
|
</vn-portal>
|
2019-10-08 07:23:29 +00:00
|
|
|
<div class="vn-w-md">
|
2020-03-13 19:33:12 +00:00
|
|
|
<vn-card class="vn-pa-lg">
|
|
|
|
<vn-treeview
|
|
|
|
vn-id="treeview"
|
|
|
|
root-label="Locations"
|
|
|
|
fetch-func="$ctrl.onFetch($item)"
|
|
|
|
sort-func="$ctrl.onSort($a, $b)">
|
|
|
|
<vn-check acl-role="deliveryBoss"
|
|
|
|
ng-model="item.selected"
|
|
|
|
on-change="$ctrl.onSelection(value, item)"
|
|
|
|
triple-state="true"
|
|
|
|
ng-click="$event.preventDefault()"
|
|
|
|
label="{{::item.name}}">
|
|
|
|
</vn-check>
|
|
|
|
</vn-treeview>
|
2019-02-01 16:11:14 +00:00
|
|
|
</vn-card>
|
2019-10-08 11:06:50 +00:00
|
|
|
</div>
|