--worked on CRA-12501, changed length/values for tax_rate from 9,8 to 10,8
authorPradeep Nayak <pradeep@pradeep.(none)>
Sat, 4 May 2013 18:19:40 +0000 (23:49 +0530)
committerPradeep Nayak <pradeep@pradeep.(none)>
Sat, 4 May 2013 18:19:40 +0000 (23:49 +0530)
----------------------------------------
* CRM-12501: Financial Account Tax > 10 causes error
  http://issues.civicrm.org/jira/browse/CRM-12501

CRM/Upgrade/Incremental/sql/4.3.3.mysql.tpl [new file with mode: 0644]
xml/schema/Financial/FinancialAccount.xml

diff --git a/CRM/Upgrade/Incremental/sql/4.3.3.mysql.tpl b/CRM/Upgrade/Incremental/sql/4.3.3.mysql.tpl
new file mode 100644 (file)
index 0000000..0b75a6d
--- /dev/null
@@ -0,0 +1,2 @@
+-- CRM-12501 
+ALTER TABLE civicrm_financial_account CHANGE `tax_rate` `tax_rate` DECIMAL( 10, 8 ) NULL DEFAULT NULL COMMENT 'The percentage of the total_amount that is due for this tax.';
index 877a66e077ddcdc2b337456d9da69cd563aae153..8c0fc0c68199fa5e2fda9017728195358c2f47bb 100644 (file)
   <field>
     <name>tax_rate</name>
     <type>decimal</type>
-    <length>9,8</length>
+    <length>10,8</length>
     <comment>The percentage of the total_amount that is due for this tax.</comment>
     <add>4.3</add>
   </field>