DigitaleSignatur centered
This commit is contained in:
1 parent
2b61b5df2f
commit
28640e1d30
6 files changed
+47
-138
No files matched your search
@@ -6,8 +6,13 @@ use App\Actions\Generate\PdfGenerator;
|
||||
|
||||
class DigitaleSignatur
|
||||
{
|
||||
public static function load($projekte_id)
|
||||
public static function load($projekte_id, $textblock)
|
||||
{
|
||||
return '<div style="margin-right:2cm; height:4cm; background-repeat: no-repeat; background-position: right; background-size: contain; background-image: url(\''.public_path().'/storage/'.PdfGenerator::$gutachter->digitale_signatur_stempel.'\');"></div>';
|
||||
$html = '<table style="width:100%;"><tr style="height:5cm;">';
|
||||
$html .= '<td style="vertical-align: middle; text-align:center; padding:auto;"><b>'.$textblock.'</b></td>';
|
||||
$html .= '<td style="vertical-align: middle; text-align:center; padding:auto;"><img style="height:4cm; width:4cm;" src="'.public_path().'/storage/'.PdfGenerator::$gutachter->digitale_signatur_stempel.'"/></td>';
|
||||
$html .= '</tr></table>';
|
||||
|
||||
return $html;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user