2022-03-16 12:02:48 +00:00
|
|
|
<div class="search-panel">
|
2023-05-25 09:41:14 +00:00
|
|
|
<vn-crud-model
|
|
|
|
auto-load="true"
|
|
|
|
url="Agencies"
|
2023-06-01 05:52:21 +00:00
|
|
|
data="agencies">
|
2023-05-25 09:41:14 +00:00
|
|
|
</vn-crud-model>
|
2022-03-16 13:42:19 +00:00
|
|
|
<form id="manifold-form" ng-submit="$ctrl.onSearch()">
|
|
|
|
<vn-horizontal class="vn-px-lg vn-pt-lg">
|
2022-03-16 12:02:48 +00:00
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="General search"
|
|
|
|
ng-model="filter.search"
|
|
|
|
vn-focus>
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
2022-03-16 13:42:19 +00:00
|
|
|
<vn-horizontal class="vn-px-lg">
|
2022-03-16 12:02:48 +00:00
|
|
|
<vn-autocomplete vn-one
|
|
|
|
url="AgencyModes"
|
|
|
|
label="Agency route"
|
|
|
|
show-field="name"
|
2022-03-16 13:42:19 +00:00
|
|
|
value-field="id"
|
|
|
|
ng-model="filter.agencyModeFk">
|
2022-03-16 12:02:48 +00:00
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-autocomplete vn-one
|
2023-06-01 05:52:21 +00:00
|
|
|
data="agencies"
|
2022-03-16 12:02:48 +00:00
|
|
|
label="Agency Agreement"
|
|
|
|
show-field="name"
|
2022-03-16 13:42:19 +00:00
|
|
|
value-field="id"
|
|
|
|
ng-model="filter.agencyFk">
|
2022-03-16 12:02:48 +00:00
|
|
|
</vn-autocomplete>
|
|
|
|
</vn-horizontal>
|
|
|
|
<section class="vn-px-md">
|
|
|
|
<vn-horizontal class="manifold-panel vn-pa-md">
|
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
|
|
|
label="From"
|
|
|
|
ng-model="filter.from"
|
|
|
|
on-change="$ctrl.from = value">
|
|
|
|
</vn-date-picker>
|
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
|
|
|
label="To"
|
|
|
|
ng-model="filter.to"
|
|
|
|
on-change="$ctrl.to = value">
|
|
|
|
</vn-date-picker>
|
|
|
|
</vn-horizontal>
|
|
|
|
</section>
|
|
|
|
<vn-horizontal class="vn-px-lg vn-pb-lg vn-mt-lg">
|
|
|
|
<vn-submit label="Search"></vn-submit>
|
|
|
|
</vn-horizontal>
|
|
|
|
</form>
|
|
|
|
</div>
|