contact-document relation
This commit is contained in:
@@ -28,7 +28,8 @@
|
||||
"accounts": "Accounts",
|
||||
"casesPrimary": "Cases (Primary)",
|
||||
"portalUser": "Portal User",
|
||||
"originalLead": "Original Lead"
|
||||
"originalLead": "Original Lead",
|
||||
"documents": "Documents"
|
||||
},
|
||||
"labels": {
|
||||
"Create Contact": "Create Contact"
|
||||
|
||||
@@ -19,7 +19,8 @@
|
||||
"accounts": "Accounts",
|
||||
"opportunities": "Opportunities",
|
||||
"folder": "Folder",
|
||||
"leads": "Leads"
|
||||
"leads": "Leads",
|
||||
"contacts": "Contacts"
|
||||
},
|
||||
"options": {
|
||||
"status": {
|
||||
|
||||
@@ -297,6 +297,12 @@
|
||||
"type": "hasOne",
|
||||
"entity": "Lead",
|
||||
"foreign": "createdContact"
|
||||
},
|
||||
"documents": {
|
||||
"type": "hasMany",
|
||||
"entity": "Document",
|
||||
"foreign": "contacts",
|
||||
"audited": true
|
||||
}
|
||||
},
|
||||
"collection": {
|
||||
|
||||
@@ -96,6 +96,11 @@
|
||||
"entity": "Lead",
|
||||
"foreign": "documents"
|
||||
},
|
||||
"contacts": {
|
||||
"type": "hasMany",
|
||||
"entity": "Contact",
|
||||
"foreign": "documents"
|
||||
},
|
||||
"createdBy": {
|
||||
"type": "belongsTo",
|
||||
"entity": "User"
|
||||
|
||||
Reference in New Issue
Block a user