diff --git a/htdocs/takepos/invoice.php b/htdocs/takepos/invoice.php index d7de5ffd7e8..1dbf033482d 100644 --- a/htdocs/takepos/invoice.php +++ b/htdocs/takepos/invoice.php @@ -535,6 +535,7 @@ if ($action == "addline") { } $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") { foreach ($invoice->lines as $line) { if ($line->product_ref == $prod->ref) {