From 4a4bc22aa76fd989f2c005102bd3da8e0327e547 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sun, 7 Apr 2019 08:48:16 +0200 Subject: [PATCH] Recurrent Invoices in 2.4 is not sending. Fixed by @Braath Waate. --- sales/create_recurrent_invoices.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sales/create_recurrent_invoices.php b/sales/create_recurrent_invoices.php index 2cc0de7e..989c7d03 100644 --- a/sales/create_recurrent_invoices.php +++ b/sales/create_recurrent_invoices.php @@ -143,9 +143,8 @@ if ($id != -1) if (count($invs) > 0) { $ar = array('PARAM_0' => $min."-".ST_SALESINVOICE, 'PARAM_1' => $max."-".ST_SALESINVOICE, 'PARAM_2' => "", - 'PARAM_3' => 0, 'PARAM_4' => 0, 'PARAM_5' => "", 'PARAM_6' => user_def_print_orientation()); + 'PARAM_3' => 0, 'PARAM_4' => 0, 'PARAM_5' => "", 'PARAM_6' => "", 'PARAM_7' => user_def_print_orientation()); display_note(print_link(sprintf(_("&Print Recurrent Invoices # %s - # %s"), $min, $max), 107, $ar), 0, 1); - $ar['PARAM_6'] = 1; // orygina³ $ar['PARAM_3'] = 1; // email display_note(print_link(sprintf(_("&Email Recurrent Invoices # %s - # %s"), $min, $max), 107, $ar), 0, 1); } -- 2.30.2