Fix: Sur facture crabe, on affiche SIREN si dfini (le plus complet) sinon SIRET
This commit is contained in:
parent
86de808319
commit
9458c223e0
@ -572,16 +572,17 @@ class pdf_crabe extends ModelePDFFactures
|
||||
$pdf->SetFont('Arial','',10);
|
||||
$pdf->MultiCell(40, 4, "Tél : ".FAC_PDF_TEL);
|
||||
}
|
||||
if (defined("MAIN_INFO_SIRET"))
|
||||
{
|
||||
$pdf->SetFont('Arial','',10);
|
||||
$pdf->MultiCell(60, 4, "SIRET : ".MAIN_INFO_SIRET);
|
||||
}
|
||||
elseif (defined("MAIN_INFO_SIREN"))
|
||||
|
||||
if (defined("MAIN_INFO_SIREN"))
|
||||
{
|
||||
$pdf->SetFont('Arial','',10);
|
||||
$pdf->MultiCell(60, 4, "SIREN : ".MAIN_INFO_SIREN);
|
||||
}
|
||||
elseif (defined("MAIN_INFO_SIRET"))
|
||||
{
|
||||
$pdf->SetFont('Arial','',10);
|
||||
$pdf->MultiCell(60, 4, "SIRET : ".MAIN_INFO_SIRET);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user