Meilleur alignement

This commit is contained in:
Laurent Destailleur 2005-08-23 22:23:47 +00:00
parent 080bbdaa7f
commit a810392e30
2 changed files with 15 additions and 7 deletions

View File

@ -813,10 +813,14 @@ class pdf_crabe extends ModelePDFFactures
{
$ligne.=($ligne?" - ":"").$langs->trans("VATIntraShort").": ".$conf->global->MAIN_INFO_TVAINTRA;
}
$footy-=3;
$pdf->SetY(-$footy);
$pdf->MultiCell(200, 2, $ligne , 0, 'C');
if ($ligne)
{
$footy-=3;
$pdf->SetXY(8,-$footy);
$pdf->MultiCell(200, 2, $ligne , 0, 'C', 0);
}
$pdf->SetXY(-20,-$footy);
$pdf->MultiCell(10, 2, $pdf->PageNo().'/{nb}', 0, 'R', 0);
}

View File

@ -734,10 +734,14 @@ class pdf_propale_azur extends ModelePDFPropales
{
$ligne.=($ligne?" - ":"").$langs->trans("VATIntraShort").": ".$conf->global->MAIN_INFO_TVAINTRA;
}
$footy-=3;
$pdf->SetY(-$footy);
$pdf->MultiCell(200, 2, $ligne , 0, 'C');
if ($ligne)
{
$footy-=3;
$pdf->SetxY(8,-$footy);
$pdf->MultiCell(200, 2, $ligne , 0, 'C');
}
$pdf->SetXY(-20,-$footy);
$pdf->MultiCell(10, 2, $pdf->PageNo().'/{nb}', 0, 'R', 0);
}