forked from Wavyzz/dolibarr
Fix: Bad object
This commit is contained in:
@@ -233,7 +233,7 @@ class CommActionRapport
|
||||
global $conf,$langs;
|
||||
|
||||
// Do not add the BACKGROUND as this is a report
|
||||
//pdf_pagehead($pdf,$outputlangs,$pdf->page_hauteur);
|
||||
//pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
|
||||
|
||||
// New page
|
||||
$pdf->AddPage();
|
||||
|
||||
@@ -491,7 +491,7 @@ class pdf_edison extends ModelePDFCommandes
|
||||
global $conf,$langs,$mysoc;
|
||||
$langs->load("orders");
|
||||
|
||||
pdf_pagehead($pdf,$outputlangs,$pdf->page_hauteur);
|
||||
pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
|
||||
|
||||
//Affiche le filigrane brouillon - Print Draft Watermark
|
||||
if($object->statut==0 && (! empty($conf->global->COMMANDE_DRAFT_WATERMARK)) )
|
||||
|
||||
@@ -817,7 +817,7 @@ class pdf_einstein extends ModelePDFCommandes
|
||||
$outputlangs->load("propal");
|
||||
$outputlangs->load("companies");
|
||||
|
||||
pdf_pagehead($pdf,$outputlangs,$pdf->page_hauteur);
|
||||
pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
|
||||
|
||||
//Affiche le filigrane brouillon - Print Draft Watermark
|
||||
if($object->statut==0 && (! empty($conf->global->COMMANDE_DRAFT_WATERMARK)) )
|
||||
|
||||
@@ -326,7 +326,7 @@ Class pdf_expedition_merou extends ModelePdfExpedition
|
||||
{
|
||||
global $conf, $langs;
|
||||
|
||||
pdf_pagehead($pdf,$outputlangs,$pdf->page_hauteur);
|
||||
pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
|
||||
|
||||
//Affiche le filigrane brouillon - Print Draft Watermark
|
||||
if($object->statut==0 && (! empty($conf->global->SENDING_DRAFT_WATERMARK)) )
|
||||
|
||||
@@ -78,7 +78,7 @@ Class pdf_expedition_rouget extends ModelePdfExpedition
|
||||
global $conf,$langs,$mysoc;
|
||||
$langs->load("orders");
|
||||
|
||||
pdf_pagehead($pdf,$outputlangs,$pdf->page_hauteur);
|
||||
pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
|
||||
|
||||
//Affiche le filigrane brouillon - Print Draft Watermark
|
||||
if($object->statut==0 && (! empty($conf->global->SENDING_DRAFT_WATERMARK)) )
|
||||
|
||||
@@ -975,7 +975,7 @@ class pdf_crabe extends ModelePDFFactures
|
||||
$outputlangs->load("propal");
|
||||
$outputlangs->load("companies");
|
||||
|
||||
pdf_pagehead($pdf,$outputlangs,$pdf->page_hauteur);
|
||||
pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
|
||||
|
||||
//Affiche le filigrane brouillon - Print Draft Watermark
|
||||
if($object->statut==0 && (! empty($conf->global->FACTURE_DRAFT_WATERMARK)) )
|
||||
|
||||
@@ -786,7 +786,7 @@ class pdf_oursin extends ModelePDFFactures
|
||||
$langs->load("propal");
|
||||
$langs->load("companies");
|
||||
|
||||
pdf_pagehead($pdf,$outputlangs,$pdf->page_hauteur);
|
||||
pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
|
||||
|
||||
//Affiche le filigrane brouillon - Print Draft Watermark
|
||||
if($object->statut==0 && (! empty($conf->global->FACTURE_DRAFT_WATERMARK)) )
|
||||
|
||||
@@ -354,7 +354,7 @@ class pdf_sirocco extends ModelePDFDeliveryOrder
|
||||
{
|
||||
global $langs,$conf,$mysoc;
|
||||
|
||||
pdf_pagehead($pdf,$outputlangs,$pdf->page_hauteur);
|
||||
pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
|
||||
|
||||
$pdf->SetTextColor(0,0,60);
|
||||
$pdf->SetFont('Arial','B',13);
|
||||
|
||||
@@ -496,7 +496,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
|
||||
{
|
||||
global $langs,$conf,$mysoc;
|
||||
|
||||
pdf_pagehead($pdf,$outputlangs,$pdf->page_hauteur);
|
||||
pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
|
||||
|
||||
$pdf->SetTextColor(0,0,60);
|
||||
$pdf->SetFont('Arial','B',13);
|
||||
|
||||
@@ -343,7 +343,7 @@ class pdf_baleine extends ModelePDFProjects
|
||||
{
|
||||
global $langs,$conf,$mysoc;
|
||||
|
||||
pdf_pagehead($pdf,$outputlangs,$pdf->page_hauteur);
|
||||
pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
|
||||
|
||||
$pdf->SetTextColor(0,0,60);
|
||||
$pdf->SetFont('Arial','B',13);
|
||||
|
||||
@@ -849,7 +849,7 @@ class pdf_propale_azur extends ModelePDFPropales
|
||||
$outputlangs->load("propal");
|
||||
$outputlangs->load("companies");
|
||||
|
||||
pdf_pagehead($pdf,$outputlangs,$pdf->page_hauteur);
|
||||
pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
|
||||
|
||||
//Affiche le filigrane brouillon - Print Draft Watermark
|
||||
if($object->statut==0 && (! empty($conf->global->PROPALE_DRAFT_WATERMARK)) )
|
||||
|
||||
@@ -483,7 +483,7 @@ class pdf_propale_jaune extends ModelePDFPropales
|
||||
{
|
||||
global $conf,$langs;
|
||||
|
||||
pdf_pagehead($pdf,$outputlangs,$pdf->page_hauteur);
|
||||
pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
|
||||
|
||||
//Affiche le filigrane brouillon - Print Draft Watermark
|
||||
if($object->statut==0 && ! empty($conf->global->PROPALE_DRAFT_WATERMARK))
|
||||
|
||||
@@ -221,7 +221,7 @@ class pdf_paiement
|
||||
global $langs;
|
||||
|
||||
// Do not add the BACKGROUND as this is a report
|
||||
//pdf_pagehead($pdf,$outputlangs,$pdf->page_hauteur);
|
||||
//pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
|
||||
|
||||
$title=$outputlangs->transnoentities("ListOfCustomerPayments");
|
||||
$title.=' - '.dol_print_date(dol_mktime(0,0,0,$this->month,1,$this->year),"%B %Y",false,$outputlangs,true);
|
||||
|
||||
@@ -576,7 +576,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders
|
||||
$outputlangs->load("companies");
|
||||
|
||||
// Do not add the BACKGROUND as this is for suppliers
|
||||
//pdf_pagehead($pdf,$outputlangs,$pdf->page_hauteur);
|
||||
//pdf_pagehead($pdf,$outputlangs,$this->page_hauteur);
|
||||
|
||||
$pdf->SetTextColor(0,0,60);
|
||||
$pdf->SetFont('Arial','B',13);
|
||||
|
||||
Reference in New Issue
Block a user