2019-01-30 23:33:43 +00:00
|
|
|
<div class="search-panel">
|
2018-09-04 13:08:36 +00:00
|
|
|
<form ng-submit="$ctrl.onSearch()">
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
2018-11-05 09:14:31 +00:00
|
|
|
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 claim by id or client name"
|
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
|
2022-02-07 16:59:40 +00:00
|
|
|
label="Client Id"
|
2020-03-10 06:38:21 +00:00
|
|
|
ng-model="filter.clientFk">
|
2018-09-04 13:08:36 +00:00
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
2020-03-10 06:38:21 +00:00
|
|
|
label="Client"
|
2022-04-08 06:52:21 +00:00
|
|
|
ng-model="filter.clientName">
|
2018-09-04 13:08:36 +00:00
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
2023-07-13 10:59:39 +00:00
|
|
|
<vn-worker-autocomplete
|
2018-09-04 13:08:36 +00:00
|
|
|
vn-one
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.salesPersonFk"
|
2023-07-13 10:59:39 +00:00
|
|
|
departments="['VT']"
|
2019-09-02 10:23:49 +00:00
|
|
|
label="Salesperson">
|
2023-07-13 10:59:39 +00:00
|
|
|
</vn-worker-autocomplete>
|
|
|
|
<vn-worker-autocomplete
|
2018-09-04 13:08:36 +00:00
|
|
|
vn-one
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.attenderFk"
|
2023-07-13 10:59:39 +00:00
|
|
|
departments="['VT']"
|
2019-09-02 10:23:49 +00:00
|
|
|
label="Attended by">
|
2023-07-13 10:59:39 +00:00
|
|
|
</vn-worker-autocomplete>
|
2018-09-04 13:08:36 +00:00
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
2019-09-02 10:23:49 +00:00
|
|
|
<vn-autocomplete vn-one
|
|
|
|
label="State"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.claimStateFk"
|
2019-10-24 22:53:53 +00:00
|
|
|
url="ClaimStates"
|
2019-09-02 10:23:49 +00:00
|
|
|
show-field="description"
|
|
|
|
value-field="id">
|
|
|
|
<tpl-item>{{description}}</tpl-item>
|
|
|
|
</vn-autocomplete>
|
2018-09-04 13:08:36 +00:00
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
|
|
|
label="Created"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.created">
|
2018-09-04 13:08:36 +00:00
|
|
|
</vn-date-picker>
|
|
|
|
</vn-horizontal>
|
2022-11-23 13:04:43 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-autocomplete vn-one class="dense"
|
|
|
|
label="Item"
|
|
|
|
url="Items/withName"
|
|
|
|
ng-model="filter.itemFk"
|
|
|
|
show-field="name"
|
|
|
|
value-field="id"
|
|
|
|
search-function="$ctrl.itemSearchFunc($search)"
|
|
|
|
order="id DESC">
|
|
|
|
<tpl-item>{{::id}} - {{::name}}</tpl-item>
|
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
ng-model="filter.claimResponsibleFk"
|
|
|
|
url="ClaimResponsibles"
|
|
|
|
show-field="description"
|
|
|
|
value-field="id"
|
|
|
|
label="Responsible">
|
|
|
|
</vn-autocomplete>
|
|
|
|
</vn-horizontal>
|
2019-10-04 22:16:57 +00:00
|
|
|
<vn-horizontal class="vn-mt-lg">
|
2018-09-04 13:08:36 +00:00
|
|
|
<vn-submit label="Search"></vn-submit>
|
|
|
|
</vn-horizontal>
|
|
|
|
</form>
|
2022-11-23 13:04:43 +00:00
|
|
|
</div>
|