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"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-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-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.id">
|
2019-01-28 15:24:45 +00:00
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
2019-03-11 07:00:49 +00:00
|
|
|
label="User id"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-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"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.firstName">
|
2019-03-11 07:00:49 +00:00
|
|
|
</vn-textfield>
|
2019-01-29 15:37:59 +00:00
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Last name"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.name">
|
2019-01-28 15:24:45 +00:00
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
2019-03-11 07:00:49 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="User name"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.userName">
|
2019-03-11 07:00:49 +00:00
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Fiscal Identifier"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.fi">
|
2019-03-11 07:00:49 +00:00
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.departmentFk"
|
2019-10-24 22:53:53 +00:00
|
|
|
url="Departments"
|
2019-03-11 07:00:49 +00:00
|
|
|
show-field="name"
|
|
|
|
value-field="id"
|
|
|
|
label="Department">
|
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Extension"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.extension">
|
2019-03-11 07:00:49 +00:00
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
2019-10-04 22:16:57 +00:00
|
|
|
<vn-horizontal class="vn-mt-lg">
|
2019-01-28 15:24:45 +00:00
|
|
|
<vn-submit label="Search"></vn-submit>
|
|
|
|
</vn-horizontal>
|
|
|
|
</form>
|
|
|
|
</div>
|