54 lines
1.7 KiB
HTML
54 lines
1.7 KiB
HTML
|
<div pad-large style="min-width: 30em">
|
||
|
<form ng-submit="$ctrl.onSearch()">
|
||
|
<vn-horizontal>
|
||
|
<vn-textfield
|
||
|
vn-one
|
||
|
label="Client"
|
||
|
model="filter.client"
|
||
|
vn-focus>
|
||
|
</vn-textfield>
|
||
|
</vn-horizontal>
|
||
|
<vn-horizontal>
|
||
|
<vn-textfield
|
||
|
vn-one
|
||
|
label="Claim id"
|
||
|
model="filter.id">
|
||
|
</vn-textfield>
|
||
|
<vn-textfield
|
||
|
vn-one
|
||
|
label="Client id"
|
||
|
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
|
||
|
label="Worker"
|
||
|
field="filter.workerFk"
|
||
|
url="/claim/api/Workers"
|
||
|
show-field="firstName"
|
||
|
value-field="id">
|
||
|
<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>
|