Minor select bug in create recurrent invoices
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Tue, 22 Jun 2010 08:38:33 +0000 (08:38 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Tue, 22 Jun 2010 08:38:33 +0000 (08:38 +0000)
CHANGELOG.txt
sales/create_recurrent_invoices.php

index 9a2d81eaa368532fc6bb0a12f9ae728f9969d3b7..460c31a9f9e9fb561b779e20d4ad6b287b4354e6 100644 (file)
@@ -19,6 +19,10 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+22-Jun-2010 Joe Hunt
+# Minor select bug in create recurrent invoices
+$ /sales/create_recurrent_invoices.php
+
 18-Jun-2010 Joe Hunt
 - Removed constraint on day values in Payment Terms
 $ /admin/payment_terms.php
index c38a3ae3387ad37bf2d7d7d8e19598747037afc6..1f71ae42fe7311b5dc64c7f8e42f29fa3c2315ca 100644 (file)
@@ -91,7 +91,7 @@ if (isset($_GET['recurrent']))
                display_notification(sprintf(_("%s recurrent invoice(s) created, # $min - # $max."), count($invs)));
                if (count($invs) > 0)
                {
-                       $ar = array('PARAM_0' => $min,  'PARAM_1' => $max, 'PARAM_2' => "",
+                       $ar = array('PARAM_0' => $min."-".ST_SALESINVOICE,      'PARAM_1' => $max."-".ST_SALESINVOICE, 'PARAM_2' => "",
                                'PARAM_3' => 0, 'PARAM_4' => 0, 'PARAM_5' => "", 'PARAM_6' => ST_SALESINVOICE);
                        display_note(print_link(_("&Print Recurrent Invoices # $min - # $max"), 107, $ar), 0, 1);
                        $ar['PARAM_3'] = 1;