wip zuabschlaege pdf

This commit is contained in:
salam committed 2025-10-28 13:40:01 +01:00
1 parent 88d561675d
commit 7917777b93
23 files changed
+510 -604

No files matched your search

+10 -10
View File
@@ -70,25 +70,25 @@ class MakeNutzwerte
$mpdf->AddPage();
}
$html = Ueberschrift::create($inhalt);
if ($inhalt->textblock) {
$html .= Platzhalter::replace($platzhalter, $inhalt->textblock);
$textblock = Platzhalter::replace($platzhalter, $inhalt->textblock);
$textblock = Format::fix_str($textblock);
}
$html = Ueberschrift::create($inhalt);
switch ($inhalt->tabellen_id) {
case '5':
$html .= ZuUndAbschlaege::load($projekte_id);
break;
}
}
if ($inhalt->seitenzahl_anzeige == 1) {
$mpdf->SetHTMLFooter('<div class="center">Seite {PAGENO}<br><br></div>');
}
if ($html) {
$mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
if ($inhalt->seitenzahl_anzeige) {
$mpdf->SetHTMLFooter('<div class="center">Seite {PAGENO}<br><br></div>');
}
if ($html != '') {
$mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
}
}
// foreach ($inhalte as $inhalt) {