Meilleur alignement
This commit is contained in:
parent
080bbdaa7f
commit
a810392e30
@ -813,10 +813,14 @@ class pdf_crabe extends ModelePDFFactures
|
|||||||
{
|
{
|
||||||
$ligne.=($ligne?" - ":"").$langs->trans("VATIntraShort").": ".$conf->global->MAIN_INFO_TVAINTRA;
|
$ligne.=($ligne?" - ":"").$langs->trans("VATIntraShort").": ".$conf->global->MAIN_INFO_TVAINTRA;
|
||||||
}
|
}
|
||||||
$footy-=3;
|
|
||||||
$pdf->SetY(-$footy);
|
if ($ligne)
|
||||||
$pdf->MultiCell(200, 2, $ligne , 0, 'C');
|
{
|
||||||
|
$footy-=3;
|
||||||
|
$pdf->SetXY(8,-$footy);
|
||||||
|
$pdf->MultiCell(200, 2, $ligne , 0, 'C', 0);
|
||||||
|
}
|
||||||
|
|
||||||
$pdf->SetXY(-20,-$footy);
|
$pdf->SetXY(-20,-$footy);
|
||||||
$pdf->MultiCell(10, 2, $pdf->PageNo().'/{nb}', 0, 'R', 0);
|
$pdf->MultiCell(10, 2, $pdf->PageNo().'/{nb}', 0, 'R', 0);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -734,10 +734,14 @@ class pdf_propale_azur extends ModelePDFPropales
|
|||||||
{
|
{
|
||||||
$ligne.=($ligne?" - ":"").$langs->trans("VATIntraShort").": ".$conf->global->MAIN_INFO_TVAINTRA;
|
$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->SetXY(-20,-$footy);
|
||||||
$pdf->MultiCell(10, 2, $pdf->PageNo().'/{nb}', 0, 'R', 0);
|
$pdf->MultiCell(10, 2, $pdf->PageNo().'/{nb}', 0, 'R', 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user