FIX - no ligne title or sub-total or comment

This commit is contained in:
Anthony Berton 2022-10-24 18:28:00 +02:00
parent 9c6dd0f5df
commit 2671bd6433

View File

@ -422,6 +422,7 @@ $sql .= $hookmanager->resPrint;
$sql .= ' WHERE c.fk_soc = s.rowid';
$sql .= ' AND c.entity IN ('.getEntity('commande').')';
$sql .= ' AND cdet.product_type <> 9';
if (!empty($productonly)) {
$sql .= " AND (cdet.product_type = 0 OR cdet.product_type = 1)";