Merge pull request #6812 from eileenmcnaughton/CRM-17075
[civicrm-core.git] / xml / schema / Price / LineItem.xml
index ab78d870b985d2ea4ab8bfa70df5c17fd712ea15..000f891a93b2962019ae5b86988afb79333d050a 100644 (file)
@@ -92,7 +92,7 @@
   <field>
     <name>qty</name>
     <title>Line Item Quantity</title>
-    <type>int unsigned</type>
+    <type>decimal</type>
     <required>true</required>
     <comment>How many items ordered</comment>
     <add>1.7</add>
       <type>Text</type>
     </html>
   </field>
+  <field>
+    <name>tax_amount</name>
+    <title>Tax Amount</title>
+    <type>decimal</type>
+    <import>true</import>
+    <headerPattern>/tax(.?am(ou)?nt)?/i</headerPattern>
+    <dataPattern>/^\d+(\.\d{2})?$/</dataPattern>
+    <comment>tax of each item</comment>
+    <add>4.6</add>
+    <html>
+     <type>Text</type>
+   </html>
+  </field>
 </table>