instanciation of Facture objects raised errors, deleted them
This commit is contained in:
parent
e939a4d268
commit
19dc3ef8da
@ -67,7 +67,6 @@ class box_graph_invoices_supplier_permonth extends ModeleBoxes
|
|||||||
$refreshaction='refresh_'.$this->boxcode;
|
$refreshaction='refresh_'.$this->boxcode;
|
||||||
|
|
||||||
include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
|
include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php';
|
||||||
$facturestatic=new Facture($db);
|
|
||||||
|
|
||||||
$text = $langs->trans("BoxSuppliersInvoicesPerMonth",$max);
|
$text = $langs->trans("BoxSuppliersInvoicesPerMonth",$max);
|
||||||
$this->info_box_head = array(
|
$this->info_box_head = array(
|
||||||
|
|||||||
@ -67,7 +67,6 @@ class box_graph_orders_supplier_permonth extends ModeleBoxes
|
|||||||
$refreshaction='refresh_'.$this->boxcode;
|
$refreshaction='refresh_'.$this->boxcode;
|
||||||
|
|
||||||
include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php';
|
include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php';
|
||||||
$facturestatic=new Facture($db);
|
|
||||||
|
|
||||||
$text = $langs->trans("BoxSuppliersOrdersPerMonth",$max);
|
$text = $langs->trans("BoxSuppliersOrdersPerMonth",$max);
|
||||||
$this->info_box_head = array(
|
$this->info_box_head = array(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user