Skip to content
Snippets Groups Projects
Commit fdd34c58 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #2665 from atm-maxime/3.6

Fix : include facture class for outstanding bill
parents ab771587 5a66e1f9
No related branches found
No related tags found
No related merge requests found
...@@ -3103,6 +3103,7 @@ class Societe extends CommonObject ...@@ -3103,6 +3103,7 @@ class Societe extends CommonObject
if ($resql) if ($resql)
{ {
$outstandingBill = 0; $outstandingBill = 0;
require_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php';
$facturestatic=new Facture($this->db); $facturestatic=new Facture($this->db);
while($obj=$this->db->fetch_object($resql)) { while($obj=$this->db->fetch_object($resql)) {
$facturestatic->id=$obj->rowid; $facturestatic->id=$obj->rowid;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment