projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #15693 from eileenmcnaughton/log_date
[civicrm-core.git]
/
xml
/
schema
/
Contact
/
Relationship.xml
diff --git
a/xml/schema/Contact/Relationship.xml
b/xml/schema/Contact/Relationship.xml
index 92e7ec449033836352eefa4f49181ff6e8e9624b..3228534dcd3059711d96b00a3a21d4917b220f9e 100644
(file)
--- a/
xml/schema/Contact/Relationship.xml
+++ b/
xml/schema/Contact/Relationship.xml
@@
-72,22
+72,26
@@
</foreignKey>
<field>
<name>start_date</name>
</foreignKey>
<field>
<name>start_date</name>
+ <uniqueName>relationship_start_date</uniqueName>
<type>date</type>
<title>Relationship Start Date</title>
<comment>date when the relationship started</comment>
<add>1.1</add>
<html>
<type>Select Date</type>
<type>date</type>
<title>Relationship Start Date</title>
<comment>date when the relationship started</comment>
<add>1.1</add>
<html>
<type>Select Date</type>
+ <formatType>activityDate</formatType>
</html>
</field>
<field>
<name>end_date</name>
</html>
</field>
<field>
<name>end_date</name>
+ <uniqueName>relationship_end_date</uniqueName>
<type>date</type>
<title>Relationship End Date</title>
<comment>date when the relationship ended</comment>
<add>1.1</add>
<html>
<type>Select Date</type>
<type>date</type>
<title>Relationship End Date</title>
<comment>date when the relationship ended</comment>
<add>1.1</add>
<html>
<type>Select Date</type>
+ <formatType>activityDate</formatType>
</html>
</field>
<field>
</html>
</field>
<field>
@@
-114,28
+118,32
@@
</field>
<field>
<name>is_permission_a_b</name>
</field>
<field>
<name>is_permission_a_b</name>
- <type>
boolean
</type>
+ <type>
int unsigned
</type>
<title>Contact A has Permission Over Contact B</title>
<title>Contact A has Permission Over Contact B</title>
+ <required>true</required>
<default>0</default>
<default>0</default>
- <comment>is contact a has permission to view / edit contact and
- related data for contact b ?
- </comment>
+ <comment>Permission that Contact A has to view/update Contact B</comment>
<add>2.1</add>
<add>2.1</add>
+ <pseudoconstant>
+ <callback>CRM_Core_SelectValues::getPermissionedRelationshipOptions</callback>
+ </pseudoconstant>
<html>
<html>
- <type>
CheckBox
</type>
+ <type>
Radio
</type>
</html>
</field>
<field>
<name>is_permission_b_a</name>
</html>
</field>
<field>
<name>is_permission_b_a</name>
- <type>
boolean
</type>
+ <type>
int unsigned
</type>
<title>Contact B has Permission Over Contact A</title>
<title>Contact B has Permission Over Contact A</title>
+ <required>true</required>
<default>0</default>
<default>0</default>
- <comment>is contact b has permission to view / edit contact and
- related data for contact a ?
- </comment>
+ <comment>Permission that Contact B has to view/update Contact A</comment>
<add>2.1</add>
<add>2.1</add>
+ <pseudoconstant>
+ <callback>CRM_Core_SelectValues::getPermissionedRelationshipOptions</callback>
+ </pseudoconstant>
<html>
<html>
- <type>
CheckBox
</type>
+ <type>
Radio
</type>
</html>
</field>
<field>
</html>
</field>
<field>