2
0
forked from Wavyzz/dolibarr

Fix: fetch_client is deprecated

This commit is contained in:
Regis Houssin
2010-08-06 13:56:25 +00:00
parent 8e57affa6e
commit aa62559812
35 changed files with 66 additions and 75 deletions

View File

@@ -225,7 +225,7 @@ function facture_meta_create($db, $facid, $message="")
$fac = new Facture($db,"",$facid);
$fac->fetch($facid);
$fac->fetch_client();
$fac->fetch_thirdparty();
if ($conf->facture->dir_output)
{

View File

@@ -132,7 +132,7 @@ class pdf_crabe extends ModelePDFFactures
$ret=$fac->fetch($id);
}
$fac->fetch_client();
$fac->fetch_thirdparty();
$deja_regle = $fac->getSommePaiement();
$amount_credit_notes_included = $fac->getSumCreditNotesUsed();

View File

@@ -128,7 +128,7 @@ class pdf_oursin extends ModelePDFFactures
$fac = new Facture($this->db);
$ret=$fac->fetch($id);
}
$fac->fetch_client();
$fac->fetch_thirdparty();
$deja_regle = $fac->getSommePaiement();
$amount_credit_notes_included = $fac->getSumCreditNotesUsed();