[Vtigercrm-commits] [vtiger-commits] r10593 - /vtigercrm/branches/5.0.3/include/js/Inventory.js

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Apr 9 07:07:19 EDT 2007


Author: richie
Date: Mon Apr  9 05:07:14 2007
New Revision: 10593

Log:
* Rounded the tax values, Fixed #3370

Modified:
    vtigercrm/branches/5.0.3/include/js/Inventory.js

Modified: vtigercrm/branches/5.0.3/include/js/Inventory.js
==============================================================================
--- vtigercrm/branches/5.0.3/include/js/Inventory.js (original)
+++ vtigercrm/branches/5.0.3/include/js/Inventory.js Mon Apr  9 05:07:14 2007
@@ -659,7 +659,7 @@
 	{
 		tax_total = tax_total + eval(new_amount_lbl[i].value);
 	}
-	document.getElementById("taxTotal"+curr_row).innerHTML = tax_total;
+	document.getElementById("taxTotal"+curr_row).innerHTML = roundValue(tax_total);
 
 	calcTotal();
 }
@@ -677,7 +677,7 @@
 		group_tax_total = eval(group_tax_total) + eval(tax_amount);
 	}
 
-	document.getElementById("tax_final").innerHTML = group_tax_total;
+	document.getElementById("tax_final").innerHTML = roundValue(group_tax_total);
 
 	calcTotal();
 }





More information about the vtigercrm-commits mailing list