From 5aee8653be3aa56017469b3cfec8b4d1ac475653 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 16 Apr 2008 21:55:26 +0000 Subject: [PATCH] Fix: Black area on PDF --- htdocs/fourn/commande/modules/pdf/pdf_muscadet.modules.php | 2 +- htdocs/includes/modules/commande/pdf_einstein.modules.php | 2 +- htdocs/includes/modules/facture/pdf_crabe.modules.php | 4 ++-- htdocs/includes/modules/propale/pdf_propale_azur.modules.php | 4 ++-- htdocs/livraison/mods/pdf/pdf_typhon.modules.php | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/htdocs/fourn/commande/modules/pdf/pdf_muscadet.modules.php b/htdocs/fourn/commande/modules/pdf/pdf_muscadet.modules.php index eb14574658f..23f6b8890a0 100644 --- a/htdocs/fourn/commande/modules/pdf/pdf_muscadet.modules.php +++ b/htdocs/fourn/commande/modules/pdf/pdf_muscadet.modules.php @@ -486,7 +486,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders $lltot = 200; $col1x = 120; $col2x = 182; $largcol2 = $lltot - $col2x; // Total HT - $pdf->SetFillColor(256,256,256); + $pdf->SetFillColor(255,255,255); $pdf->SetXY ($col1x, $tab2_top + 0); $pdf->MultiCell($col2x-$col1x, $tab2_hl, $outputlangs->transnoentities("TotalHT"), 0, 'L', 1); diff --git a/htdocs/includes/modules/commande/pdf_einstein.modules.php b/htdocs/includes/modules/commande/pdf_einstein.modules.php index c1305046af0..843aedf11d2 100644 --- a/htdocs/includes/modules/commande/pdf_einstein.modules.php +++ b/htdocs/includes/modules/commande/pdf_einstein.modules.php @@ -584,7 +584,7 @@ class pdf_einstein extends ModelePDFCommandes $lltot = 200; $col1x = 120; $col2x = 182; $largcol2 = $lltot - $col2x; // Total HT - $pdf->SetFillColor(256,256,256); + $pdf->SetFillColor(255,255,255); $pdf->SetXY ($col1x, $tab2_top + 0); $pdf->MultiCell($col2x-$col1x, $tab2_hl, $outputlangs->transnoentities("TotalHT"), 0, 'L', 1); diff --git a/htdocs/includes/modules/facture/pdf_crabe.modules.php b/htdocs/includes/modules/facture/pdf_crabe.modules.php index 628cc55dc29..2dd2ce8dd15 100644 --- a/htdocs/includes/modules/facture/pdf_crabe.modules.php +++ b/htdocs/includes/modules/facture/pdf_crabe.modules.php @@ -723,7 +723,7 @@ class pdf_crabe extends ModelePDFFactures $lltot = 200; $col1x = 120; $col2x = 182; $largcol2 = $lltot - $col2x; // Total HT - $pdf->SetFillColor(256,256,256); + $pdf->SetFillColor(255,255,255); $pdf->SetXY ($col1x, $tab2_top + 0); $pdf->MultiCell($col2x-$col1x, $tab2_hl, $outputlangs->transnoentities("TotalHT"), 0, 'L', 1); @@ -818,7 +818,7 @@ class pdf_crabe extends ModelePDFFactures if ($object->close_code == 'discount_vat') { $index++; - $pdf->SetFillColor(256,256,256); + $pdf->SetFillColor(255,255,255); $pdf->SetXY ($col1x, $tab2_top + $tab2_hl * $index); $pdf->MultiCell($col2x-$col1x, $tab2_hl, $outputlangs->transnoentities("EscompteOffered"), $useborder, 'L', 1); diff --git a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php index fb7b39257bd..bd7b639be13 100644 --- a/htdocs/includes/modules/propale/pdf_propale_azur.modules.php +++ b/htdocs/includes/modules/propale/pdf_propale_azur.modules.php @@ -596,7 +596,7 @@ class pdf_propale_azur extends ModelePDFPropales $lltot = 200; $col1x = 120; $col2x = 182; $largcol2 = $lltot - $col2x; // Total HT - $pdf->SetFillColor(256,256,256); + $pdf->SetFillColor(255,255,255); $pdf->SetXY ($col1x, $tab2_top + 0); $pdf->MultiCell($col2x-$col1x, $tab2_hl, $outputlangs->transnoentities("TotalHT"), 0, 'L', 1); @@ -688,7 +688,7 @@ class pdf_propale_azur extends ModelePDFPropales if ($object->close_code == 'discount_vat') { $index++; - $pdf->SetFillColor(256,256,256); + $pdf->SetFillColor(255,255,255); $pdf->SetXY ($col1x, $tab2_top + $tab2_hl * $index); $pdf->MultiCell($col2x-$col1x, $tab2_hl, $outputlangs->transnoentities("EscompteOffered"), $useborder, 'L', 1); diff --git a/htdocs/livraison/mods/pdf/pdf_typhon.modules.php b/htdocs/livraison/mods/pdf/pdf_typhon.modules.php index 76a1f47d72b..e4fa44f502b 100644 --- a/htdocs/livraison/mods/pdf/pdf_typhon.modules.php +++ b/htdocs/livraison/mods/pdf/pdf_typhon.modules.php @@ -466,7 +466,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder $lltot = 200; $col1x = 120; $col2x = 182; $largcol2 = $lltot - $col2x; // Total HT - $pdf->SetFillColor(256,256,256); + $pdf->SetFillColor(255,255,255); $pdf->SetXY ($col1x, $tab2_top + 0); $pdf->MultiCell($col2x-$col1x, $tab2_hl, $langs->transnoentities("TotalHT"), 0, 'L', 1);