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

SF.net SVN: ledger-smb:[4282] branches/1.3



Revision: 4282
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4282&view=rev
Author:   einhverfr
Date:     2012-01-24 09:53:58 +0000 (Tue, 24 Jan 2012)
Log Message:
-----------
Correcting GL recurring transactions not posting

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/bin/am.pl

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2012-01-23 08:04:56 UTC (rev 4281)
+++ branches/1.3/Changelog	2012-01-24 09:53:58 UTC (rev 4282)
@@ -13,6 +13,7 @@
 * Fixed Customer/vendor selection for dropdowns (Chris T)
 * Fixed some HASH() entries in CSV templates (Chris T)
 * Removed unnecessary shebang lines in scripts/* files (Robert C)
+* Fixed GL recurring transaction not posting (Chris T)
 
 Changelog for 1.3.10
 * Fixes for permissions for exchangerate table (Erik H)

Modified: branches/1.3/bin/am.pl
===================================================================
--- branches/1.3/bin/am.pl	2012-01-23 08:04:56 UTC (rev 4281)
+++ branches/1.3/bin/am.pl	2012-01-24 09:53:58 UTC (rev 4282)
@@ -2703,7 +2703,7 @@
                 $form->{reference} = $pt->{reference};
                 $form->{transdate} = $pt->{nextdate};
 
-                $j = 1;
+                $j = 0;
                 foreach $ref ( @{ $form->{GL} } ) {
                     $form->{"accno_$j"} = "$ref->{accno}--$ref->{description}";
 
@@ -2732,7 +2732,7 @@
                         $form->{reference}
                       )
                 );
-                $ok = GL->post_transaction( \%myconfig, \%$form );
+                $ok = GL->post_transaction( \%myconfig, \%$form, $locale );
                 $form->info( " ..... " . $locale->text('done') );
 
             }

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