diff --git a/htdocs/societe/consumption.php b/htdocs/societe/consumption.php index 62db652d988..a924c4c9f7e 100644 --- a/htdocs/societe/consumption.php +++ b/htdocs/societe/consumption.php @@ -227,7 +227,7 @@ if ($type_element == 'propal') $where = " WHERE c.fk_soc = s.rowid AND s.rowid = ".$socid; $where .= " AND d.fk_propal = c.rowid"; $where .= " AND c.entity = ".$conf->entity; - $datePrint = 'c.datep'; + $dateprint = 'c.datep'; $doc_number = 'c.ref'; $thirdTypeSelect = 'customer'; }