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

SF.net SVN: ledger-smb:[3475] trunk/scripts/payment.pl



Revision: 3475
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3475&view=rev
Author:   einhverfr
Date:     2011-07-09 11:08:14 +0000 (Sat, 09 Jul 2011)

Log Message:
-----------
Correcting bug 3359164

Modified Paths:
--------------
    trunk/scripts/payment.pl

Modified: trunk/scripts/payment.pl
===================================================================
--- trunk/scripts/payment.pl	2011-07-09 09:24:08 UTC (rev 3474)
+++ trunk/scripts/payment.pl	2011-07-09 11:08:14 UTC (rev 3475)
@@ -106,6 +106,9 @@
 
 sub pre_bulk_post_report {
     my ($request) = @_;
+    if ($request->{account_class}  == 2){ # Not so helpful for receipts --CT
+       post_payments_bulk($request); 
+    }
     my $template = LedgerSMB::Template->new(
         user     => $request->{_user},
         locale   => $request->{_locale},


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