2
0
forked from Wavyzz/dolibarr

Fix: Black area on PDF

This commit is contained in:
Laurent Destailleur
2008-04-16 21:55:26 +00:00
parent 34c98f41ec
commit 5aee8653be
5 changed files with 7 additions and 7 deletions

View File

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

View File

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

View File

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