This commit is contained in:
salam committed 2026-07-05 18:14:23 +02:00
1 parent 16c0aa24fe
commit 4a509c6a16
16 files changed
+168 -82

No files matched your search

+6 -5
View File
@@ -26,15 +26,15 @@ use Mpdf\Mpdf;
class PdfGenerator
{
public static $projekt;
public static Projekte $projekt;
public static $gutachter;
public static Gutachter $gutachter;
public static $auftraggeber;
public static Auftraggeber $auftraggeber;
public static $zusammenstellung = [];
public static array $zusammenstellung = [];
public static function make($projekte_id, $part)
public static function make(int $projekte_id,string $part)
{
self::$projekt = Projekte::where('id', $projekte_id)->first();
@@ -114,6 +114,7 @@ class PdfGenerator
$html = '';
$html = Ueberschrift::load($inhalt);
$textblock = '';
$textblock2 = '';
if ($inhalt->textblock) {
$textblock = Platzhalter::replace($platzhalter, $inhalt->textblock);