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

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



Revision: 5264
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5264&view=rev
Author:   einhverfr
Date:     2012-11-26 06:59:25 +0000 (Mon, 26 Nov 2012)
Log Message:
-----------
Fixing blank screen in fcgi processing recurring transactions

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

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2012-11-25 04:11:32 UTC (rev 5263)
+++ branches/1.3/Changelog	2012-11-26 06:59:25 UTC (rev 5264)
@@ -10,6 +10,8 @@
 * Fixed blank screen on posting AR/IS/OE (Chris T)
 * Fixed ECA's not distinct on parts screen and search (Chris T, 3550075)
 * Fixed error saving imported user with no existing db role (Chris T, 3559844)
+* Added ar-transation.csv and ap-transaction.csvn templates (Erik H)
+* Fixed blank screen processing recurring transactiosn in fcgi (Chris T)
 
 Chris T is Chris Travers
 Kevin B is Kevin Bailey

Modified: branches/1.3/LedgerSMB/Form.pm
===================================================================
--- branches/1.3/LedgerSMB/Form.pm	2012-11-25 04:11:32 UTC (rev 5263)
+++ branches/1.3/LedgerSMB/Form.pm	2012-11-26 06:59:25 UTC (rev 5264)
@@ -1235,7 +1235,6 @@
     my $dd;
     $spc =~ s/\w//g;
     $spc = substr( $spc, 0, 1 );
-
     if ($date) {
 
         if ( $date =~ /\D/ ) {

Modified: branches/1.3/bin/am.pl
===================================================================
--- branches/1.3/bin/am.pl	2012-11-25 04:11:32 UTC (rev 5263)
+++ branches/1.3/bin/am.pl	2012-11-26 06:59:25 UTC (rev 5264)
@@ -2437,7 +2437,6 @@
 }
 
 sub process_transactions {
-
     # save variables
     my $pt = new Form;
     for ( keys %$form ) { $pt->{$_} = $form->{$_} }
@@ -2458,7 +2457,7 @@
             $id = $pt->{"ndx_$i"};
 
             # process transaction
-            AM->recurring_details( \%myconfig, \%$pt, $id );
+            AM->recurring_details( \%myconfig, $pt, $id );
 
 
             # reset $form
@@ -2536,9 +2535,7 @@
                     # tax accounts
                     $form->all_taxaccounts( \%myconfig, undef,
                         $form->{transdate} );
-                    $form->{transdate} = $form->convert_date(
-                             $pt->{nextdate}, \%myconfig
-                    );
+                    $form->{transdate} = $pt->{nextdate};
                     # calculate duedate
                     $form->{duedate} =
                       $form->add_date( \%myconfig, $form->{transdate},

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