salix/modules/travel/front/extra-community-search-panel/index.html

102 lines
3.3 KiB
HTML
Raw Normal View History

2020-11-20 14:05:57 +00:00
<div class="search-panel">
<form ng-submit="$ctrl.onSearch()">
<vn-horizontal>
<vn-textfield
vn-one
label="General search"
ng-model="filter.search"
info="Search travels by id"
vn-focus>
</vn-textfield>
</vn-horizontal>
<vn-horizontal>
<vn-textfield
vn-one
label="Reference"
ng-model="filter.ref">
</vn-textfield>
<vn-textfield
vn-one
label="Total entries"
ng-model="filter.totalEntries">
</vn-textfield>
</vn-horizontal>
<vn-horizontal>
<vn-textfield
vn-one
label="Travel id"
ng-model="filter.id">
</vn-textfield>
<vn-autocomplete vn-one
label="Agency"
ng-model="filter.agencyFk"
url="AgencyModes"
show-field="name"
value-field="id">
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal>
<vn-date-picker
vn-one
label="Shipped from"
2021-01-07 13:21:17 +00:00
ng-model="filter.shippedFrom"
on-change="$ctrl.shippedFrom = value">
2020-11-20 14:05:57 +00:00
</vn-date-picker>
<vn-date-picker
vn-one
label="Shipped to"
2021-01-07 13:21:17 +00:00
ng-model="filter.shippedTo"
on-change="$ctrl.shippedTo = value">
2020-11-20 14:05:57 +00:00
</vn-date-picker>
</vn-horizontal>
<vn-horizontal>
<vn-date-picker
vn-one
label="Landed from"
2021-01-07 13:21:17 +00:00
ng-model="filter.landedFrom"
on-change="$ctrl.landedFrom = value">
2020-11-20 14:05:57 +00:00
</vn-date-picker>
<vn-date-picker
vn-one
label="Landed to"
2021-01-07 13:21:17 +00:00
ng-model="filter.landedTo"
on-change="$ctrl.landedTo = value">
2020-11-20 14:05:57 +00:00
</vn-date-picker>
</vn-horizontal>
<vn-horizontal>
<vn-autocomplete vn-one
label="Warehouse In"
ng-model="filter.warehouseInFk"
url="Warehouses"
show-field="name"
value-field="id">
</vn-autocomplete>
<vn-autocomplete vn-one
label="Warehouse Out"
ng-model="filter.warehouseOutFk"
url="Warehouses"
show-field="name"
value-field="id">
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal>
2021-01-18 07:33:20 +00:00
<vn-autocomplete vn-one
label="Freighter"
ng-model="filter.cargoSupplierFk"
url="Suppliers"
show-field="name"
value-field="id">
</vn-autocomplete>
2020-11-20 14:05:57 +00:00
<vn-autocomplete vn-one
label="Continent Out"
ng-model="filter.continent"
url="Continents"
show-field="name"
value-field="code">
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal class="vn-mt-lg">
<vn-submit label="Search"></vn-submit>
</vn-horizontal>
</form>
</div>