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

70 lines
2.2 KiB
HTML
Raw Normal View History

<div class="search-panel">
2018-11-13 06:44:03 +00:00
<form ng-submit="$ctrl.onSearch()">
<vn-horizontal>
<vn-textfield
vn-one
label="General search"
model="filter.search"
2019-04-12 12:33:08 +00:00
info="Search travels by id"
2018-11-13 06:44:03 +00:00
vn-focus>
</vn-textfield>
</vn-horizontal>
<vn-horizontal>
<vn-textfield
vn-one
label="Reference"
model="filter.ref">
</vn-textfield>
2019-01-21 10:45:53 +00:00
<vn-textfield
vn-one
label="Total entries"
model="filter.totalEntries">
</vn-textfield>
2018-11-13 06:44:03 +00:00
</vn-horizontal>
<vn-horizontal>
<vn-textfield
vn-one
label="Travel id"
model="filter.id">
</vn-textfield>
<vn-autocomplete vn-one
label="Agency"
field="filter.agencyFk"
url="/ticket/api/Agencies"
show-field="name"
value-field="id">
</vn-autocomplete>
</vn-horizontal>
2019-01-21 10:45:53 +00:00
<vn-horizontal>
<vn-date-picker
vn-one
label="Shipped"
model="filter.shipped">
</vn-date-picker>
<vn-date-picker
vn-one
label="Landed"
model="filter.landed">
</vn-date-picker>
</vn-horizontal>
2018-11-13 06:44:03 +00:00
<vn-horizontal>
<vn-autocomplete vn-one
label="Warehouse Out"
field="filter.warehouseOutFk"
url="/ticket/api/Warehouses"
show-field="name"
value-field="id">
</vn-autocomplete>
<vn-autocomplete vn-one
label="Warehouse In"
field="filter.warehouseInFk"
url="/ticket/api/Warehouses"
show-field="name"
value-field="id">
</vn-autocomplete>
</vn-horizontal>
<vn-horizontal margin-large-top>
<vn-submit label="Search"></vn-submit>
</vn-horizontal>
</form>
</div>