CRM-15168 add titles to some xml fields
[civicrm-core.git] / xml / schema / Batch / Batch.xml
index d560c8a45ab26a753089caca6e9e11ccb1392da5..2841971a0133932f3587cc8cc8cad1def5fb232f 100644 (file)
@@ -8,6 +8,7 @@
   <add>3.3</add>
   <field>
     <name>id</name>
+    <title>Batch ID</title>
     <type>int unsigned</type>
     <required>true</required>
     <comment>Unique Address ID</comment>
   </primaryKey>
   <field>
     <name>name</name>
+    <title>Batch Name</title>
     <type>varchar</type>
     <length>64</length>
     <comment>Variable name/programmatic handle for this batch.</comment>
     <add>3.3</add>
+    <html>
+      <type>Text</type>
+    </html>
   </field>
   <index>
     <name>UI_name</name>
   </field>
   <field>
     <name>title</name>
+    <title>Batch Title</title>
     <type>varchar</type>
     <length>64</length>
     <localizable>true</localizable>
     <comment>Friendly Name.</comment>
     <add>4.2</add>
+    <html>
+      <type>Text</type>
+    </html>
   </field>
   <field>
     <name>description</name>
+    <title>Batch Description</title>
     <type>text</type>
     <comment>Description of this batch set.</comment>
     <localizable>true</localizable>
-    <htmlType>textarea</htmlType>
-    <rows>4</rows>
-    <cols>80</cols>
+    <html>
+      <type>TextArea</type>
+      <rows>4</rows>
+      <cols>80</cols>
+    </html>
     <add>3.3</add>
   </field>
   <field>
     <name>created_id</name>
+    <title>Batch Created By</title>
     <type>int unsigned</type>
     <comment>FK to Contact ID</comment>
     <add>3.3</add>
   </foreignKey>
   <field>
     <name>created_date</name>
+    <title>Batch Created Date</title>
     <type>datetime</type>
     <comment>When was this item created</comment>
     <add>3.3</add>
+    <html>
+      <type>Select Date</type>
+    </html>
   </field>
   <field>
     <name>modified_id</name>
+    <title>Batch Modified By</title>
     <type>int unsigned</type>
     <comment>FK to Contact ID</comment>
     <add>3.3</add>
   </field>
   <field>
     <name>modified_date</name>
+    <title>Batch Modified Date</title>
     <type>datetime</type>
     <comment>When was this item created</comment>
     <add>3.3</add>
   </foreignKey>
   <field>
     <name>saved_search_id</name>
+    <title>Batch Smart Group</title>
     <type>int unsigned</type>
     <comment>FK to Saved Search ID</comment>
     <add>4.1</add>
+    <html>
+      <type>Autocomplete-Select</type>
+    </html>
   </field>
   <foreignKey>
     <name>saved_search_id</name>
   </foreignKey>
   <field>
     <name>status_id</name>
+    <title>Batch Status</title>
     <type>int unsigned</type>
     <required>true</required>
     <comment>fk to Batch Status options in civicrm_option_values</comment>
     <pseudoconstant>
       <optionGroupName>batch_status</optionGroupName>
     </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <field>
     <name>type_id</name>
+    <title>Batch Type</title>
     <type>int unsigned</type>
     <comment>fk to Batch Type options in civicrm_option_values</comment>
     <add>4.2</add>
     <pseudoconstant>
       <optionGroupName>batch_type</optionGroupName>
     </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <field>
     <name>mode_id</name>
+    <title>Batch Mode</title>
     <type>int unsigned</type>
     <comment>fk to Batch mode options in civicrm_option_values</comment>
     <add>4.2</add>
     <pseudoconstant>
       <optionGroupName>batch_mode</optionGroupName>
     </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
   </field>
   <field>
     <name>total</name>
+    <title>Batch Total</title>
     <type>decimal</type>
     <comment>Total amount for this batch.</comment>
     <add>4.2</add>
+    <html>
+      <type>Text</type>
+    </html>
   </field>
   <field>
     <name>item_count</name>
+    <title>Batch Number of Items</title>
     <type>int unsigned</type>
     <comment>Number of items in a batch.</comment>
     <add>4.2</add>
+    <html>
+      <type>Text</type>
+    </html>
   </field>
   <field>
     <name>payment_instrument_id</name>
+    <title>Batch Payment Instrument</title>
     <type>int unsigned</type>
     <comment>fk to Payment Instrument options in civicrm_option_values</comment>
     <pseudoconstant>
       <optionGroupName>payment_instrument</optionGroupName>
     </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
     <add>4.3</add>
   </field>
   <field>
     <name>exported_date</name>
+    <title>Batch Exported Date</title>
     <type>datetime</type>
     <add>4.3</add>
   </field>
   <field>
     <name>data</name>
+    <title>Batch Data</title>
     <type>longtext</type>
     <comment>cache entered data</comment>
     <add>4.4</add>