DigitaleSignatur centered

This commit is contained in:
salam committed 2026-03-18 18:36:26 +01:00
1 parent 2b61b5df2f
commit 28640e1d30
6 files changed
+47 -138

No files matched your search

+2 -2
View File
@@ -117,7 +117,7 @@ class PdfGenerator
if ($inhalt->textblock) {
$textblock = Platzhalter::replace($platzhalter, $inhalt->textblock);
$textblock = Format::fix_str($textblock);
if ($inhalt->inhaltselement_id != '9') {
if (! in_array($inhalt->inhaltselement_id, [9, 10])) {
$html .= $textblock;
}
}
@@ -155,7 +155,7 @@ class PdfGenerator
$html .= Deckblatt::load($inhalt, $textblock, $textblock2);
break;
case '10':
$html .= DigitaleSignatur::load($projekte_id);
$html .= DigitaleSignatur::load($projekte_id, $textblock);
break;
}