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"
|
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="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>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.workerFk"
|
2019-10-24 22:53:53 +00:00
|
|
|
url="Clients/activeWorkersWithRole"
|
2019-02-08 14:07:18 +00:00
|
|
|
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>
|
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
|
|
|
|
label="Ticket id"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.ticketFk">
|
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 14:02:51 +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 14:02:51 +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>
|
2018-10-15 09:43:57 +00:00
|
|
|
</div>
|