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

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



Revision: 2218
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2218&view=rev
Author:   einhverfr
Date:     2008-07-21 22:57:42 +0000 (Mon, 21 Jul 2008)

Log Message:
-----------
Adding max numbers of invoices to check template, take 2

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

Modified: trunk/scripts/payment.pl
===================================================================
--- trunk/scripts/payment.pl	2008-07-21 22:49:29 UTC (rev 2217)
+++ trunk/scripts/payment.pl	2008-07-21 22:57:42 UTC (rev 2218)
@@ -302,7 +302,7 @@
                 $inv_count = $LedgerSMB::Sysconfig::check_max_invoices;
             }
 
-            for my $inv (1 .. $payment->{"invoice_count_$id"}){
+            for my $inv (1 .. $inv_count){
 		print STDERR "Invoice $inv of " .$payment->{"invoice_count_$id"} . "\n";
                 my $invhash = {};
                 my $inv_id = $payment->{"invoice_${id}_$inv"};


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