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"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.search"
|
2022-02-28 13:28:16 +00:00
|
|
|
info="Search orders by ticket 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="Client id"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.clientFk">
|
2018-10-15 09:43:57 +00:00
|
|
|
</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"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.agencyModeFk"
|
2019-10-24 22:53:53 +00:00
|
|
|
url="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>
|
2023-07-13 10:59:39 +00:00
|
|
|
<vn-worker-autocomplete
|
2018-10-15 09:43:57 +00:00
|
|
|
vn-one
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.workerFk"
|
2023-07-13 10:59:39 +00:00
|
|
|
departments="['VT']"
|
2019-03-05 11:25:37 +00:00
|
|
|
show-field="nickname"
|
2019-02-08 14:07:18 +00:00
|
|
|
label="Sales person">
|
2023-07-13 10:59:39 +00:00
|
|
|
</vn-worker-autocomplete>
|
2018-08-21 11:38:16 +00:00
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
2019-10-08 21:57:02 +00:00
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
2018-10-15 09:43:57 +00:00
|
|
|
label="From landed"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.from">
|
2018-10-15 09:43:57 +00:00
|
|
|
</vn-date-picker>
|
2019-10-08 21:57:02 +00:00
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
2018-10-15 09:43:57 +00:00
|
|
|
label="To landed"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.to">
|
2018-10-15 09:43:57 +00:00
|
|
|
</vn-date-picker>
|
|
|
|
</vn-horizontal>
|
2019-03-04 15:06:41 +00:00
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
2022-02-28 13:28:16 +00:00
|
|
|
label="Order id"
|
|
|
|
ng-model="filter.orderFk">
|
2019-03-04 15:06:41 +00:00
|
|
|
</vn-textfield>
|
2019-02-27 11:03:54 +00:00
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
2018-10-15 09:43:57 +00:00
|
|
|
label="Application"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.sourceApp"
|
2019-10-24 22:53:53 +00:00
|
|
|
url="Orders/getSourceValues"
|
2018-10-15 09:43:57 +00:00
|
|
|
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"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.myTeam"
|
2019-07-03 12:06:27 +00:00
|
|
|
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"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.isConfirmed">
|
2018-10-15 09:43:57 +00:00
|
|
|
</vn-check>
|
2020-03-13 16:22:59 +00:00
|
|
|
<vn-check
|
2020-03-13 13:09:22 +00:00
|
|
|
vn-one
|
|
|
|
label="Show empty"
|
2020-03-13 13:25:34 +00:00
|
|
|
ng-model="filter.showEmpty">
|
2020-03-13 16:22:59 +00:00
|
|
|
</vn-check>
|
2018-08-21 11:38:16 +00:00
|
|
|
</vn-horizontal>
|
2019-10-04 22:16:57 +00:00
|
|
|
<vn-horizontal class="vn-mt-lg">
|
2018-08-21 11:38:16 +00:00
|
|
|
<vn-submit label="Search"></vn-submit>
|
|
|
|
</vn-horizontal>
|
|
|
|
</form>
|
2023-07-13 10:59:39 +00:00
|
|
|
</div>
|