Merge pull request #15103 from hregis/develop_bug2

FIX sql syntax error
This commit is contained in:
Laurent Destailleur 2020-10-22 21:35:14 +02:00 committed by GitHub
commit 8505810f90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -163,7 +163,7 @@ if (!empty($conf->facture->enabled) && $user->rights->facture->lire)
$sql .= " GROUP BY f.rowid, f.ref, f.datef, f.total, f.tva, f.total_ttc, f.ref_client, f.type, ";
$sql .= "s.email, s.nom, s.rowid, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur";
$sql .= ", cc.rowid as country_id, cc.code as country_code";
$sql .= ", cc.rowid, cc.code";
// Add Group from hooks
$parameters = array();