phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r5454 - phpcompta/trunk/html/js


From: phpcompta-dev
Subject: [Phpcompta-dev] r5454 - phpcompta/trunk/html/js
Date: Tue, 1 Oct 2013 19:02:54 +0200 (CEST)

Author: danydb
Date: 2013-10-01 19:02:54 +0200 (Tue, 01 Oct 2013)
New Revision: 5454

Modified:
   phpcompta/trunk/html/js/acc_ledger.js
Log:
Bug : correct align in gestion detail table

Modified: phpcompta/trunk/html/js/acc_ledger.js
===================================================================
--- phpcompta/trunk/html/js/acc_ledger.js       2013-10-01 16:42:00 UTC (rev 
5453)
+++ phpcompta/trunk/html/js/acc_ledger.js       2013-10-01 17:02:54 UTC (rev 
5454)
@@ -1049,6 +1049,9 @@
             new_tt = new_tt.replace(/compute_ledger\(0\)/g, "compute_ledger(" 
+ nb.value + ")");
             new_tt = new_tt.replace(/clean_tva\(0\)/g, "clean_tva(" + nb.value 
+ ")");
             newCell.innerHTML = new_tt;
+            if ( mytable.rows[1].cells[e].hasClassName("num") ) {
+                newCell.addClassName("num");
+            }
             new_tt.evalScripts();
         }
 
@@ -1057,6 +1060,7 @@
         g("e_march" + nb.value + "_price").value = '0';
         g("e_march" + nb.value).value = "";
         g("e_quant" + nb.value).value = "1";
+        g('tvac_march'+nb.value).value="0";
         if ($("e_march" + nb.value + "_tva_amount"))
             g("e_march" + nb.value + "_tva_amount").value = 0;
 



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]