[Vtigercrm-developers] [PATCH] remove noise in invoice module
Enrico Weigelt
weigelt at metux.de
Thu May 10 08:21:41 PDT 2007
Hi folks,
this patch removes some noise in the invoice module ...
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact at metux.de
cellphone: +49 174 7066481
---------------------------------------------------------------------
-- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------
-------------- next part --------------
diff -ruN orig/include/js/Inventory.js htdocs/include/js/Inventory.js
--- orig/include/js/Inventory.js 2007-05-04 16:11:48.000000000 +0200
+++ htdocs/include/js/Inventory.js 2007-05-08 21:51:32.000000000 +0200
@@ -225,8 +225,8 @@
var max_row_count = document.getElementById('proTab').rows.length;
max_row_count = eval(max_row_count)-2;//As the table has two header rows, we will reduce two from table row length
- if(!FindDuplicate())
- return false;
+// if(!FindDuplicate())
+// return false;
if(max_row_count == 0)
{
@@ -357,12 +357,12 @@
}
}
}
- if(duplicate)
- {
- //alert("You have selected < "+duplicate_products+" > more than once in line items "+positions+".\n It is advisable to select the product just once but change the Qty. Thank You");
- if(!confirm(alert_arr.SELECTED_MORE_THAN_ONCE+"\n"+duplicate_products+"\n "+alert_arr.WANT_TO_CONTINUE))
- return false;
- }
+// if(duplicate)
+// {
+// //alert("You have selected < "+duplicate_products+" > more than once in line items "+positions+".\n It is advisable to select the product just once but change the Qty. Thank You");
+// if(!confirm(alert_arr.SELECTED_MORE_THAN_ONCE+"\n"+duplicate_products+"\n "+alert_arr.WANT_TO_CONTINUE))
+// return false;
+// }
return true;
}
More information about the vtigercrm-developers
mailing list