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

SF.net SVN: ledger-smb:[6409] trunk/bin/gl.pl



Revision: 6409
          http://sourceforge.net/p/ledger-smb/code/6409
Author:   einhverfr
Date:     2014-01-07 09:27:58 +0000 (Tue, 07 Jan 2014)
Log Message:
-----------
Fixes to allow gl drafts to save

Modified Paths:
--------------
    trunk/bin/gl.pl

Modified: trunk/bin/gl.pl
===================================================================
--- trunk/bin/gl.pl	2014-01-07 09:19:09 UTC (rev 6408)
+++ trunk/bin/gl.pl	2014-01-07 09:27:58 UTC (rev 6409)
@@ -695,16 +695,8 @@
         }
     }
 
-    if ( GL->post_transaction( \%myconfig, \%$form, $locale) ) {
-        for (0 .. $form->{rowcount}){
-            delete $form->{"credit_$_"};
-            delete $form->{"debit_$_"};
-        }
-        edit();
-    }
-    else {
-        $form->error( $locale->text('Cannot post transaction!') );
-    }
+    GL->post_transaction( \%myconfig, \%$form, $locale);
+    edit();
 
 }
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits