2022-11-07 14:55:17 +00:00
|
|
|
<div class="search-panel">
|
2023-05-25 09:41:14 +00:00
|
|
|
<vn-crud-model
|
2024-09-09 12:21:42 +00:00
|
|
|
auto-load="true"
|
|
|
|
url="Warehouses"
|
2023-05-25 09:41:14 +00:00
|
|
|
data="warehouses">
|
|
|
|
</vn-crud-model>
|
2022-11-07 14:55:17 +00:00
|
|
|
<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"
|
2024-09-09 12:21:42 +00:00
|
|
|
ng-model="filter.originScopeDays"
|
2022-12-14 11:17:12 +00:00
|
|
|
required="true">
|
2022-11-07 14:55:17 +00:00
|
|
|
</vn-date-picker>
|
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
2022-12-14 11:17:12 +00:00
|
|
|
label="Destination date"
|
2024-09-09 12:21:42 +00:00
|
|
|
ng-model="filter.futureScopeDays"
|
2022-12-14 11:17:12 +00:00
|
|
|
required="true">
|
2022-11-07 14:55:17 +00:00
|
|
|
</vn-date-picker>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal class="vn-px-lg">
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
2022-12-16 12:42:23 +00:00
|
|
|
label="Max Liters"
|
2022-12-20 08:54:28 +00:00
|
|
|
ng-model="filter.litersMax">
|
2022-11-07 14:55:17 +00:00
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
2022-12-16 12:42:23 +00:00
|
|
|
label="Max Lines"
|
2022-12-20 08:54:28 +00:00
|
|
|
ng-model="filter.linesMax">
|
2022-11-07 14:55:17 +00:00
|
|
|
</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-12-20 08:54:28 +00:00
|
|
|
ng-model="filter.futureIpt"
|
2022-11-10 14:54:00 +00:00
|
|
|
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>
|
2022-11-07 14:55:17 +00:00
|
|
|
</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"
|
2024-09-09 12:21:59 +00:00
|
|
|
value-field="id"
|
2022-11-10 14:54:00 +00:00
|
|
|
show-field="name"
|
2022-11-07 14:55:17 +00:00
|
|
|
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"
|
2024-09-09 12:21:59 +00:00
|
|
|
value-field="id"
|
2022-11-10 14:54:00 +00:00
|
|
|
show-field="name"
|
2022-12-20 08:54:28 +00:00
|
|
|
ng-model="filter.futureState">
|
2022-11-10 14:54:00 +00:00
|
|
|
<tpl-item>
|
|
|
|
{{name}}
|
|
|
|
</tpl-item>
|
|
|
|
</vn-autocomplete>
|
2022-11-07 14:55:17 +00:00
|
|
|
</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
|
2022-11-07 14:55:17 +00:00
|
|
|
vn-one
|
|
|
|
label="Warehouse"
|
|
|
|
ng-model="filter.warehouseFk"
|
2023-05-25 09:41:14 +00:00
|
|
|
data="warehouses"
|
|
|
|
show-field="name"
|
|
|
|
value-field="id"
|
2022-11-07 14:55:17 +00:00
|
|
|
required="true">
|
2022-11-10 14:54:00 +00:00
|
|
|
</vn-autocomplete>
|
2022-11-07 14:55:17 +00:00
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal class="vn-px-lg vn-pb-lg vn-mt-lg">
|
|
|
|
<vn-submit label="Search"></vn-submit>
|
|
|
|
</vn-horizontal>
|
|
|
|
</form>
|
|
|
|
</div>
|