From 6189acc3b4cdcd4ca5e7376a41dad4c035ea4337 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 1 Dec 2011 23:09:50 +0100 Subject: [PATCH] Fix: Amount must be HT --- htdocs/comm/propal/class/propalestats.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/propal/class/propalestats.class.php b/htdocs/comm/propal/class/propalestats.class.php index b817c000646..dc355ef14ca 100644 --- a/htdocs/comm/propal/class/propalestats.class.php +++ b/htdocs/comm/propal/class/propalestats.class.php @@ -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;