48 lines
1.7 KiB
HTML
48 lines
1.7 KiB
HTML
<div style="margin: 0 auto; max-width: 40em;">
|
|
<form ng-submit="$ctrl.onSubmit()">
|
|
<vn-card pad-medium>
|
|
<vn-vertical>
|
|
<vn-horizontal>
|
|
<vn-autocomplete
|
|
vn-one
|
|
label="Agency"
|
|
field="$ctrl.params.agencyModeFk"
|
|
url="/api/AgencyModes/isActive">
|
|
</vn-autocomplete>
|
|
</vn-horizontal>
|
|
<vn-horizontal>
|
|
<vn-autocomplete
|
|
vn-one
|
|
label="Province"
|
|
field="$ctrl.params.provinceFk"
|
|
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"
|
|
model="$ctrl.params.postCode">
|
|
</vn-textfield>
|
|
</vn-horizontal>
|
|
</vn-vertical>
|
|
</vn-card>
|
|
<vn-button-bar>
|
|
<vn-submit label="Query"></vn-submit>
|
|
</vn-button-bar>
|
|
</form>
|
|
<vn-card pad-medium margin-medium-top>
|
|
<vn-zone-calendar
|
|
events="events.events"
|
|
exclusions="events.exclusions">
|
|
</vn-zone-calendar>
|
|
</vn-card>
|
|
</div>
|