This commit is contained in:
andreubisquerra 2022-03-31 21:43:48 +02:00 committed by GitHub
parent e46541708c
commit 7f4e71f66f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {