From 2e862f815a7be37793eaa410d04ace22c4cdf30b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 7 Apr 2021 00:44:01 +0200 Subject: [PATCH] Fix field total_ht --- htdocs/compta/facture/class/facturestats.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture/class/facturestats.class.php b/htdocs/compta/facture/class/facturestats.class.php index 31c4704bb77..e6547cc9f89 100644 --- a/htdocs/compta/facture/class/facturestats.class.php +++ b/htdocs/compta/facture/class/facturestats.class.php @@ -71,7 +71,7 @@ class FactureStats extends Stats $object = new Facture($this->db); $this->from = MAIN_DB_PREFIX.$object->table_element." as f"; $this->from_line = MAIN_DB_PREFIX.$object->table_element_line." as tl"; - $this->field = 'total'; + $this->field = 'total_ht'; $this->field_line = 'total_ht'; } if ($mode == 'supplier') {