diff --git a/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php b/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php index d66bffefe10..ad59e64e89f 100644 --- a/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php +++ b/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php @@ -67,7 +67,6 @@ class box_graph_invoices_supplier_permonth extends ModeleBoxes $refreshaction='refresh_'.$this->boxcode; include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; - $facturestatic=new Facture($db); $text = $langs->trans("BoxSuppliersInvoicesPerMonth",$max); $this->info_box_head = array( diff --git a/htdocs/core/boxes/box_graph_orders_supplier_permonth.php b/htdocs/core/boxes/box_graph_orders_supplier_permonth.php index f54fc336577..23e701af36e 100644 --- a/htdocs/core/boxes/box_graph_orders_supplier_permonth.php +++ b/htdocs/core/boxes/box_graph_orders_supplier_permonth.php @@ -67,7 +67,6 @@ class box_graph_orders_supplier_permonth extends ModeleBoxes $refreshaction='refresh_'.$this->boxcode; include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php'; - $facturestatic=new Facture($db); $text = $langs->trans("BoxSuppliersOrdersPerMonth",$max); $this->info_box_head = array(