2019-04-05 13:20:12 +00:00
|
|
|
<div class="search-panel">
|
2019-10-04 22:16:57 +00:00
|
|
|
<form class="vn-pa-lg" ng-submit="$ctrl.onSearch()">
|
2019-04-05 13:20:12 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="General search"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.search"
|
2019-04-05 13:20:12 +00:00
|
|
|
vn-focus>
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Ticket id"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.ticketFk">
|
2019-04-05 13:20:12 +00:00
|
|
|
</vn-textfield>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
2019-10-22 11:44:36 +00:00
|
|
|
ng-model="filter.attenderFk"
|
2019-04-05 13:20:12 +00:00
|
|
|
url="/client/api/Clients/activeWorkersWithRole"
|
|
|
|
search-function="{firstName: $search}"
|
|
|
|
value-field="id"
|
|
|
|
where="{role: 'employee'}"
|
|
|
|
label="Atender">
|
|
|
|
<tpl-item>{{nickname}}</tpl-item>
|
|
|
|
</vn-autocomplete>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Client id"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.clientFk">
|
2019-04-05 13:20:12 +00:00
|
|
|
</vn-textfield>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
label="Warehouse"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.warehouseFk"
|
2019-04-05 13:20:12 +00:00
|
|
|
url="/api/Warehouses">
|
|
|
|
</vn-autocomplete>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
|
|
|
label="From"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.from">
|
2019-04-05 13:20:12 +00:00
|
|
|
</vn-date-picker>
|
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
|
|
|
label="To"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.to">
|
2019-04-05 13:20:12 +00:00
|
|
|
</vn-date-picker>
|
|
|
|
</vn-horizontal>
|
2019-04-18 09:02:28 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-one>
|
|
|
|
</vn-one>
|
|
|
|
<vn-check
|
|
|
|
vn-one
|
|
|
|
triple-state="true"
|
|
|
|
label="Confirmed"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.isOk">
|
2019-04-18 09:02:28 +00:00
|
|
|
</vn-check>
|
|
|
|
</vn-horizontal>
|
2019-10-04 22:16:57 +00:00
|
|
|
<vn-horizontal class="vn-mt-lg">
|
2019-04-05 13:20:12 +00:00
|
|
|
<vn-submit label="Search"></vn-submit>
|
|
|
|
</vn-horizontal>
|
|
|
|
</form>
|
|
|
|
</div>
|