2
0
forked from Wavyzz/dolibarr

Fix: [ bug #247 ] Statistiques: Montant HT ou TTC

This commit is contained in:
Laurent Destailleur
2011-12-01 23:10:48 +01:00
parent e35ff42eda
commit 9279964d75

View File

@@ -66,7 +66,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;