46 lines
1.4 KiB
HTML
46 lines
1.4 KiB
HTML
<div class="search-panel">
|
|
<form ng-submit="$ctrl.onSearch()">
|
|
<vn-horizontal>
|
|
<vn-textfield
|
|
vn-one
|
|
label="General search"
|
|
ng-model="filter.search"
|
|
info="Search suppliers by id, name or alias"
|
|
vn-focus>
|
|
</vn-textfield>
|
|
</vn-horizontal>
|
|
<vn-horizontal>
|
|
<vn-textfield
|
|
vn-one
|
|
label="Alias"
|
|
ng-model="filter.nickname">
|
|
</vn-textfield>
|
|
<vn-textfield
|
|
vn-one
|
|
label="Tax number"
|
|
ng-model="filter.nif">
|
|
</vn-textfield>
|
|
</vn-horizontal>
|
|
<vn-horizontal>
|
|
<vn-autocomplete
|
|
vn-one
|
|
label="Province"
|
|
ng-model="filter.provinceFk"
|
|
url="Provinces"
|
|
show-field="name"
|
|
value-field="id">
|
|
</vn-autocomplete>
|
|
<vn-autocomplete
|
|
vn-one
|
|
label="Country"
|
|
ng-model="filter.countryFk"
|
|
url="countries"
|
|
show-field="name"
|
|
value-field="id">
|
|
</vn-autocomplete>
|
|
</vn-horizontal>
|
|
<vn-horizontal class="vn-mt-lg">
|
|
<vn-submit label="Search"></vn-submit>
|
|
</vn-horizontal>
|
|
</form>
|
|
</div> |