CRM-17992 - Fix financial type label
[civicrm-core.git] / xml / schema / Contribute / Contribution.xml
index 02f271a097444ff9adf0216696e500cd23cd6736..614db5b34094a8bdffca65673df7dfb9fdc8cf9e 100644 (file)
@@ -31,7 +31,7 @@
     <dataPattern>/^\d+$/</dataPattern>
     <comment>FK to Contact ID</comment>
     <html>
-       <type>Autocomplete-Select</type>
+       <type>EntityRef</type>
      </html>
     <add>1.3</add>
   </field>
@@ -77,7 +77,7 @@
   </foreignKey>
   <field>
     <name>financial_type_id</name>
-    <title>Financial Type ID</title>
+    <title>Financial Type</title>
     <export>false</export>
     <type>int unsigned</type>
     <comment>FK to Financial Type for (total_amount - non_deductible_amount).</comment>
   <field>
     <name>payment_instrument_id</name>
     <uniqueName>payment_instrument_id</uniqueName>
-    <title>Payment Instrument ID</title>
+    <title>Payment Method</title>
     <type>int unsigned</type>
     <comment>FK to Payment Instrument</comment>
     <pseudoconstant>
       <type>Text</type>
     </html>
   </field>
+  <index>
+    <name>creditnote_id</name>
+    <fieldName>creditnote_id</fieldName>
+    <add>4.7</add>
+  </index>
   <field>
     <name>tax_amount</name>
     <title>Tax Amount</title>