From 46f7c8cad595c7a457f8594b398a17f9977aa3bc Mon Sep 17 00:00:00 2001 From: "jove@bisquerra.com" Date: Mon, 11 Jul 2022 20:37:42 +0200 Subject: [PATCH] Eliminate double checking if it is sent to the kitchen --- htdocs/takepos/invoice.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php index bdc11c79b2f..e3f4a106c67 100644 --- a/htdocs/takepos/invoice.php +++ b/htdocs/takepos/invoice.php @@ -544,7 +544,7 @@ if (empty($reshook)) { $idoflineadded = 0; // Group if enabled. Skip group if line already sent to the printer - if (!empty($conf->global->TAKEPOS_GROUP_SAME_PRODUCT) && $line->special_code != "4") { + if (!empty($conf->global->TAKEPOS_GROUP_SAME_PRODUCT)) { foreach ($invoice->lines as $line) { if ($line->product_ref == $prod->ref) { if ($line->special_code==4) continue; // If this line is sended to printer create new line