mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-13 19:25:22 +01:00
Bugfix
This commit is contained in:
@@ -101,6 +101,7 @@ $sql .= " , avance_pourcent, rem_pour_prev";
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."telephonie_contrat_priseordre";
|
||||
|
||||
$sql .= " WHERE date_format(datepo, '%Y%m') = '".$year_prev.$month_prev."';";
|
||||
$sql .= " AND fk_distributeur > 0";
|
||||
|
||||
$resql = $db->query($sql);
|
||||
|
||||
@@ -169,6 +170,8 @@ $sql .= " AND f.fk_ligne = l.rowid";
|
||||
|
||||
//$sql .= " AND date_format(f.date, '%Y%m') = '".$year_prev.$month_prev."'";
|
||||
|
||||
$sql .= " AND fk_distributeur > 0";
|
||||
|
||||
$resql = $db->query($sql);
|
||||
|
||||
if ( $resql )
|
||||
|
||||
Reference in New Issue
Block a user