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

48 lines
1.7 KiB
HTML

<div style="margin: 0 auto; max-width: 40em;">
<form ng-submit="$ctrl.onSubmit()">
<vn-card class="vn-pa-md">
<vn-vertical>
<vn-horizontal>
<vn-autocomplete
vn-one
label="Agency"
ng-model="$ctrl.params.agencyModeFk"
url="/api/AgencyModes/isActive">
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal>
<vn-autocomplete
vn-one
label="Province"
ng-model="$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"
ng-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 class="vn-pa-md vn-mt-md">
<vn-zone-calendar
events="events.events"
exclusions="events.exclusions">
</vn-zone-calendar>
</vn-card>
</div>