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

@@ -6,8 +6,13 @@ use App\Actions\Generate\PdfGenerator;
class DigitaleSignatur 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;
} }
} }
+2 -2
View File
@@ -117,7 +117,7 @@ class PdfGenerator
if ($inhalt->textblock) { if ($inhalt->textblock) {
$textblock = Platzhalter::replace($platzhalter, $inhalt->textblock); $textblock = Platzhalter::replace($platzhalter, $inhalt->textblock);
$textblock = Format::fix_str($textblock); $textblock = Format::fix_str($textblock);
if ($inhalt->inhaltselement_id != '9') { if (! in_array($inhalt->inhaltselement_id, [9, 10])) {
$html .= $textblock; $html .= $textblock;
} }
} }
@@ -155,7 +155,7 @@ class PdfGenerator
$html .= Deckblatt::load($inhalt, $textblock, $textblock2); $html .= Deckblatt::load($inhalt, $textblock, $textblock2);
break; break;
case '10': case '10':
$html .= DigitaleSignatur::load($projekte_id); $html .= DigitaleSignatur::load($projekte_id, $textblock);
break; break;
} }
@@ -24,13 +24,13 @@ class Allgemeinflaechen
if (isset($value[0])) { if (isset($value[0])) {
$html .= Html::td($value[0]['geschoss'], 'bl bb'); $html .= Html::td($value[0]['geschoss'], 'bl bb');
$html .= Html::td($value[0]['raumart'], 'bl bb'); $html .= Html::td($value[0]['raumart'], 'bl bb');
$html .= Html::td($value[0]['flaeche'].' m&sup2;', 'bl bb br right'); $html .= Html::td(number_format($value[0]['flaeche'], 2, ',').' m&sup2;', 'bl bb br right');
$html .= '<td style="background:white"></td>'; $html .= '<td style="background:white"></td>';
} }
if (isset($value[1])) { if (isset($value[1])) {
$html .= Html::td($value[1]['geschoss'], 'bl bb'); $html .= Html::td($value[1]['geschoss'], 'bl bb');
$html .= Html::td($value[1]['raumart'], 'bl bb'); $html .= Html::td($value[1]['raumart'], 'bl bb');
$html .= Html::td($value[1]['flaeche'].' m&sup2;', 'bl bb br right'); $html .= Html::td(number_format($value[0]['flaeche'], 2, ',').' m&sup2;', 'bl bb br right');
} }
$html .= '</tr>'; $html .= '</tr>';
} }
+28 -28
View File
@@ -531,7 +531,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::yqG6TppmqI1yNrW8', '_route' => 'generated::Oun0qX7YVuUO3PMS',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -551,7 +551,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::JiHWkR6DMbpxk9Ip', '_route' => 'generated::4LTXK1oTWKFeD3Cb',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -609,7 +609,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::hz0HgT5M20cdqDvW', '_route' => 'generated::7k8IXrXuhqtvdTEJ',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -629,7 +629,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::tULxti3TujxQama0', '_route' => 'generated::wVt9Edv2JKv4tBmL',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -649,7 +649,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::lLpvehfHNgDA217s', '_route' => 'generated::I9DObLVK6045Uijo',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -669,7 +669,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::Rxlv5CDxgAm9l8rY', '_route' => 'generated::UX8coudeJNQNsWfJ',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -689,7 +689,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::BdbUDz0C4mIN9uRc', '_route' => 'generated::TJE4yoFuy899QPjC',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -2757,7 +2757,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::yqG6TppmqI1yNrW8' => 'generated::Oun0qX7YVuUO3PMS' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2769,7 +2769,7 @@ app('router')->setCompiledRoutes(
array ( array (
'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile', 'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile',
'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile', 'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile',
'as' => 'generated::yqG6TppmqI1yNrW8', 'as' => 'generated::Oun0qX7YVuUO3PMS',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -2785,7 +2785,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::JiHWkR6DMbpxk9Ip' => 'generated::4LTXK1oTWKFeD3Cb' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2797,7 +2797,7 @@ app('router')->setCompiledRoutes(
array ( array (
'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps', 'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps',
'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps', 'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps',
'as' => 'generated::JiHWkR6DMbpxk9Ip', 'as' => 'generated::4LTXK1oTWKFeD3Cb',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -2899,7 +2899,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::hz0HgT5M20cdqDvW' => 'generated::7k8IXrXuhqtvdTEJ' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2927,8 +2927,8 @@ app('router')->setCompiledRoutes(
return response(\\Illuminate\\Support\\Facades\\View::file(\'/Users/hermanntelser/Sites/nutzwerte_fi4/vendor/laravel/framework/src/Illuminate/Foundation/Configuration\'.\'/../resources/health-up.blade.php\', [ return response(\\Illuminate\\Support\\Facades\\View::file(\'/Users/hermanntelser/Sites/nutzwerte_fi4/vendor/laravel/framework/src/Illuminate/Foundation/Configuration\'.\'/../resources/health-up.blade.php\', [
\'exception\' => $exception, \'exception\' => $exception,
]), status: $exception ? 500 : 200); ]), status: $exception ? 500 : 200);
}";s:5:"scope";s:54:"Illuminate\\Foundation\\Configuration\\ApplicationBuilder";s:4:"this";N;s:4:"self";s:32:"0000000000000b460000000000000000";}}', }";s:5:"scope";s:54:"Illuminate\\Foundation\\Configuration\\ApplicationBuilder";s:4:"this";N;s:4:"self";s:32:"0000000000000f1d0000000000000000";}}',
'as' => 'generated::hz0HgT5M20cdqDvW', 'as' => 'generated::7k8IXrXuhqtvdTEJ',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -2944,7 +2944,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::tULxti3TujxQama0' => 'generated::wVt9Edv2JKv4tBmL' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2960,13 +2960,13 @@ app('router')->setCompiledRoutes(
), ),
'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:0:{}s:8:"function";s:50:"function () { 'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:0:{}s:8:"function";s:50:"function () {
return \\view(\'pages.welcome\'); return \\view(\'pages.welcome\');
}";s:5:"scope";s:37:"Illuminate\\Routing\\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"00000000000023cd0000000000000000";}}', }";s:5:"scope";s:37:"Illuminate\\Routing\\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"0000000000000f220000000000000000";}}',
'namespace' => NULL, 'namespace' => NULL,
'prefix' => '', 'prefix' => '',
'where' => 'where' =>
array ( array (
), ),
'as' => 'generated::tULxti3TujxQama0', 'as' => 'generated::wVt9Edv2JKv4tBmL',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -2982,7 +2982,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::lLpvehfHNgDA217s' => 'generated::I9DObLVK6045Uijo' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2998,13 +2998,13 @@ app('router')->setCompiledRoutes(
), ),
'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:0:{}s:8:"function";s:52:"function () { 'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:0:{}s:8:"function";s:52:"function () {
return \\view(\'pages.nutzwerte\'); return \\view(\'pages.nutzwerte\');
}";s:5:"scope";s:37:"Illuminate\\Routing\\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"0000000000000af40000000000000000";}}', }";s:5:"scope";s:37:"Illuminate\\Routing\\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"0000000000000f260000000000000000";}}',
'namespace' => NULL, 'namespace' => NULL,
'prefix' => '', 'prefix' => '',
'where' => 'where' =>
array ( array (
), ),
'as' => 'generated::lLpvehfHNgDA217s', 'as' => 'generated::I9DObLVK6045Uijo',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -3020,7 +3020,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::Rxlv5CDxgAm9l8rY' => 'generated::UX8coudeJNQNsWfJ' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -3036,13 +3036,13 @@ app('router')->setCompiledRoutes(
), ),
'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:0:{}s:8:"function";s:51:"function () { 'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:0:{}s:8:"function";s:51:"function () {
return \\view(\'pages.programm\'); return \\view(\'pages.programm\');
}";s:5:"scope";s:37:"Illuminate\\Routing\\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"0000000000001ad50000000000000000";}}', }";s:5:"scope";s:37:"Illuminate\\Routing\\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"0000000000000f280000000000000000";}}',
'namespace' => NULL, 'namespace' => NULL,
'prefix' => '', 'prefix' => '',
'where' => 'where' =>
array ( array (
), ),
'as' => 'generated::Rxlv5CDxgAm9l8rY', 'as' => 'generated::UX8coudeJNQNsWfJ',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -3058,7 +3058,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::BdbUDz0C4mIN9uRc' => 'generated::TJE4yoFuy899QPjC' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -3074,13 +3074,13 @@ app('router')->setCompiledRoutes(
), ),
'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:0:{}s:8:"function";s:52:"function () { 'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:0:{}s:8:"function";s:52:"function () {
return \\view(\'pages.impressum\'); return \\view(\'pages.impressum\');
}";s:5:"scope";s:37:"Illuminate\\Routing\\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"00000000000028760000000000000000";}}', }";s:5:"scope";s:37:"Illuminate\\Routing\\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"0000000000000f2a0000000000000000";}}',
'namespace' => NULL, 'namespace' => NULL,
'prefix' => '', 'prefix' => '',
'where' => 'where' =>
array ( array (
), ),
'as' => 'generated::BdbUDz0C4mIN9uRc', 'as' => 'generated::TJE4yoFuy899QPjC',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -3226,7 +3226,7 @@ app('router')->setCompiledRoutes(
$config, $config,
$isProduction $isProduction
))($request, $path); ))($request, $path);
}";s:5:"scope";s:47:"Illuminate\\Filesystem\\FilesystemServiceProvider";s:4:"this";N;s:4:"self";s:32:"0000000000002b4f0000000000000000";}}', }";s:5:"scope";s:47:"Illuminate\\Filesystem\\FilesystemServiceProvider";s:4:"this";N;s:4:"self";s:32:"0000000000000f360000000000000000";}}',
'as' => 'storage.local', 'as' => 'storage.local',
), ),
'fallback' => false, 'fallback' => false,
@@ -3259,7 +3259,7 @@ app('router')->setCompiledRoutes(
$config, $config,
$isProduction $isProduction
))($request, $path); ))($request, $path);
}";s:5:"scope";s:47:"Illuminate\\Filesystem\\FilesystemServiceProvider";s:4:"this";N;s:4:"self";s:32:"00000000000007640000000000000000";}}', }";s:5:"scope";s:47:"Illuminate\\Filesystem\\FilesystemServiceProvider";s:4:"this";N;s:4:"self";s:32:"0000000000000f370000000000000000";}}',
'as' => 'storage.local.upload', 'as' => 'storage.local.upload',
), ),
'fallback' => false, 'fallback' => false,
-2
View File
@@ -147,8 +147,6 @@ p {
margin-top: 0 !important; margin-top: 0 !important;
} }
.py-1 { .py-1 {
padding-top: 1mm; padding-top: 1mm;
padding-bottom: 1mm; padding-bottom: 1mm;
+8 -102
View File
@@ -1,102 +1,8 @@
<div class="header">3.21 TABELLE ZU + ABSCHLÄGE</div> <div class="header">3.41 DIGITALE SIGNATUR</div>
<table class="table-striped bl bt"> <p style="text-align: center;"></p>
<thead> <p style="text-align: center;"></p>
<tr text-rotate="90deg"> <p style="text-align: center;">Innsbruck 17. März 2026</p>
<td class="head right bl bt br bb" style="background-color:#d1d1d1; width: 17.272727272727mm;">Top Nummer <p style="text-align: center;"></p>
</td> <div
<td class="head right bl bt br bb" style="background-color:#d1d1d1; width: 17.272727272727mm;">Geschoß</td> style="margin-right:2cm; height:4cm; background-repeat: no-repeat; background-position: right; background-size: contain; background-image: url('/Users/hermanntelser/Sites/nutzwerte_fi4/public/storage/gutachter-stempel/01KM0TJVYRDQ7EQK4TVNX1GAQ2.png');">
<td class="head right bl bt br bb" style="background-color:#d1d1d1; width: 17.272727272727mm;">Typ</td> </div>
<td class="head right bl bt br bb" style="background-color:#d1d1d1; width: 17.272727272727mm;">Nutzfläche
</td>
<td class="head right bl bt br bb" style="background-color:#d1d1d1; width: 17.272727272727mm;">Loggia /
sonst. Zusatzflächen</td>
<td class="head right bl bt br bb" style="background-color:#d1d1d1; width: 17.272727272727mm;">
Gesamtnutzfläche</td>
<td class="head right bl bt br bb" style="background-color:#d1d1d1; width: 17.272727272727mm;">Sonne</td>
<td class="head right bl bt br bb" style="background-color:#d1d1d1; width: 17.272727272727mm;">Mond</td>
<td class="head right bl bt br bb" style="background-color:#d1d1d1; width: 17.272727272727mm;">Sterne</td>
<td class="head right bl bt br bb" style="background-color:#d1d1d1; width: 17.272727272727mm;">Summe
ProjektMerkmale</td>
<td class="head right bl bt br bb" style="background-color:#d1d1d1; width: 17.272727272727mm;">
Wohnungsbewertung</td>
</tr>
</thead>
<tr>
<td class="left bl br bb" colspan="0">W01</td>
<td class="center br bb" colspan="0">UG</td>
<td class="wp20 br bb" colspan="0">2-Zi</td>
<td class="right br bb" colspan="0">62,27</td>
</tr>
<tr>
<td class="left bl br bb" colspan="0">W02</td>
<td class="center br bb" colspan="0">UG</td>
<td class="wp20 br bb" colspan="0">2-Zi</td>
<td class="right br bb" colspan="0">67,03</td>
</tr>
<tr>
<td class="left bl br bb" colspan="0">W03</td>
<td class="center br bb" colspan="0">UG</td>
<td class="wp20 br bb" colspan="0">2-Zi</td>
<td class="right br bb" colspan="0">75,24</td>
</tr>
<tr>
<td class="left bl br bb" colspan="0">W04</td>
<td class="center br bb" colspan="0">UG</td>
<td class="wp20 br bb" colspan="0">2-Zi</td>
<td class="right br bb" colspan="0">73,94</td>
</tr>
<tr>
<td class="left bl br bb" colspan="0">W05</td>
<td class="center br bb" colspan="0">UG</td>
<td class="wp20 br bb" colspan="0">2-Zi</td>
<td class="right br bb" colspan="0">72,08</td>
</tr>
<tr>
<td class="left bl br bb" colspan="0">W06</td>
<td class="center br bb" colspan="0">UG</td>
<td class="wp20 br bb" colspan="0">2-Zi</td>
<td class="right br bb" colspan="0">75,42</td>
</tr>
<tr>
<td class="left bl br bb" colspan="0">W07</td>
<td class="center br bb" colspan="0">UG</td>
<td class="wp20 br bb" colspan="0">2-Zi</td>
<td class="right br bb" colspan="0">56,00</td>
</tr>
<tr>
<td class="left bl br bb" colspan="0">W08</td>
<td class="center br bb" colspan="0">UG</td>
<td class="wp20 br bb" colspan="0">2-Zi</td>
<td class="right br bb" colspan="0">54,57</td>
</tr>
<tr>
<td class="left bl br bb" colspan="0">W09</td>
<td class="center br bb" colspan="0">UG</td>
<td class="wp20 br bb" colspan="0">2-Zi</td>
<td class="right br bb" colspan="0">54,51</td>
</tr>
<tr>
<td class="left bl br bb" colspan="0">W10</td>
<td class="center br bb" colspan="0">UG</td>
<td class="wp20 br bb" colspan="0">2-Zi</td>
<td class="right br bb" colspan="0">75,29</td>
</tr>
<tr>
<td class="left bl br bb" colspan="0">W11</td>
<td class="center br bb" colspan="0">UG</td>
<td class="wp20 br bb" colspan="0">2-Zi</td>
<td class="right br bb" colspan="0">72,08</td>
</tr>
<tr>
<td class="left bl br bb" colspan="0">W12</td>
<td class="center br bb" colspan="0">UG</td>
<td class="wp20 br bb" colspan="0">2-Zi</td>
<td class="right br bb" colspan="0">72,45</td>
</tr>
<tr>
<td class="left bl br bb" colspan="0">W13</td>
<td class="center br bb" colspan="0">UG</td>
<td class="wp20 br bb" colspan="0">2-Zi</td>
<td class="right br bb" colspan="0">71,69</td>
</tr>
</table>