modified pdf1 and tabeldescription

This commit is contained in:
2026-03-17 14:38:43 +01:00
parent 5e5a7483ab
commit 70d39770f8
62 changed files with 1142 additions and 204 deletions
+7 -5
View File
@@ -80,14 +80,16 @@ foreach ($idartchs as $idartch) {
$pdf->Ln();
}
$prevrepLabel = ($_SESSION['langselect'] == 'it') ? 'N. Rapporto Precedente' : 'Previous Report n.';
// Reference certificate number
if (isset($trfData['previousreportnumber']) && trim($trfData['previousreportnumber']) !== '') {
// Stampa la riga
if (!empty($trfData['previousreportnumber'])) {
$prevrepLabel = ($_SESSION['langselect'] == 'it') ? 'N. Rapporto Precedente' : 'Previous Report n.';
$refCertLabel = ($_SESSION['langselect'] == 'it')
? 'Numero del certificato di riferimento'
: 'Reference certificate number';
$pdf->Cell(50, 6, $prevrepLabel, 1, 0, 'L');
$pdf->Cell(50, 6, $refCertLabel, 1, 0, 'L');
$pdf->Cell(140, 6, $trfData['previousreportnumber'], 1, 0, 'L', true);
$pdf->Ln();
}