Errores solucionados
This commit is contained in:
parent
f7ec186a77
commit
0da217e9bc
|
@ -31,7 +31,7 @@
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
<vn-horizontal>
|
<vn-horizontal>
|
||||||
<vn-autocomplete vn-one
|
<vn-autocomplete vn-one
|
||||||
field="addressData.address.agency"
|
field="addressData.address.defaultAgency"
|
||||||
url="/client/api/Agencies"
|
url="/client/api/Agencies"
|
||||||
show-field="name"
|
show-field="name"
|
||||||
value-field="id"
|
value-field="id"
|
||||||
|
|
|
@ -37,6 +37,9 @@
|
||||||
},
|
},
|
||||||
"default": {
|
"default": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"defaultAgency": {
|
||||||
|
"type": "Number"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"validations": [],
|
"validations": [],
|
||||||
|
@ -50,6 +53,11 @@
|
||||||
"type": "hasOne",
|
"type": "hasOne",
|
||||||
"model": "Client",
|
"model": "Client",
|
||||||
"foreignKey": "id"
|
"foreignKey": "id"
|
||||||
|
},
|
||||||
|
"defaultAgency": {
|
||||||
|
"type": "hasOne",
|
||||||
|
"model": "Agency",
|
||||||
|
"foreignKey": "id"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"acls": [
|
"acls": [
|
||||||
|
|
Loading…
Reference in New Issue