[Vtigercrm-commits] [vtiger-commits] r4485 - /vtigercrm/trunk/modules/Invoice/Invoice.js

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Mar 27 23:01:13 EST 2006


Author: saraj
Date: Mon Mar 27 21:01:09 2006
New Revision: 4485

Log:
junk code has been removed

Modified:
    vtigercrm/trunk/modules/Invoice/Invoice.js

Modified: vtigercrm/trunk/modules/Invoice/Invoice.js
==============================================================================
--- vtigercrm/trunk/modules/Invoice/Invoice.js (original)
+++ vtigercrm/trunk/modules/Invoice/Invoice.js Mon Mar 27 21:01:09 2006
@@ -165,25 +165,6 @@
    return val;
 } 
 
-/*
-
-
-function roundValue(val) {
-	if (val.indexOf(".")<0) {
-		val+=".00"
-	} else {
-		var dec=val.substring(val.indexOf(".")+1,val.length)
-		if (dec.length>2)
-			val=val.substring(0,val.indexOf("."))+"."+dec.substring(0,2)
-		else if (dec.length==1)
-			val=val+"0"
-	}
-	
-	return val;
-}
-*/
-
-
 function copyAddressRight(form) {
 
 	form.ship_street.value = form.bill_street.value;
@@ -347,8 +328,6 @@
         var fldId = getOpenerObj("product_id");
         fldName.value = product_name;
         fldId.value = product_id;
-	//window.opener.document.EditView.product_name.value = product_name;
-        //window.opener.document.EditView.product_id.value = product_id;
 }
 
 function set_return_formname_specific(formname,product_id, product_name) {





More information about the vtigercrm-commits mailing list