Merge branch 'FIX_jointure_cabyprod' of github.com:atm-quentin/dolibarr into FIX_jointure_cabyprod

This commit is contained in:
Quentin VIAL-GOUTEYRON 2021-06-07 10:11:19 +02:00
commit 2a4f6882c5

View File

@ -266,7 +266,6 @@ if ($modecompta == 'CREANCES-DETTES')
if ($subcat) $sql .= "cp.fk_categorie IN (".$listofcatsql.")";
else $sql .= "cp.fk_categorie = ".$selected_cat;
$sql .= "))";
}
if ($selected_soc > 0) $sql .= " AND soc.rowid=".$selected_soc;
$sql .= " AND f.entity IN (".getEntity('invoice').")";