salix/modules/ticket/front/advance-search-panel/index.html

69 lines
2.3 KiB
HTML
Raw Normal View History

2022-11-14 13:30:35 +00:00
<div class="search-panel">
<form id="manifold-form" ng-submit="$ctrl.onSearch()">
<vn-horizontal class="vn-px-lg vn-pt-lg">
<vn-date-picker
vn-one
label="Origin date"
2022-12-20 10:36:37 +00:00
ng-model="filter.dateFuture"
2022-11-15 14:30:00 +00:00
required="true">
2022-11-14 13:30:35 +00:00
</vn-date-picker>
<vn-date-picker
vn-one
label="Destination date"
2022-12-20 10:36:37 +00:00
ng-model="filter.dateToAdvance"
required="true">
2022-11-14 13:30:35 +00:00
</vn-date-picker>
</vn-horizontal>
<vn-horizontal class="vn-px-lg">
<vn-autocomplete vn-one
data="$ctrl.itemPackingTypes"
label="Origin IPT"
2022-12-20 10:36:37 +00:00
value-field="code"
show-field="description"
2022-12-20 10:36:58 +00:00
ng-model="filter.futureIpt"
2022-11-14 13:30:35 +00:00
info="IPT">
<tpl-item>
2022-12-20 10:36:37 +00:00
{{description}}
2022-11-14 13:30:35 +00:00
</tpl-item>
</vn-autocomplete>
<vn-autocomplete vn-one
data="$ctrl.itemPackingTypes"
label="Destination IPT"
2022-12-20 10:36:37 +00:00
value-field="code"
show-field="description"
ng-model="filter.ipt"
2022-11-14 13:30:35 +00:00
info="IPT">
<tpl-item>
2022-12-20 10:36:37 +00:00
{{description}}
2022-11-14 13:30:35 +00:00
</tpl-item>
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal class="vn-px-lg">
<vn-check
vn-one
label="Pending Origin"
ng-model="filter.futureIsNotValidated"
triple-state="true">
</vn-check>
<vn-check
vn-one
label="Pending Destination"
ng-model="filter.isNotValidated"
triple-state="true">
</vn-check>
2022-11-14 13:30:35 +00:00
</vn-horizontal>
<vn-horizontal class="vn-px-lg">
<vn-autocomplete
vn-one
label="Warehouse"
ng-model="filter.warehouseFk"
url="Warehouses"
required="true">
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal class="vn-px-lg vn-pb-lg vn-mt-lg">
<vn-submit label="Search"></vn-submit>
</vn-horizontal>
</form>
</div>