2017-06-03 11:01:47 +00:00
|
|
|
<div pad-large style="min-width: 30em">
|
2017-09-04 07:47:25 +00:00
|
|
|
<form ng-submit="$ctrl.onSearch()">
|
|
|
|
<vn-horizontal>
|
2018-11-05 09:14:31 +00:00
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="General search"
|
|
|
|
model="filter.search"
|
|
|
|
vn-focus>
|
|
|
|
</vn-textfield>
|
2017-09-04 07:47:25 +00:00
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
2018-11-05 09:14:31 +00:00
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Client id"
|
|
|
|
model="filter.id">
|
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Tax number"
|
|
|
|
model="filter.fi">
|
|
|
|
</vn-textfield>
|
2017-09-04 07:47:25 +00:00
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
2018-11-05 09:14:31 +00:00
|
|
|
<vn-textfield
|
|
|
|
vn-one label="Name"
|
|
|
|
model="filter.name">
|
|
|
|
</vn-textfield>
|
2018-11-21 13:56:33 +00:00
|
|
|
<vn-autocomplete
|
2018-11-27 08:10:30 +00:00
|
|
|
vn-one
|
|
|
|
field="filter.salesPersonFk"
|
|
|
|
url="/client/api/Clients/activeWorkersWithRole"
|
|
|
|
search-function="{firstName: $search}"
|
|
|
|
show-field="firstName"
|
|
|
|
value-field="id"
|
|
|
|
where="{role: 'salesPerson'}"
|
|
|
|
label="Salesperson">
|
|
|
|
<tpl-item>{{firstName}} {{name}}</tpl-item>
|
|
|
|
</vn-autocomplete>
|
2017-09-04 07:47:25 +00:00
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
2018-11-05 09:14:31 +00:00
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Social name"
|
|
|
|
model="filter.socialName">
|
|
|
|
</vn-textfield>
|
2017-09-04 07:47:25 +00:00
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
2018-11-05 09:14:31 +00:00
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Town/City"
|
|
|
|
model="filter.city">
|
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Postcode"
|
|
|
|
model="filter.postcode">
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Email"
|
|
|
|
model="filter.email">
|
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Phone"
|
|
|
|
model="filter.phone">
|
|
|
|
</vn-textfield>
|
2017-09-04 07:47:25 +00:00
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal margin-large-top>
|
|
|
|
<vn-submit label="Search"></vn-submit>
|
|
|
|
</vn-horizontal>
|
|
|
|
</form>
|
2017-01-31 13:13:06 +00:00
|
|
|
</div>
|