Merge branch 'dev' of https://git.verdnatura.es/salix into dev

This commit is contained in:
Joan 2018-11-22 07:50:26 +01:00
commit 9f19528bab
2 changed files with 10 additions and 0 deletions

View File

@ -28,6 +28,7 @@ export default class Controller {
case 'fi': case 'fi':
case 'postcode': case 'postcode':
case 'email': case 'email':
case 'salesPersonFk':
return {[param]: value}; return {[param]: value};
} }
} }

View File

@ -25,6 +25,15 @@
vn-one label="Name" vn-one label="Name"
model="filter.name"> model="filter.name">
</vn-textfield> </vn-textfield>
<vn-autocomplete
vn-one
field="filter.salesPersonFk"
url="/client/api/Clients/activeSalesPerson"
show-field="name"
value-field="id"
label="Salesperson">
<tpl-item>{{firstName}} {{name}}</tpl-item>
</vn-autocomplete>
</vn-horizontal> </vn-horizontal>
<vn-horizontal> <vn-horizontal>
<vn-textfield <vn-textfield