2019-01-30 23:33:43 +00:00
|
|
|
<div class="search-panel">
|
2018-08-21 11:38:16 +00:00
|
|
|
<form ng-submit="$ctrl.onSearch()">
|
2018-11-05 09:14:31 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="General search"
|
|
|
|
model="filter.search"
|
2019-04-12 12:33:08 +00:00
|
|
|
info="Search orders by id"
|
2018-11-05 09:14:31 +00:00
|
|
|
vn-focus>
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
2018-10-15 09:43:57 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Order id"
|
|
|
|
model="filter.id">
|
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Client id"
|
|
|
|
model="filter.clientFk">
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
2018-08-21 11:38:16 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
2018-10-15 09:43:57 +00:00
|
|
|
label="Agency"
|
|
|
|
field="filter.agencyModeFk"
|
2019-01-07 15:28:18 +00:00
|
|
|
url="/agency/api/AgencyModes/isActive"
|
2018-08-21 11:38:16 +00:00
|
|
|
show-field="name"
|
|
|
|
value-field="id">
|
2018-10-15 09:43:57 +00:00
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
field="filter.workerFk"
|
2019-02-08 14:07:18 +00:00
|
|
|
url="/client/api/Clients/activeWorkersWithRole"
|
|
|
|
search-function="{firstName: $search}"
|
2019-03-05 11:25:37 +00:00
|
|
|
show-field="nickname"
|
2019-02-08 14:07:18 +00:00
|
|
|
value-field="id"
|
|
|
|
where="{role: 'employee'}"
|
|
|
|
label="Sales person">
|
2018-08-21 11:38:16 +00:00
|
|
|
</vn-autocomplete>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
2018-10-15 09:43:57 +00:00
|
|
|
<vn-date-picker vn-one
|
|
|
|
label="From landed"
|
|
|
|
model="filter.from">
|
|
|
|
</vn-date-picker>
|
|
|
|
<vn-date-picker vn-one
|
|
|
|
label="To landed"
|
|
|
|
model="filter.to">
|
|
|
|
</vn-date-picker>
|
|
|
|
</vn-horizontal>
|
2019-03-04 15:06:41 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Ticket id"
|
|
|
|
model="filter.ticketFk">
|
|
|
|
</vn-textfield>
|
2019-02-27 11:03:54 +00:00
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
2018-10-15 09:43:57 +00:00
|
|
|
label="Application"
|
|
|
|
field="filter.sourceApp"
|
|
|
|
url="/order/api/Orders/getSourceValues"
|
|
|
|
show-field="value"
|
|
|
|
value-field="value">
|
2019-07-03 12:06:27 +00:00
|
|
|
</vn-autocomplete>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-check
|
|
|
|
vn-one
|
|
|
|
label="My team"
|
|
|
|
field="filter.myTeam"
|
|
|
|
triple-state="true">
|
|
|
|
</vn-check>
|
2019-02-27 11:03:54 +00:00
|
|
|
<vn-check
|
|
|
|
vn-one
|
2018-10-15 09:43:57 +00:00
|
|
|
label="Order confirmed"
|
2019-02-15 10:05:14 +00:00
|
|
|
triple-state="true"
|
2018-10-15 09:43:57 +00:00
|
|
|
field="filter.isConfirmed">
|
|
|
|
</vn-check>
|
2018-08-21 11:38:16 +00:00
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal margin-large-top>
|
|
|
|
<vn-submit label="Search"></vn-submit>
|
|
|
|
</vn-horizontal>
|
|
|
|
</form>
|
2018-10-15 09:43:57 +00:00
|
|
|
</div>
|