2
0
forked from Wavyzz/dolibarr

Fix: Bad object

This commit is contained in:
Laurent Destailleur
2010-08-31 21:02:01 +00:00
parent 7e4ac7ce74
commit bb4ca59ce3
14 changed files with 14 additions and 14 deletions

View File

@@ -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();

View File

@@ -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)) )

View File

@@ -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)) )

View File

@@ -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)) )

View File

@@ -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)) )

View File

@@ -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)) )

View File

@@ -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)) )

View File

@@ -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);

View File

@@ -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);

View File

@@ -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);

View File

@@ -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)) )

View File

@@ -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))

View File

@@ -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);

View File

@@ -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);