Tarea #212 Mostrar solo las agencias con el campo isActive(tpv) en TRUE
This commit is contained in:
parent
6b390b72f8
commit
28c80d9ed3
|
@ -30,11 +30,10 @@
|
|||
<vn-horizontal>
|
||||
<vn-autocomplete vn-one
|
||||
field="$ctrl.address.agencyModeFk"
|
||||
url="/client/api/AgencyModes"
|
||||
url="/client/api/AgencyModes/active"
|
||||
show-field="name"
|
||||
value-field="id"
|
||||
label="Agency"
|
||||
where="{isActive: {neq: '0'}}">
|
||||
label="Agency">
|
||||
</vn-autocomplete>
|
||||
<vn-textfield vn-one label="Phone" field="$ctrl.address.phone"></vn-textfield>
|
||||
<vn-textfield vn-one label="Mobile" field="$ctrl.address.mobile"></vn-textfield>
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
"type": "string"
|
||||
},
|
||||
"isActive":{
|
||||
"type": "Number"
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"relations": {
|
||||
|
@ -52,5 +52,8 @@
|
|||
"principalId": "$everyone",
|
||||
"permission": "ALLOW"
|
||||
}
|
||||
]
|
||||
],
|
||||
"scopes" : {
|
||||
"active" : {"where": {"isActive": {"neq": false}}}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
"type": "Number"
|
||||
},
|
||||
"isManaged":{
|
||||
"type":"boolean"
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"acls": [
|
||||
|
|
Loading…
Reference in New Issue