2019-03-13 13:10:45 +00:00
|
|
|
<div class="search-panel">
|
|
|
|
<form ng-submit="$ctrl.onSearch()">
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="General search"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.search"
|
2019-04-12 12:33:08 +00:00
|
|
|
info="Search invoices by reference"
|
2019-03-13 13:10:45 +00:00
|
|
|
vn-focus>
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
2019-03-21 14:02:06 +00:00
|
|
|
label="Client id"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.clientFk">
|
2019-03-13 13:10:45 +00:00
|
|
|
</vn-textfield>
|
|
|
|
<vn-check
|
|
|
|
vn-one
|
|
|
|
triple-state="true"
|
|
|
|
label="Has PDF"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.hasPdf">
|
2019-03-13 13:10:45 +00:00
|
|
|
</vn-check>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Amount"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.amount">
|
2019-03-13 13:10:45 +00:00
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Minimum"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.min">
|
2019-03-13 13:10:45 +00:00
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Maximum"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.max">
|
2019-03-13 13:10:45 +00:00
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal>
|
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
|
|
|
label="Issued"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.issued">
|
2019-03-13 13:10:45 +00:00
|
|
|
</vn-date-picker>
|
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
|
|
|
label="Created"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.created">
|
2019-03-13 13:10:45 +00:00
|
|
|
</vn-date-picker>
|
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
|
|
|
label="Due date"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.dued">
|
2019-03-13 13:10:45 +00:00
|
|
|
</vn-date-picker>
|
|
|
|
</vn-horizontal>
|
2019-10-04 22:16:57 +00:00
|
|
|
<vn-horizontal class="vn-mt-lg">
|
2019-03-13 13:10:45 +00:00
|
|
|
<vn-submit label="Search"></vn-submit>
|
|
|
|
</vn-horizontal>
|
|
|
|
</form>
|
|
|
|
</div>
|