salix/modules/order/front/search-panel/index.html

87 lines
2.6 KiB
HTML
Raw Permalink Normal View History

<div class="search-panel">
2018-08-21 11:38:16 +00:00
<form ng-submit="$ctrl.onSearch()">
<vn-horizontal>
<vn-textfield
vn-one
label="General search"
2019-10-09 22:47:29 +00:00
ng-model="filter.search"
info="Search orders by ticket id"
vn-focus>
</vn-textfield>
</vn-horizontal>
<vn-horizontal>
<vn-textfield
vn-one
label="Client id"
2019-10-09 22:47:29 +00:00
ng-model="filter.clientFk">
</vn-textfield>
</vn-horizontal>
2018-08-21 11:38:16 +00:00
<vn-horizontal>
<vn-autocomplete
vn-one
label="Agency"
2019-10-09 22:47:29 +00:00
ng-model="filter.agencyModeFk"
url="AgencyModes/isActive"
2018-08-21 11:38:16 +00:00
show-field="name"
value-field="id">
</vn-autocomplete>
<vn-worker-autocomplete
vn-one
2019-10-09 22:47:29 +00:00
ng-model="filter.workerFk"
departments="['VT']"
show-field="nickname"
label="Sales person">
</vn-worker-autocomplete>
2018-08-21 11:38:16 +00:00
</vn-horizontal>
<vn-horizontal>
<vn-date-picker
vn-one
label="From landed"
2019-10-09 22:47:29 +00:00
ng-model="filter.from">
</vn-date-picker>
<vn-date-picker
vn-one
label="To landed"
2019-10-09 22:47:29 +00:00
ng-model="filter.to">
</vn-date-picker>
</vn-horizontal>
<vn-horizontal>
<vn-textfield
vn-one
label="Order id"
ng-model="filter.orderFk">
</vn-textfield>
2019-02-27 11:03:54 +00:00
<vn-autocomplete
vn-one
label="Application"
2019-10-09 22:47:29 +00:00
ng-model="filter.sourceApp"
url="Orders/getSourceValues"
show-field="value"
value-field="value">
</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"
triple-state="true">
</vn-check>
2019-02-27 11:03:54 +00:00
<vn-check
vn-one
label="Order confirmed"
triple-state="true"
2019-10-09 22:47:29 +00:00
ng-model="filter.isConfirmed">
</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>
<vn-horizontal class="vn-mt-lg">
2018-08-21 11:38:16 +00:00
<vn-submit label="Search"></vn-submit>
</vn-horizontal>
</form>
</div>