2019-01-30 23:33:43 +00:00
|
|
|
<div class="search-panel">
|
2019-01-28 15:24:45 +00:00
|
|
|
<form ng-submit="$ctrl.onSearch()">
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="General search"
|
|
|
|
model="filter.search"
|
2019-04-12 12:33:08 +00:00
|
|
|
info="Search workers by id, firstName, lastName or user name"
|
2019-01-28 15:24:45 +00:00
|
|
|
vn-focus>
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
2019-03-11 07:00:49 +00:00
|
|
|
label="Worker id"
|
2019-01-28 15:24:45 +00:00
|
|
|
model="filter.id">
|
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
2019-03-11 07:00:49 +00:00
|
|
|
label="User id"
|
2019-04-16 05:59:29 +00:00
|
|
|
model="filter.userFk">
|
2019-01-29 15:37:59 +00:00
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
2019-03-11 07:00:49 +00:00
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Name"
|
|
|
|
model="filter.firstName">
|
|
|
|
</vn-textfield>
|
2019-01-29 15:37:59 +00:00
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Last name"
|
2019-01-28 15:24:45 +00:00
|
|
|
model="filter.name">
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
2019-03-11 07:00:49 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="User name"
|
|
|
|
model="filter.userName">
|
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Fiscal Identifier"
|
|
|
|
model="filter.fi">
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
field="filter.departmentFk"
|
|
|
|
url="/api/Departments"
|
|
|
|
show-field="name"
|
|
|
|
value-field="id"
|
|
|
|
label="Department">
|
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Extension"
|
|
|
|
model="filter.extension">
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
2019-01-28 15:24:45 +00:00
|
|
|
<vn-horizontal margin-large-top>
|
|
|
|
<vn-submit label="Search"></vn-submit>
|
|
|
|
</vn-horizontal>
|
|
|
|
</form>
|
|
|
|
</div>
|