diff --git a/htdocs/includes/modules/action/rapport.pdf.php b/htdocs/includes/modules/action/rapport.pdf.php index 8b7acd4f6f0..5373231b841 100644 --- a/htdocs/includes/modules/action/rapport.pdf.php +++ b/htdocs/includes/modules/action/rapport.pdf.php @@ -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(); diff --git a/htdocs/includes/modules/commande/pdf_edison.modules.php b/htdocs/includes/modules/commande/pdf_edison.modules.php index bfecbfcc70c..d44ee888542 100644 --- a/htdocs/includes/modules/commande/pdf_edison.modules.php +++ b/htdocs/includes/modules/commande/pdf_edison.modules.php @@ -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)) ) diff --git a/htdocs/includes/modules/commande/pdf_einstein.modules.php b/htdocs/includes/modules/commande/pdf_einstein.modules.php index f89f12e6006..bb0bd154d5d 100644 --- a/htdocs/includes/modules/commande/pdf_einstein.modules.php +++ b/htdocs/includes/modules/commande/pdf_einstein.modules.php @@ -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)) ) diff --git a/htdocs/includes/modules/expedition/pdf/pdf_expedition_merou.modules.php b/htdocs/includes/modules/expedition/pdf/pdf_expedition_merou.modules.php index 708e9ebad71..47bb1521c20 100644 --- a/htdocs/includes/modules/expedition/pdf/pdf_expedition_merou.modules.php +++ b/htdocs/includes/modules/expedition/pdf/pdf_expedition_merou.modules.php @@ -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)) ) diff --git a/htdocs/includes/modules/expedition/pdf/pdf_expedition_rouget.modules.php b/htdocs/includes/modules/expedition/pdf/pdf_expedition_rouget.modules.php index 5a46306675b..0b6312f3e3e 100644 --- a/htdocs/includes/modules/expedition/pdf/pdf_expedition_rouget.modules.php +++ b/htdocs/includes/modules/expedition/pdf/pdf_expedition_rouget.modules.php @@ -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)) ) diff --git a/htdocs/includes/modules/facture/pdf_crabe.modules.php b/htdocs/includes/modules/facture/pdf_crabe.modules.php index c0a9e223b9e..4474f75a93e 100644 --- a/htdocs/includes/modules/facture/pdf_crabe.modules.php +++ b/htdocs/includes/modules/facture/pdf_crabe.modules.php @@ -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)) ) diff --git a/htdocs/includes/modules/facture/pdf_oursin.modules.php b/htdocs/includes/modules/facture/pdf_oursin.modules.php index cffd26c7dfb..5144e0ed40c 100644 --- a/htdocs/includes/modules/facture/pdf_oursin.modules.php +++ b/htdocs/includes/modules/facture/pdf_oursin.modules.php @@ -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)) ) diff --git a/htdocs/includes/modules/livraison/pdf/pdf_sirocco.modules.php b/htdocs/includes/modules/livraison/pdf/pdf_sirocco.modules.php index 8740c79d9c1..eb5a8adc14b 100644 --- a/htdocs/includes/modules/livraison/pdf/pdf_sirocco.modules.php +++ b/htdocs/includes/modules/livraison/pdf/pdf_sirocco.modules.php @@ -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); diff --git a/htdocs/includes/modules/livraison/pdf/pdf_typhon.modules.php b/htdocs/includes/modules/livraison/pdf/pdf_typhon.modules.php index 0c0eead247e..10fb001cc2c 100644 --- a/htdocs/includes/modules/livraison/pdf/pdf_typhon.modules.php +++ b/htdocs/includes/modules/livraison/pdf/pdf_typhon.modules.php @@ -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); diff --git a/htdocs/includes/modules/project/pdf/pdf_baleine.modules.php b/htdocs/includes/modules/project/pdf/pdf_baleine.modules.php index e3ec5dac481..9abac2c07ff 100644 --- a/htdocs/includes/modules/project/pdf/pdf_baleine.modules.php +++ b/htdocs/includes/modules/project/pdf/pdf_baleine.modules.php @@ -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); diff --git a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php index bf091da9446..55b74e9b3e5 100644 --- a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php +++ b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php @@ -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)) ) diff --git a/htdocs/includes/modules/propale/pdf_propale_jaune.modules.php b/htdocs/includes/modules/propale/pdf_propale_jaune.modules.php index 5f12ca177b2..fc63428adad 100644 --- a/htdocs/includes/modules/propale/pdf_propale_jaune.modules.php +++ b/htdocs/includes/modules/propale/pdf_propale_jaune.modules.php @@ -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)) diff --git a/htdocs/includes/modules/rapport/pdf_paiement.class.php b/htdocs/includes/modules/rapport/pdf_paiement.class.php index e8b33c0cc0d..89ebba06c7b 100644 --- a/htdocs/includes/modules/rapport/pdf_paiement.class.php +++ b/htdocs/includes/modules/rapport/pdf_paiement.class.php @@ -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); diff --git a/htdocs/includes/modules/supplier_order/pdf/pdf_muscadet.modules.php b/htdocs/includes/modules/supplier_order/pdf/pdf_muscadet.modules.php index 660aeb0200e..d5b7910a443 100644 --- a/htdocs/includes/modules/supplier_order/pdf/pdf_muscadet.modules.php +++ b/htdocs/includes/modules/supplier_order/pdf/pdf_muscadet.modules.php @@ -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);