68 lines
2.0 KiB
HTML
68 lines
2.0 KiB
HTML
<div class="search-panel">
|
|
<form class="vn-pa-lg" 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>
|
|
<vn-horizontal>
|
|
<vn-one>
|
|
</vn-one>
|
|
<vn-check
|
|
vn-one
|
|
triple-state="true"
|
|
label="Confirmed"
|
|
field="filter.isOk">
|
|
</vn-check>
|
|
</vn-horizontal>
|
|
<vn-horizontal class="vn-mt-lg">
|
|
<vn-submit label="Search"></vn-submit>
|
|
</vn-horizontal>
|
|
</form>
|
|
</div>
|