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

93 lines
2.8 KiB
HTML
Raw Normal View History

2020-11-20 14:05:57 +00:00
<div class="search-panel">
2023-05-25 09:41:14 +00:00
<vn-crud-model
auto-load="true"
url="Warehouses"
data="warehouses">
</vn-crud-model>
2020-11-20 14:05:57 +00:00
<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"
2022-07-13 12:36:03 +00:00
ng-model="filter.agencyModeFk"
2020-11-20 14:05:57 +00:00
url="AgencyModes"
show-field="name"
value-field="id">
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal>
<vn-date-picker
vn-one
label="Shipped from"
2021-01-22 11:56:46 +00:00
ng-model="$ctrl.shippedFrom">
2020-11-20 14:05:57 +00:00
</vn-date-picker>
<vn-date-picker
vn-one
2021-01-25 06:26:35 +00:00
label="Landed to"
ng-model="$ctrl.landedTo">
2020-11-20 14:05:57 +00:00
</vn-date-picker>
</vn-horizontal>
</vn-horizontal>
<vn-horizontal>
<vn-autocomplete vn-one
label="Warehouse Out"
ng-model="filter.warehouseOutFk"
2023-05-30 13:48:09 +00:00
data="warehouses"
2020-11-20 14:05:57 +00:00
show-field="name"
value-field="id">
</vn-autocomplete>
<vn-autocomplete vn-one
label="Warehouse In"
ng-model="filter.warehouseInFk"
2023-05-30 13:48:09 +00:00
data="warehouses"
2020-11-20 14:05:57 +00:00
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>