2019-04-05 13:20:12 +00:00
|
|
|
<div class="search-panel">
|
|
|
|
<form pad-large ng-submit="$ctrl.onSearch()">
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="General search"
|
|
|
|
model="filter.search"
|
|
|
|
vn-focus>
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Ticket id"
|
|
|
|
model="filter.ticketFk">
|
|
|
|
</vn-textfield>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
field="filter.atenderFk"
|
|
|
|
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"
|
|
|
|
model="filter.clientFk">
|
|
|
|
</vn-textfield>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
label="Warehouse"
|
|
|
|
field="filter.warehouseFk"
|
|
|
|
url="/api/Warehouses">
|
|
|
|
</vn-autocomplete>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
|
|
|
label="From"
|
|
|
|
model="filter.from">
|
|
|
|
</vn-date-picker>
|
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
|
|
|
label="To"
|
|
|
|
model="filter.to">
|
|
|
|
</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"
|
|
|
|
field="filter.isOk">
|
|
|
|
</vn-check>
|
|
|
|
</vn-horizontal>
|
2019-04-05 13:20:12 +00:00
|
|
|
<vn-horizontal margin-large-top>
|
|
|
|
<vn-submit label="Search"></vn-submit>
|
|
|
|
</vn-horizontal>
|
|
|
|
</form>
|
|
|
|
</div>
|