phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r5141 - phpcompta/tags/rel650/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r5141 - phpcompta/tags/rel650/include
Date: Tue, 16 Oct 2012 01:14:01 +0200 (CEST)

Author: danydb
Date: 2012-10-16 01:14:01 +0200 (Tue, 16 Oct 2012)
New Revision: 5141

Modified:
   phpcompta/tags/rel650/include/class_acc_ledger_fin.php
Log:
Sugg?\195?\169rer la date = oui ne met plus la date ?\195?\160 jour dans les 
achats

Modified: phpcompta/tags/rel650/include/class_acc_ledger_fin.php
===================================================================
--- phpcompta/tags/rel650/include/class_acc_ledger_fin.php      2012-10-15 
23:13:30 UTC (rev 5140)
+++ phpcompta/tags/rel650/include/class_acc_ledger_fin.php      2012-10-15 
23:14:01 UTC (rev 5141)
@@ -291,12 +291,14 @@
 
                // Ledger (p_jrn)
                //--
+               
$onchange="update_bank();ajax_saldo('first_sold');update_name();";
 
-               $add_js = 
'onchange="update_pj();update_bank();ajax_saldo(\'first_sold\');update_name();"';
-
                if ($g_parameter->MY_DATE_SUGGEST == 'Y')
-                       $add_js = 
'onchange="update_pj();update_bank();get_last_date();ajax_saldo(\'first_sold\');update_name();"';
+                       $onchange .= 'get_last_date();';
+               if ($g_parameter->MY_PJ_SUGGEST=='Y')
+                       $onchange .= 'update_pj();';
 
+               $add_js = 'onchange="'.$onchange.'"';
                $wLedger = $this->select_ledger('FIN', 2);
                if ($wLedger == null)
                        exit('Pas de journal disponible');



---
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]