CRM-16352: Allow to define the language of Mailings (for tokens).
[civicrm-core.git] / xml / schema / Grant / Grant.xml
index 29ad10e739fc1175e78ac845cfa12f72853fa192..9a9d3096b82c6c5fb88f93d60dfa17ca8fe77d2d 100644 (file)
@@ -30,7 +30,7 @@
     <comment>Contact ID of contact record given grant belongs to.</comment>
     <add>1.8</add>
     <html>
-       <type>Autocomplete-Select</type>
+       <type>EntityRef</type>
      </html>
   </field>
   <foreignKey>
@@ -61,6 +61,7 @@
   </field>
   <field>
     <name>money_transfer_date</name>
+    <uniqueName>grant_money_transfer_date</uniqueName>
     <title>Grant Money transfer date</title>
     <type>date</type>
     <comment>Date on which grant money transfer was made.</comment>
     <html>
       <type>Select</type>
     </html>
-    <export>false</export>
+    <export>true</export>
     <required>true</required>
     <comment>Type of grant. Implicit FK to civicrm_option_value in grant_type option_group.</comment>
     <add>1.8</add>
   <index>
     <name>index_grant_type_id</name>
     <fieldName>grant_type_id</fieldName>
-    <pseudoconstant>
-      <optionGroupName>grant_type</optionGroupName>
-    </pseudoconstant>
-    <html>
-      <type>Select</type>
-    </html>
     <add>1.8</add>
   </index>
   <field>
         <table>civicrm_currency</table>
         <keyColumn>name</keyColumn>
         <labelColumn>full_name</labelColumn>
-        <nameColumn>numeric_code</nameColumn>
+        <nameColumn>name</nameColumn>
       </pseudoconstant>
       <html>
         <type>Select</type>