[NFC] Update Pledge XML to support date picker conversion
[civicrm-core.git] / xml / schema / Pledge / Pledge.xml
index 50ecd9c2261b391c4ae8f46a650cb85368b180d2..7fd1cf35cc2c5c8e74100cafb2d7f1d0c11de829 100644 (file)
     <type>datetime</type>
     <title>Pledge Start Date</title>
     <required>true</required>
+    <export>true</export>
     <comment>The date the first scheduled pledge occurs.</comment>
     <add>2.1</add>
     <html>
-        <type>Select Date</type>
-      </html>
+      <type>Select Date</type>
+    </html>
+    <uniqueName>pledge_start_date</uniqueName>
+    <uniqueTitle>Payments Start Date</uniqueTitle>
   </field>
   <field>
     <name>create_date</name>
     <title>Pledge Made</title>
     <required>true</required>
     <import>true</import>
+    <export>true</export>
     <comment>When this pledge record was created.</comment>
     <add>2.1</add>
     <html>
     <comment>When a pledge acknowledgement message was sent to the contributor.</comment>
     <add>2.1</add>
     <html>
-        <type>Select Date</type>
+      <type>Select Date</type>
     </html>
   </field>
   <field>
     <comment>Date this pledge was cancelled by contributor.</comment>
     <add>2.1</add>
     <html>
-        <type>Select Date</type>
+      <type>Select Date</type>
     </html>
   </field>
   <field>
     <name>end_date</name>
     <type>datetime</type>
     <title>Pledge End Date</title>
+    <export>true</export>
     <comment>Date this pledge finished successfully (total pledge payments equal to or greater than pledged amount).</comment>
     <add>2.1</add>
     <html>
-        <type>Select Date</type>
+      <type>Select Date</type>
     </html>
+    <uniqueName>pledge_end_date</uniqueName>
+    <uniqueTitle>Payments Ended Date</uniqueTitle>
   </field>
   <field>
     <name>max_reminders</name>
     <default>1</default>
     <comment>The maximum number of payment reminders to send for any given payment.</comment>
     <html>
-         <type>Text</type>
-       </html>
+       <type>Text</type>
+     </html>
     <add>2.1</add>
   </field>
   <field>
     <comment>Send initial reminder this many days prior to the payment due date.</comment>
     <add>2.1</add>
     <html>
-          <type>Select</type>
-        </html>
+      <type>Select</type>
+    </html>
   </field>
   <field>
     <name>additional_reminder_day</name>
     <comment>Send additional reminder this many days after last one sent, up to maximum number of reminders.</comment>
     <add>2.1</add>
     <html>
-         <type>Text</type>
-       </html>
+      <type>Text</type>
+    </html>
   </field>
   <field>
     <name>status_id</name>