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

95 lines
3.1 KiB
HTML
Raw Normal View History

<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"
ng-model="filter.originDated"
2022-12-14 11:17:12 +00:00
required="true">
</vn-date-picker>
<vn-date-picker
vn-one
2022-12-14 11:17:12 +00:00
label="Destination date"
ng-model="filter.futureDated"
2022-12-14 11:17:12 +00:00
required="true">
</vn-date-picker>
</vn-horizontal>
<vn-horizontal class="vn-px-lg">
<vn-textfield
vn-one
2022-11-10 14:54:00 +00:00
label="Max Lines"
2022-12-14 11:17:12 +00:00
ng-model="filter.lines">
</vn-textfield>
<vn-textfield
vn-one
2022-11-10 14:54:00 +00:00
label="Max Liters"
2022-12-14 11:17:12 +00:00
ng-model="filter.liters">
</vn-textfield>
</vn-horizontal>
<vn-horizontal class="vn-px-lg">
2022-11-10 14:54:00 +00:00
<vn-autocomplete vn-one
data="$ctrl.itemPackingTypes"
2022-11-08 14:56:58 +00:00
label="Origin IPT"
2022-11-10 14:54:00 +00:00
value-field="code"
2022-12-14 11:17:12 +00:00
show-field="description"
2022-11-10 14:54:00 +00:00
ng-model="filter.ipt"
info="IPT">
<tpl-item>
2022-12-14 11:17:12 +00:00
{{description}}
2022-11-10 14:54:00 +00:00
</tpl-item>
</vn-autocomplete>
<vn-autocomplete vn-one
data="$ctrl.itemPackingTypes"
2022-11-08 14:56:58 +00:00
label="Destination IPT"
2022-11-10 14:54:00 +00:00
value-field="code"
2022-12-14 11:17:12 +00:00
show-field="description"
2022-11-10 14:54:00 +00:00
ng-model="filter.tfIpt"
info="IPT">
<tpl-item>
2022-12-14 11:17:12 +00:00
{{description}}
2022-11-10 14:54:00 +00:00
</tpl-item>
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal class="vn-px-lg">
2022-11-10 14:54:00 +00:00
<vn-autocomplete vn-one
data="$ctrl.groupedStates"
label="Origin Grouped State"
value-field="code"
show-field="name"
ng-model="filter.state">
2022-11-10 14:54:00 +00:00
<tpl-item>
{{name}}
</tpl-item>
</vn-autocomplete>
<vn-autocomplete vn-one
data="$ctrl.groupedStates"
label="Destination Grouped State"
value-field="code"
show-field="name"
ng-model="filter.tfState">
2022-11-10 14:54:00 +00:00
<tpl-item>
{{name}}
</tpl-item>
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal class="vn-px-lg">
<vn-check
vn-one
label="With problems"
ng-model="filter.problems"
triple-state="true">
</vn-check>
2022-11-10 14:54:00 +00:00
<vn-autocomplete
vn-one
label="Warehouse"
ng-model="filter.warehouseFk"
2022-11-10 14:54:00 +00:00
url="Warehouses"
required="true">
2022-11-10 14:54:00 +00:00
</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>