From 25edcabc84ab2d0816511c0fd43ed897a52c76fd Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Tue, 22 Jun 2010 08:38:33 +0000 Subject: [PATCH] Minor select bug in create recurrent invoices --- CHANGELOG.txt | 4 ++++ sales/create_recurrent_invoices.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 9a2d81e..460c31a 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -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 diff --git a/sales/create_recurrent_invoices.php b/sales/create_recurrent_invoices.php index c38a3ae..1f71ae4 100644 --- a/sales/create_recurrent_invoices.php +++ b/sales/create_recurrent_invoices.php @@ -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; -- 2.30.2