[Vtigercrm-commits] [vtiger-commits] r3912 - in /vtigercrm/branches/4.2/modules: Invoice/EditView.html Orders/EditView.html Orders/SalesOrderEditView.html Quotes/EditView.html

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Feb 23 19:00:53 EST 2006


Author: mfedyk
Date: Thu Feb 23 17:00:50 2006
New Revision: 3912

Log:
Fix Quotes/Invoices/Orders Do Not Support Negative Adjustments, by briand. close #30

Modified:
    vtigercrm/branches/4.2/modules/Invoice/EditView.html
    vtigercrm/branches/4.2/modules/Orders/EditView.html
    vtigercrm/branches/4.2/modules/Orders/SalesOrderEditView.html
    vtigercrm/branches/4.2/modules/Quotes/EditView.html

Modified: vtigercrm/branches/4.2/modules/Invoice/EditView.html
==============================================================================
--- vtigercrm/branches/4.2/modules/Invoice/EditView.html (original)
+++ vtigercrm/branches/4.2/modules/Invoice/EditView.html Thu Feb 23 17:00:50 2006
@@ -500,7 +500,7 @@
 		if (getObj("txtTax").value.replace(/^\s+/g, '').replace(/\s+$/g, '').length>0)
 			if (!numValidate("txtTax","Tax","any")) return false
 				if (getObj("txtAdjustment").value.replace(/^\s+/g, '').replace(/\s+$/g, '').length>0)
-					if (!numValidate("txtAdjustment","Adjustment","any")) return false
+					if (!numValidate("txtAdjustment","Adjustment","any",true)) return false
 
 						return true    
 	}

Modified: vtigercrm/branches/4.2/modules/Orders/EditView.html
==============================================================================
--- vtigercrm/branches/4.2/modules/Orders/EditView.html (original)
+++ vtigercrm/branches/4.2/modules/Orders/EditView.html Thu Feb 23 17:00:50 2006
@@ -493,7 +493,7 @@
 		if (getObj("txtTax").value.replace(/^\s+/g, '').replace(/\s+$/g, '').length>0)
 			if (!numValidate("txtTax","Tax","any")) return false
 				if (getObj("txtAdjustment").value.replace(/^\s+/g, '').replace(/\s+$/g, '').length>0)
-					if (!numValidate("txtAdjustment","Adjustment","any")) return false
+					if (!numValidate("txtAdjustment","Adjustment","any",true)) return false
 
 						return true    
 	}

Modified: vtigercrm/branches/4.2/modules/Orders/SalesOrderEditView.html
==============================================================================
--- vtigercrm/branches/4.2/modules/Orders/SalesOrderEditView.html (original)
+++ vtigercrm/branches/4.2/modules/Orders/SalesOrderEditView.html Thu Feb 23 17:00:50 2006
@@ -498,7 +498,7 @@
 		if (getObj("txtTax").value.replace(/^\s+/g, '').replace(/\s+$/g, '').length>0)
 			if (!numValidate("txtTax","Tax","any")) return false
 				if (getObj("txtAdjustment").value.replace(/^\s+/g, '').replace(/\s+$/g, '').length>0)
-					if (!numValidate("txtAdjustment","Adjustment","any")) return false
+					if (!numValidate("txtAdjustment","Adjustment","any",true)) return false
 
 						return true    
 	}

Modified: vtigercrm/branches/4.2/modules/Quotes/EditView.html
==============================================================================
--- vtigercrm/branches/4.2/modules/Quotes/EditView.html (original)
+++ vtigercrm/branches/4.2/modules/Quotes/EditView.html Thu Feb 23 17:00:50 2006
@@ -498,7 +498,7 @@
 		if (getObj("txtTax").value.replace(/^\s+/g, '').replace(/\s+$/g, '').length>0)
 			if (!numValidate("txtTax","Tax","any")) return false
 				if (getObj("txtAdjustment").value.replace(/^\s+/g, '').replace(/\s+$/g, '').length>0)
-					if (!numValidate("txtAdjustment","Adjustment","any")) return false
+					if (!numValidate("txtAdjustment","Adjustment","any",true)) return false
 
 						return true    
 	}





More information about the vtigercrm-commits mailing list