Author: danydb
Date: 2011-11-22 15:09:52 +0100 (Tue, 22 Nov 2011)
New Revision: 4441

Modified:
   phpcompta/trunk/html/ajax_ledger.php
Log:
detail ledger -> paid/not paid

Modified: phpcompta/trunk/html/ajax_ledger.php
===================================================================
--- phpcompta/trunk/html/ajax_ledger.php        2011-11-22 13:37:37 UTC (rev 
4440)
+++ phpcompta/trunk/html/ajax_ledger.php        2011-11-22 14:09:52 UTC (rev 
4441)
@@ -385,6 +385,7 @@
                     {
                         $rec->insert($rapt);
                     }
+            }
               if ( isset($_POST['ipaid']))
               {
                   $cn->exec_sql("update jrn set jr_rapt='paid' where 
jr_id=$1",array($jr_id));
@@ -393,7 +394,6 @@
               {
                   $cn->exec_sql("update jrn set jr_rapt=null where 
jr_id=$1",array($jr_id));
               }
-            }
             ////////////////////////////////////////////////////
             // CA
             //////////////////////////////////////////////////


_______________________________________________
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev

Reply via email to