2021-05-11 07:43:15 +00:00
|
|
|
<div class="search-panel">
|
2023-05-25 09:41:14 +00:00
|
|
|
<vn-crud-model
|
2023-07-13 10:59:39 +00:00
|
|
|
auto-load="true"
|
|
|
|
url="Warehouses"
|
2023-05-25 09:41:14 +00:00
|
|
|
data="warehouses">
|
|
|
|
</vn-crud-model>
|
2021-05-11 07:43:15 +00:00
|
|
|
<form id="manifold-form" ng-submit="$ctrl.onSearch()">
|
|
|
|
<vn-horizontal class="vn-px-lg vn-pt-lg">
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="General search"
|
|
|
|
ng-model="filter.search"
|
|
|
|
info="Search ticket by id or alias"
|
|
|
|
vn-focus>
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal class="vn-px-lg">
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Client id"
|
|
|
|
ng-model="filter.clientFk">
|
|
|
|
</vn-textfield>
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Order id"
|
|
|
|
ng-model="filter.orderFk">
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
2021-06-15 11:48:42 +00:00
|
|
|
<vn-horizontal class="vn-px-lg">
|
|
|
|
<vn-input-number
|
|
|
|
vn-one
|
|
|
|
min="0"
|
|
|
|
step="1"
|
|
|
|
label="Days onward"
|
|
|
|
ng-model="filter.scopeDays"
|
|
|
|
on-change="$ctrl.scopeDays = value"
|
|
|
|
display-controls="true">
|
|
|
|
</vn-input-number>
|
|
|
|
</vn-horizontal>
|
2021-05-11 07:43:15 +00:00
|
|
|
<vn-horizontal class="vn-px-lg">
|
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Nickname"
|
|
|
|
ng-model="filter.nickname">
|
|
|
|
</vn-textfield>
|
2023-07-13 10:59:39 +00:00
|
|
|
<vn-worker-autocomplete
|
2021-05-11 07:43:15 +00:00
|
|
|
vn-one
|
|
|
|
ng-model="filter.salesPersonFk"
|
2023-07-13 10:59:39 +00:00
|
|
|
departments="['VT']"
|
2021-05-11 07:43:15 +00:00
|
|
|
label="Sales person">
|
2023-07-13 10:59:39 +00:00
|
|
|
</vn-worker-autocomplete>
|
2021-05-11 07:43:15 +00:00
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Invoice"
|
|
|
|
ng-model="filter.refFk">
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal class="vn-px-lg">
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
label="Agency"
|
|
|
|
ng-model="filter.agencyModeFk"
|
|
|
|
url="AgencyModes/isActive">
|
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
label="State"
|
|
|
|
ng-model="filter.stateFk"
|
|
|
|
url="States">
|
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-autocomplete vn-one
|
|
|
|
data="$ctrl.groupedStates"
|
|
|
|
label="Grouped States"
|
2021-10-15 08:49:23 +00:00
|
|
|
value-field="id"
|
2021-05-11 07:43:15 +00:00
|
|
|
show-field="name"
|
|
|
|
ng-model="filter.alertLevel">
|
|
|
|
<tpl-item>
|
|
|
|
{{name}}
|
|
|
|
</tpl-item>
|
|
|
|
</vn-autocomplete>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal class="vn-px-lg">
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
label="Warehouse"
|
|
|
|
ng-model="filter.warehouseFk"
|
2023-05-30 13:48:09 +00:00
|
|
|
data="warehouses">
|
2021-05-11 07:43:15 +00:00
|
|
|
</vn-autocomplete>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
label="Province"
|
|
|
|
ng-model="filter.provinceFk"
|
|
|
|
url="Provinces">
|
|
|
|
</vn-autocomplete>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal class="vn-px-lg">
|
|
|
|
<vn-check
|
|
|
|
vn-one
|
|
|
|
label="My team"
|
|
|
|
ng-model="filter.myTeam"
|
|
|
|
triple-state="true">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
vn-one
|
|
|
|
label="With problems"
|
|
|
|
ng-model="filter.problems"
|
|
|
|
triple-state="true">
|
|
|
|
</vn-check>
|
|
|
|
<vn-check
|
|
|
|
vn-one
|
|
|
|
label="Pending"
|
|
|
|
ng-model="filter.pending"
|
|
|
|
triple-state="true">
|
|
|
|
</vn-check>
|
|
|
|
</vn-horizontal>
|
|
|
|
<vn-horizontal class="vn-px-lg vn-pb-lg vn-mt-lg">
|
|
|
|
<vn-submit label="Search"></vn-submit>
|
|
|
|
</vn-horizontal>
|
|
|
|
</form>
|
|
|
|
</div>
|