Tarea #242 agencyModes debe devolver sólo aquellas con isActive<> FALSE

This commit is contained in:
Gerard 2018-04-11 15:01:51 +02:00
parent ef8dbc3ab8
commit d814de9d65
2 changed files with 6 additions and 3 deletions

View File

@ -30,7 +30,7 @@
<vn-horizontal>
<vn-autocomplete vn-one
field="$ctrl.address.agencyModeFk"
url="/client/api/AgencyModes/active"
url="/client/api/AgencyModes/"
show-field="name"
value-field="id"
label="Agency">

View File

@ -20,6 +20,9 @@
"description": {
"type": "string"
},
"deliveryMethodFk":{
"type": "number"
},
"m3": {
"type": "Number"
},
@ -53,7 +56,7 @@
"permission": "ALLOW"
}
],
"scopes" : {
"active" : {"where": {"isActive": {"neq": false}}}
"scope" : {
"where": {"isActive": {"neq": false}}
}
}