salix/modules/agency/front/delivery-days/index.html

48 lines
1.7 KiB
HTML
Raw Normal View History

2019-09-25 18:06:42 +00:00
<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>
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-09-25 21:09:10 +00:00
<vn-card pad-medium margin-medium-top>
2019-09-25 18:06:42 +00:00
<vn-zone-calendar
events="events.events"
exclusions="events.exclusions">
</vn-zone-calendar>
</vn-card>
</div>