Merge pull request #15856 from agileware/CIVICRM-1368
[civicrm-core.git] / xml / schema / Financial / FinancialType.xml
index d82956aa51ccd03549378598136030993908cd7b..bbdca886dae8338a792992bab2dcfc2aed1cec63 100644 (file)
     <headerPattern>/(finan(cial)?)?type/i</headerPattern>
     <dataPattern>/donation|member|campaign/i</dataPattern>
     <comment>Financial Type Name.</comment>
+    <html>
+      <type>Text</type>
+      <label>Name</label>
+    </html>
     <add>1.3</add>
-    <pseudoconstant>
-      <table>civicrm_financial_type</table>
-      <keyColumn>id</keyColumn>
-      <labelColumn>name</labelColumn>
-    </pseudoconstant>
   </field>
   <field>
     <name>accounting_code</name>
   <field>
     <name>description</name>
     <type>varchar</type>
+    <html>
+      <type>TextArea</type>
+      <rows>6</rows>
+      <cols>50</cols>
+      <label>Description</label>
+    </html>
     <length>255</length>
     <comment>Financial Type Description.</comment>
     <add>1.3</add>
     <default>1</default>
     <comment>Is this financial type tax-deductible? If true, contributions of this type may be fully OR partially deductible - non-deductible amount is stored in the Contribution record.</comment>
     <add>1.3</add>
+    <html>
+      <type>CheckBox</type>
+      <label>Tax-Deductible?</label>
+    </html>
   </field>
   <field>
     <name>is_reserved</name>
     <length>4</length>
     <comment>Is this a predefined system object?</comment>
     <add>1.3</add>
+    <html>
+      <type>CheckBox</type>
+      <label>Reserved?</label>
+    </html>
   </field>
   <field>
     <name>is_active</name>
     <length>4</length>
     <comment>Is this property active?</comment>
     <add>1.3</add>
+    <html>
+      <type>CheckBox</type>
+      <label>Enabled?</label>
+    </html>
   </field>
   <index>
     <name>UI_id</name>