2018-06-07 21:47:19 +00:00
|
|
|
<div pad-large style="min-width: 30em">
|
|
|
|
<form ng-submit="$ctrl.onSearch()">
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
2018-11-05 09:14:31 +00:00
|
|
|
label="General search"
|
|
|
|
model="filter.search"
|
2018-06-07 21:47:19 +00:00
|
|
|
vn-focus>
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
2018-11-05 09:14:31 +00:00
|
|
|
vn-one
|
|
|
|
label="Nickname"
|
|
|
|
model="filter.nickname">
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
2018-06-07 21:47:19 +00:00
|
|
|
vn-one
|
|
|
|
label="Ticket id"
|
|
|
|
model="filter.id">
|
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Client id"
|
|
|
|
model="filter.clientFk">
|
|
|
|
</vn-textfield>
|
|
|
|
</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-autocomplete
|
|
|
|
vn-one
|
|
|
|
label="Agency"
|
|
|
|
field="filter.agencyModeFk"
|
2018-10-30 12:58:02 +00:00
|
|
|
url="/api/AgencyModes">
|
2018-06-07 21:47:19 +00:00
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
label="Warehouse"
|
|
|
|
field="filter.warehouseFk"
|
2018-10-30 12:58:02 +00:00
|
|
|
url="/api/Warehouses">
|
2018-06-07 21:47:19 +00:00
|
|
|
</vn-autocomplete>
|
|
|
|
</vn-horizontal>
|
2018-10-30 12:58:02 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
label="Sales person"
|
|
|
|
field="filter.salesPersonFk"
|
|
|
|
url="/api/Workers">
|
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
label="Province"
|
|
|
|
field="filter.provinceFk"
|
|
|
|
url="/api/Provinces">
|
|
|
|
</vn-autocomplete>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
label="State"
|
|
|
|
field="filter.stateFk"
|
|
|
|
url="/api/States">
|
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-check
|
|
|
|
vn-one
|
|
|
|
label="My tickets"
|
|
|
|
field="filter.myTeam">
|
|
|
|
</vn-check>
|
|
|
|
</vn-horizontal>
|
2018-06-07 21:47:19 +00:00
|
|
|
<vn-horizontal margin-large-top>
|
|
|
|
<vn-submit label="Search"></vn-submit>
|
|
|
|
</vn-horizontal>
|
|
|
|
</form>
|
|
|
|
</div>
|