52 lines
1.8 KiB
HTML
52 lines
1.8 KiB
HTML
|
<div class="search-panel">
|
||
|
<form class="vn-pa-lg" ng-submit="$ctrl.onSearch()">
|
||
|
<vn-horizontal>
|
||
|
<vn-textfield
|
||
|
vn-one
|
||
|
label="General search"
|
||
|
ng-model="filter.search"
|
||
|
vn-focus>
|
||
|
</vn-textfield>
|
||
|
</vn-horizontal>
|
||
|
<vn-horizontal>
|
||
|
<vn-autocomplete vn-one
|
||
|
url="AgencyModes"
|
||
|
label="Agency route"
|
||
|
show-field="name"
|
||
|
value-field="name"
|
||
|
ng-model="filter.agencyFk">
|
||
|
</vn-autocomplete>
|
||
|
<vn-autocomplete vn-one
|
||
|
url="Agencies"
|
||
|
label="Agency Agreement"
|
||
|
show-field="name"
|
||
|
value-field="name"
|
||
|
ng-model="filter.agencyAgreement">
|
||
|
</vn-autocomplete>
|
||
|
</vn-horizontal>
|
||
|
<section class="vn-px-md">
|
||
|
<vn-horizontal class="manifold-panel vn-pa-md">
|
||
|
<vn-date-picker
|
||
|
vn-one
|
||
|
label="From"
|
||
|
ng-model="filter.from"
|
||
|
on-change="$ctrl.from = value">
|
||
|
</vn-date-picker>
|
||
|
<vn-date-picker
|
||
|
vn-one
|
||
|
label="To"
|
||
|
ng-model="filter.to"
|
||
|
on-change="$ctrl.to = value">
|
||
|
</vn-date-picker>
|
||
|
<vn-icon color-marginal
|
||
|
icon="info"
|
||
|
vn-tooltip="Cannot choose a range of dates and days onward at the same time">
|
||
|
</vn-icon>
|
||
|
</vn-horizontal>
|
||
|
</section>
|
||
|
<vn-horizontal class="vn-px-lg vn-pb-lg vn-mt-lg">
|
||
|
<vn-submit label="Search"></vn-submit>
|
||
|
</vn-horizontal>
|
||
|
</form>
|
||
|
</div>
|