wip
This commit is contained in:
1 parent
16c0aa24fe
commit
4a509c6a16
16 files changed
+168
-82
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user