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

81 lines
2.1 KiB
HTML
Raw Permalink Normal View History

<div class="search-panel">
2019-02-05 08:13:15 +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 client by id or name"
2019-02-05 08:13:15 +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">
2019-02-05 08:13:15 +00:00
</vn-textfield>
<vn-worker-autocomplete
2019-02-05 08:13:15 +00:00
vn-one
2019-10-09 22:47:29 +00:00
ng-model="filter.salesPersonFk"
departments="['VT']"
2019-02-05 08:13:15 +00:00
label="Salesperson">
</vn-worker-autocomplete>
2019-02-05 08:13:15 +00:00
</vn-horizontal>
<vn-horizontal>
<vn-textfield
vn-one
label="Tax number"
ng-model="filter.fi">
</vn-textfield>
2019-02-05 08:13:15 +00:00
<vn-textfield
vn-one
label="Social name"
2019-10-09 22:47:29 +00:00
ng-model="filter.socialName">
2019-02-05 08:13:15 +00:00
</vn-textfield>
</vn-horizontal>
<vn-horizontal>
<vn-textfield
vn-one
label="Town/City"
2019-10-09 22:47:29 +00:00
ng-model="filter.city">
2019-02-05 08:13:15 +00:00
</vn-textfield>
<vn-textfield
vn-one
label="Postcode"
2019-10-09 22:47:29 +00:00
ng-model="filter.postcode">
2019-02-05 08:13:15 +00:00
</vn-textfield>
</vn-horizontal>
<vn-horizontal>
<vn-autocomplete
ng-model="filter.provinceFk"
url="Provinces"
show-field="name"
value-field="id"
label="Province">
</vn-autocomplete>
<vn-autocomplete
ng-model="filter.zoneFk"
url="Zones"
show-field="name"
value-field="id"
label="Zone">
</vn-autocomplete>
</vn-horizontal>
2019-02-05 08:13:15 +00:00
<vn-horizontal>
<vn-textfield
vn-one
label="Email"
2019-10-09 22:47:29 +00:00
ng-model="filter.email">
2019-02-05 08:13:15 +00:00
</vn-textfield>
<vn-textfield
vn-one
label="Phone"
2019-10-09 22:47:29 +00:00
ng-model="filter.phone">
2019-02-05 08:13:15 +00:00
</vn-textfield>
</vn-horizontal>
<vn-horizontal class="vn-mt-lg">
2019-02-05 08:13:15 +00:00
<vn-submit label="Search"></vn-submit>
</vn-horizontal>
</form>
</div>