2019-04-05 13:20:12 +00:00
|
|
|
<div class="search-panel">
|
2023-05-25 09:41:14 +00:00
|
|
|
<vn-crud-model
|
2023-06-30 10:03:26 +00:00
|
|
|
auto-load="true"
|
|
|
|
url="Warehouses"
|
2023-05-25 09:41:14 +00:00
|
|
|
data="warehouses">
|
|
|
|
</vn-crud-model>
|
2021-02-23 15:09:29 +00:00
|
|
|
<form id="manifold-form" ng-submit="$ctrl.onSearch()">
|
|
|
|
<vn-horizontal class="vn-px-lg vn-pt-lg">
|
2019-04-05 13:20:12 +00:00
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="General search"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.search"
|
2019-04-05 13:20:12 +00:00
|
|
|
vn-focus>
|
|
|
|
</vn-textfield>
|
|
|
|
</vn-horizontal>
|
2021-02-23 15:09:29 +00:00
|
|
|
<vn-horizontal class="vn-px-lg">
|
2019-04-05 13:20:12 +00:00
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Ticket id"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.ticketFk">
|
2019-04-05 13:20:12 +00:00
|
|
|
</vn-textfield>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
2019-10-22 11:44:36 +00:00
|
|
|
ng-model="filter.attenderFk"
|
2023-06-30 10:03:26 +00:00
|
|
|
url="TicketRequests/getItemTypeWorker"
|
2019-04-05 13:20:12 +00:00
|
|
|
search-function="{firstName: $search}"
|
2023-06-30 10:03:26 +00:00
|
|
|
show-field="nickname"
|
2019-04-05 13:20:12 +00:00
|
|
|
value-field="id"
|
|
|
|
label="Atender">
|
|
|
|
</vn-autocomplete>
|
|
|
|
</vn-horizontal>
|
2021-02-23 15:09:29 +00:00
|
|
|
<vn-horizontal class="vn-px-lg">
|
2019-04-05 13:20:12 +00:00
|
|
|
<vn-textfield
|
|
|
|
vn-one
|
|
|
|
label="Client id"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.clientFk">
|
2019-04-05 13:20:12 +00:00
|
|
|
</vn-textfield>
|
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
label="Warehouse"
|
2019-10-09 22:47:29 +00:00
|
|
|
ng-model="filter.warehouseFk"
|
2023-05-25 09:41:14 +00:00
|
|
|
data="warehouses"
|
|
|
|
show-field="name"
|
|
|
|
value-field="id">
|
2019-04-05 13:20:12 +00:00
|
|
|
</vn-autocomplete>
|
|
|
|
</vn-horizontal>
|
2023-03-20 14:11:55 +00:00
|
|
|
<vn-horizontal class="vn-px-lg">
|
2023-07-13 10:59:39 +00:00
|
|
|
<vn-worker-autocomplete
|
2023-03-20 14:11:55 +00:00
|
|
|
vn-one
|
2023-04-05 06:19:50 +00:00
|
|
|
ng-model="filter.requesterFk"
|
2023-07-13 10:59:39 +00:00
|
|
|
departments="['VT']"
|
|
|
|
label="Salesperson">
|
|
|
|
</vn-worker-autocomplete>
|
2023-03-20 14:11:55 +00:00
|
|
|
</vn-horizontal>
|
2021-02-23 15:09:29 +00:00
|
|
|
<section class="vn-px-md">
|
|
|
|
<vn-horizontal class="manifold-panel vn-pa-md">
|
2019-04-05 13:20:12 +00:00
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
|
|
|
label="From"
|
2021-02-23 15:09:29 +00:00
|
|
|
ng-model="filter.from"
|
|
|
|
on-change="$ctrl.from = value">
|
2019-04-05 13:20:12 +00:00
|
|
|
</vn-date-picker>
|
|
|
|
<vn-date-picker
|
|
|
|
vn-one
|
|
|
|
label="To"
|
2021-02-23 15:09:29 +00:00
|
|
|
ng-model="filter.to"
|
|
|
|
on-change="$ctrl.to = value">
|
2019-04-05 13:20:12 +00:00
|
|
|
</vn-date-picker>
|
2021-02-23 15:09:29 +00:00
|
|
|
<vn-none class="or vn-px-md" translate>Or</vn-none>
|
|
|
|
<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-icon color-marginal
|
|
|
|
icon="info"
|
|
|
|
vn-tooltip="Cannot choose a range of dates and days onward at the same time">
|
|
|
|
</vn-icon>
|
2019-04-05 13:20:12 +00:00
|
|
|
</vn-horizontal>
|
2021-02-23 15:09:29 +00:00
|
|
|
</section>
|
|
|
|
<vn-horizontal class="vn-px-lg">
|
2023-06-30 10:03:26 +00:00
|
|
|
<vn-check vn-one
|
|
|
|
triple-state="true"
|
|
|
|
label="For me"
|
2020-06-02 12:42:58 +00:00
|
|
|
ng-model="filter.mine">
|
|
|
|
</vn-check>
|
2020-08-31 06:32:30 +00:00
|
|
|
<vn-autocomplete
|
|
|
|
vn-one
|
|
|
|
ng-model="filter.state"
|
|
|
|
data="$ctrl.states"
|
|
|
|
value-field="code"
|
|
|
|
label="State">
|
|
|
|
<tpl-item>{{name}}</tpl-item>
|
|
|
|
</vn-autocomplete>
|
2019-04-18 09:02:28 +00:00
|
|
|
</vn-horizontal>
|
2021-02-23 15:09:29 +00:00
|
|
|
<vn-horizontal class="vn-px-lg vn-pb-lg vn-mt-lg">
|
2019-04-05 13:20:12 +00:00
|
|
|
<vn-submit label="Search"></vn-submit>
|
|
|
|
</vn-horizontal>
|
|
|
|
</form>
|
|
|
|
</div>
|