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

40 lines
1.2 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"
model="filter.search"
2018-09-19 13:05:07 +00:00
vn-focus>
</vn-textfield>
</vn-horizontal>
<vn-horizontal>
<vn-textfield
vn-one
label="Name"
model="filter.name">
</vn-textfield>
</vn-horizontal>
2018-09-19 13:05:07 +00:00
<vn-horizontal>
<vn-autocomplete
vn-one
label="Agency"
field="filter.agencyModeFk"
url="/agency/api/AgencyModes/isActive"
2018-09-19 13:05:07 +00:00
show-field="name"
value-field="id">
</vn-autocomplete>
<vn-autocomplete
vn-one
label="Warehouse"
field="filter.warehouseFk"
2018-09-25 13:02:33 +00:00
url="/agency/api/Warehouses"
2018-09-19 13:05:07 +00:00
show-field="name"
value-field="id">
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal margin-large-top>
<vn-submit label="Search"></vn-submit>
</vn-horizontal>
</form>
</div>