2018-09-04 13:08:36 +00:00
|
|
|
<div pad-large style="min-width: 30em">
|
|
|
|
<form ng-submit="$ctrl.onSearch()">
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
2018-11-05 09:14:31 +00:00
|
|
|
label="General search"
|
|
|
|
model="filter.search"
|
2018-09-04 13:08:36 +00:00
|
|
|
vn-focus>
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
2018-11-05 09:14:31 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Client"
|
|
|
|
model="filter.client">
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
2018-09-04 13:08:36 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
2018-09-05 05:54:45 +00:00
|
|
|
label="Claim Id"
|
2018-09-04 13:08:36 +00:00
|
|
|
model="filter.id">
|
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
2018-09-05 05:54:45 +00:00
|
|
|
label="Client Id"
|
2018-09-04 13:08:36 +00:00
|
|
|
model="filter.clientFk">
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
label="State"
|
|
|
|
field="filter.claimStateFk"
|
|
|
|
url="/claim/api/ClaimStates"
|
|
|
|
show-field="description"
|
|
|
|
value-field="id">
|
|
|
|
<tpl-item>{{description}}</tpl-item>
|
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
field="filter.workerFk"
|
2018-12-12 08:20:31 +00:00
|
|
|
url="/client/api/Clients/activeWorkersWithRole"
|
|
|
|
search-function="{firstName: $search}"
|
|
|
|
value-field="id"
|
|
|
|
where="{role: 'employee'}"
|
|
|
|
label="Worker">
|
2018-09-04 13:08:36 +00:00
|
|
|
<tpl-item>{{firstName}} {{name}}</tpl-item>
|
|
|
|
</vn-autocomplete>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
|
|
|
label="Created"
|
|
|
|
model="filter.created">
|
|
|
|
</vn-date-picker>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal margin-large-top>
|
|
|
|
<vn-submit label="Search"></vn-submit>
|
|
|
|
</vn-horizontal>
|
|
|
|
</form>
|
|
|
|
</div>
|