Add missing metadata
authorColeman Watts <coleman@civicrm.org>
Sun, 9 Feb 2014 01:16:30 +0000 (17:16 -0800)
committerColeman Watts <coleman@civicrm.org>
Sun, 9 Feb 2014 01:19:17 +0000 (17:19 -0800)
xml/schema/Contribute/ContributionPage.xml
xml/schema/Event/Event.xml
xml/schema/Event/EventPage.xml

index 62673788a0f596be524b725a8ba0c81151319825..6de9482676da208bd92884bcd877e9c67f169242 100644 (file)
@@ -54,6 +54,7 @@
   </foreignKey>
   <field>
     <name>financial_type_id</name>
+    <title>Financial Type</title>
     <type>int unsigned</type>
     <comment>default financial type assigned to contributions submitted via this page, e.g. Contribution, Campaign Contribution</comment>
     <pseudoconstant>
index ec438663765d15e7a1ee40493892b153689b00f3..8eb7c8895f8651b2a17b1de26e4c4c1fdb6da405 100644 (file)
@@ -9,7 +9,7 @@
   <field>
     <name>id</name>
     <type>int unsigned</type>
-    <title>Event ID</title>
+    <title>Event</title>
     <required>true</required>
     <comment>Event</comment>
     <add>1.7</add>
@@ -57,7 +57,7 @@
     <name>event_type_id</name>
     <type>int unsigned</type>
     <uniqueName>event_type_id</uniqueName>
-    <title>Event Type ID</title>
+    <title>Event Type</title>
     <default>0</default>
     <pseudoconstant>
       <optionGroupName>event_type</optionGroupName>
     <name>participant_listing_id</name>
     <type>int unsigned</type>
     <uniqueName>participant_listing_id</uniqueName>
-    <title>Participant Listing ID</title>
+    <title>Participant Listing</title>
     <default>0</default>
+    <pseudoconstant>
+      <optionGroupName>participant_listing</optionGroupName>
+    </pseudoconstant>
     <comment>Should we expose the participant list? Implicit FK to civicrm_option_value where option_group = participant_listing.</comment>
     <add>2.0</add>
   </field>
   <field>
     <name>financial_type_id</name>
     <type>int unsigned</type>
-    <title>Financial Type ID</title>
+    <title>Financial Type</title>
     <default>NULL</default>
     <comment>Financial type assigned to paid event registrations for this event. Required if is_monetary is true.</comment>
     <pseudoconstant>
     <import>true</import>
     <type>int unsigned</type>
     <default>1</default>
+    <pseudoconstant>
+      <optionGroupName>participant_role</optionGroupName>
+    </pseudoconstant>
     <comment>Participant role ID. Implicit FK to civicrm_option_value where option_group = participant_role.</comment>
     <add>2.0</add>
   </field>
index adcb2fdd0349c5214c8c92fe2c7b7970b3794b92..6156f8632e9ceaa1af25d624a6aca45c18c2e9bd 100644 (file)
@@ -18,7 +18,7 @@
   </primaryKey>
   <field>
       <name>event_id</name>
-      <title>Event ID</title>
+      <title>Event</title>
       <type>int unsigned</type>
       <required>true</required>
       <comment>Event which this page belongs to.</comment>