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