2019-09-25 18:06:42 +00:00
|
|
|
<div style="margin: 0 auto; max-width: 40em;">
|
|
|
|
<form ng-submit="$ctrl.onSubmit()">
|
2019-10-04 22:16:57 +00:00
|
|
|
<vn-card class="vn-pa-md">
|
2019-09-25 18:06:42 +00:00
|
|
|
<vn-vertical>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
label="Agency"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="$ctrl.params.agencyModeFk"
|
2019-09-25 18:06:42 +00:00
|
|
|
url="/api/AgencyModes/isActive">
|
|
|
|
</vn-autocomplete>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
label="Province"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="$ctrl.params.provinceFk"
|
2019-09-25 18:06:42 +00:00
|
|
|
url="/api/Provinces"
|
|
|
|
fields="['countryFk']"
|
|
|
|
include="'country'"
|
|
|
|
style="margin-right: .5em;">
|
|
|
|
<tpl-item>
|
|
|
|
<div>{{name}}</div>
|
|
|
|
<div style="font-size: .9em; color: gray; line-height: .8em;">
|
|
|
|
{{country.country}}
|
|
|
|
</div>
|
|
|
|
</tpl-item>
|
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Postcode"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="$ctrl.params.postCode">
|
2019-09-25 18:06:42 +00:00
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
</vn-vertical>
|
|
|
|
</vn-card>
|
|
|
|
<vn-button-bar>
|
2019-09-25 21:09:10 +00:00
|
|
|
<vn-submit label="Query"></vn-submit>
|
2019-09-25 18:06:42 +00:00
|
|
|
</vn-button-bar>
|
|
|
|
</form>
|
2019-10-04 22:16:57 +00:00
|
|
|
<vn-card class="vn-pa-md vn-mt-md">
|
2019-09-25 18:06:42 +00:00
|
|
|
<vn-zone-calendar
|
|
|
|
events="events.events"
|
|
|
|
exclusions="events.exclusions">
|
|
|
|
</vn-zone-calendar>
|
|
|
|
</vn-card>
|
|
|
|
</div>
|