mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-15 22:11:36 +01:00
instanciation of Facture objects raised errors, deleted them
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user