salix/modules/agency/front/search-panel/index.html

34 lines
1.0 KiB
HTML
Raw Normal View History

<div class="search-panel">
2018-09-19 13:05:07 +00:00
<form ng-submit="$ctrl.onSearch()">
<vn-horizontal>
<vn-textfield
vn-one
label="General search"
2019-10-09 22:47:29 +00:00
ng-model="filter.search"
2019-04-12 12:33:08 +00:00
info="Search zone by id or name"
2018-09-19 13:05:07 +00:00
vn-focus>
</vn-textfield>
</vn-horizontal>
<vn-horizontal>
<vn-textfield
vn-one
label="Name"
2019-10-09 22:47:29 +00:00
ng-model="filter.name">
</vn-textfield>
</vn-horizontal>
2018-09-19 13:05:07 +00:00
<vn-horizontal>
<vn-autocomplete
vn-one
label="Agency"
2019-10-09 22:47:29 +00:00
ng-model="filter.agencyModeFk"
url="AgencyModes/isActive"
2020-02-06 12:07:01 +00:00
where="{deliveryMethodFk: {neq: null}}"
2019-11-10 10:08:44 +00:00
value-field="id"
show-field="name">
2018-09-19 13:05:07 +00:00
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal class="vn-mt-lg">
2018-09-19 13:05:07 +00:00
<vn-submit label="Search"></vn-submit>
</vn-horizontal>
</form>
</div>