Fix: Amount must be HT

This commit is contained in:
Laurent Destailleur 2011-12-01 23:09:50 +01:00
parent 07ccc091ea
commit 6189acc3b4

View File

@ -64,7 +64,7 @@ class PropaleStats extends Stats
$this->from = MAIN_DB_PREFIX.$object->table_element." as p";
$this->from.= ", ".MAIN_DB_PREFIX."societe as s";
$this->field='total';
$this->field='total_ht';
$this->where.= " fk_statut > 0";
$this->where.= " AND p.fk_soc = s.rowid AND s.entity = ".$conf->entity;