2019-10-23 15:38:35 +00:00
|
|
|
<div class="vn-w-md">
|
|
|
|
<vn-zone-calendar
|
2020-02-26 06:02:03 +00:00
|
|
|
data="data"
|
|
|
|
on-selection="$ctrl.onSelection($event, $events)">
|
2019-10-23 15:38:35 +00:00
|
|
|
</vn-zone-calendar>
|
2019-09-25 18:06:42 +00:00
|
|
|
</div>
|
2019-11-14 13:37:18 +00:00
|
|
|
<vn-side-menu side="right">
|
|
|
|
<form ng-submit="$ctrl.onSubmit()" class="vn-pa-md">
|
2020-03-24 16:32:30 +00:00
|
|
|
<vn-radio
|
|
|
|
label="Pick up"
|
|
|
|
val="pickUp"
|
|
|
|
ng-model="params.deliveryMethodFk">
|
|
|
|
</vn-radio>
|
|
|
|
<vn-radio
|
|
|
|
label="Delivery"
|
|
|
|
val="delivery"
|
|
|
|
ng-model="params.deliveryMethodFk">
|
|
|
|
</vn-radio>
|
|
|
|
<vn-autocomplete vn-one
|
|
|
|
ng-show="params.deliveryMethodFk === 'delivery'"
|
|
|
|
label="Postcode"
|
|
|
|
ng-model="params.geoFk"
|
|
|
|
url="Postcodes/location"
|
|
|
|
fields="['code','townFk']"
|
|
|
|
order="code, townFk"
|
|
|
|
value-field="geoFk"
|
|
|
|
show-field="code">
|
2019-11-14 13:37:18 +00:00
|
|
|
<tpl-item>
|
2020-03-24 16:32:30 +00:00
|
|
|
{{code}} - {{town.name}} ({{town.province.name}},
|
|
|
|
{{town.province.country.country}})
|
2019-11-14 13:37:18 +00:00
|
|
|
</tpl-item>
|
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-autocomplete
|
|
|
|
label="Agency"
|
|
|
|
ng-model="params.agencyModeFk"
|
2020-03-24 16:32:30 +00:00
|
|
|
url="AgencyModes/isActive"
|
|
|
|
where="$ctrl.agencyFilter">
|
2019-11-14 13:37:18 +00:00
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-submit label="Query" class="vn-mt-sm"></vn-submit>
|
|
|
|
</form>
|
|
|
|
</vn-side-menu>
|
2020-02-26 06:02:03 +00:00
|
|
|
|
|
|
|
<!-- Zone Popover -->
|
|
|
|
<vn-popover vn-id="zoneEvents">
|
|
|
|
<div class="zoneEvents">
|
|
|
|
<div class="header vn-pa-sm" translate>Zones</div>
|
|
|
|
<vn-zone-index vn-id="zoneIndex"></vn-zone-index>
|
|
|
|
</div>
|
|
|
|
</vn-popover>
|