dowload gutachten design background adler

This commit is contained in:
salam committed 2025-10-17 09:28:53 +02:00
1 parent 0342b3eaeb
commit 623131bdb0
17 files changed
+462 -263

No files matched your search

+16 -30
View File
@@ -4,51 +4,37 @@ namespace App\Actions\Generate\Gutachten;
use App\Actions\Generate\MakeGutachten; use App\Actions\Generate\MakeGutachten;
use Filament\Forms\Components\RichEditor\RichContentRenderer; use Filament\Forms\Components\RichEditor\RichContentRenderer;
use Illuminate\Support\Facades\Storage;
class Deckblatt class Deckblatt
{ {
public static function create() public static function create()
{ {
// dd(MakeGutachten::$gutachter->kopf);
// GUTACHTER // GUTACHTER
$html = '<div class="adler"></div>';
$html = '<div class="base">'; $html .= '<div id="deckblatt-gutachter">';
foreach (MakeGutachten::$gutachter->kopf as $component) { if (MakeGutachten::$gutachter->logo) {
switch ($component) { $html = '<div id="deckblatt-image" style="background-position: center '.MakeGutachten::$gutachter->logo_align.'; background-image: url(\''.public_path().'/storage/'.MakeGutachten::$gutachter->logo.'\');"></div>';
case 'logo': }
$imgUrl = Storage::disk('public')->url(MakeGutachten::$gutachter->logo);
$html .= '<img src="'.$imgUrl.'" width="45%">';
break;
case 'adresse':
$from = ['--', 'text-align: end;']; $from = ['--', 'text-align: end;'];
$to = ['', 'text-align: right;']; $to = ['', 'text-align: right;'];
$html .= str_replace($from, $to, RichContentRenderer::make(MakeGutachten::$gutachter->address)->toHtml()); $str = RichContentRenderer::make(MakeGutachten::$gutachter->gutachten_layout)->toHtml();
break; $html .= str_replace($from, $to, $str);
}
}
$html .= '</div>'; $html .= '</div>';
// if (MakeGutachten::$gutachter->kopf == 'adressenblock') { $html .= '<div id="deckblatt-gutachten">';
// $html .= '<div class="right">'.MakeGutachten::$gutachter->adressenblock.'</div>'; $html .= '<h1>Gutachten</h1>';
// } elseif (MakeGutachten::$gutachter->kopf == 'logo') { $html .= '<div class="base bold ml-1">'.trim(MakeGutachten::$projekt->interner_name).'</div>';
// $html .= '<div class="right">';
// $html .= '<img src="'.public_path().'/storage/'.MakeGutachten::$gutachter->clientlogo.'" style="width:'.MakeGutachten::$gutachter->breite.'mm; height: auto;">';
// $html .= '</div>';
// }
// $html .= '</div>';
$html .= '<div class="title">Gutachten';
$html .= '<div class="base ml-1 mt-2">'.trim(MakeGutachten::$projekt->interner_name).'</div>';
$html .= '</div>'; $html .= '</div>';
$html .= '<div class="festsetzung">Zur Festsetzung der Nutzwerte'; $html .= '<div id="deckblatt-festsetzung">';
$html .= '<div class="base">'.trim(MakeGutachten::$projekt->offizieller_name).'</div>'; $html .= '<h2>Zur Festsetzung der Nutzwerte';
$html .= '<div class="base bold">'.trim(MakeGutachten::$projekt->offizieller_name).'</div>';
$html .= '</h2>';
$html .= '</div>'; $html .= '</div>';
// // AUFTRAGGEBER // $html .= '<div id="deckblatt-auftraggeber"><h3>';
// $html .= '<div class="auftraggeber">';
// $html .= MakeGutachten::$auftraggeber->adressenblock; // $html .= MakeGutachten::$auftraggeber->adressenblock;
// $html .= '</h3></div>';
return $html; return $html;
} }
@@ -2,8 +2,8 @@
namespace App\Filament\Resources\Gutachters\Schemas; namespace App\Filament\Resources\Gutachters\Schemas;
use Filament\Forms\Components\CheckboxList;
use Filament\Forms\Components\FileUpload; use Filament\Forms\Components\FileUpload;
use Filament\Forms\Components\Radio;
use Filament\Forms\Components\RichEditor; use Filament\Forms\Components\RichEditor;
use Filament\Forms\Components\Select; use Filament\Forms\Components\Select;
use Filament\Forms\Components\TextInput; use Filament\Forms\Components\TextInput;
@@ -21,18 +21,52 @@ class GutachterForm
->components([ ->components([
Tabs::make('Tabs') Tabs::make('Tabs')
->tabs([ ->tabs([
Tab::make('Firmenname')
Tab::make('Gutachter')
->icon('lucide-stamp') ->icon('lucide-stamp')
->inlineLabel()
->schema([ ->schema([
TextInput::make('company') TextInput::make('company')
->label('Firma') ->label('Firma')
->required(), ->required(),
RichEditor::make('address') TextInput::make('title')
->extraInputAttributes(['id' => 'gutrte', 'style' => 'min-height: 20rem; max-height: 50vh; overflow-y: auto;']) ->label('Title')
->required(),
Select::make('gender')
->label('Geschlecht')
->options([
'Herr' => 'Herr',
'Frau' => 'Frau',
'Non-binary' => 'Non-binary',
])
->required(),
TextInput::make('name')
->label('Name')
->required(),
TextInput::make('email')
->label('E-Mail')
->required()
->prefixIcon(Heroicon::Envelope),
PhoneInput::make('phone')
->label('Telefon')
->defaultCountry('AT'),
]),
Tab::make('Anzeige')
->icon('lucide-contact')
->schema([
RichEditor::make('gutachten_layout')
->json()
->extraInputAttributes(['style' => 'min-height: 20rem; max-height: 50vh; overflow-y: auto;'])
->toolbarButtons([ ->toolbarButtons([
['bold', 'italic', 'underline', 'horizontalRule', 'clearFormatting'], ['bold', 'italic', 'underline', 'horizontalRule', 'clearFormatting'],
['h1', 'h2', 'h3', 'alignStart', 'alignCenter', 'alignEnd', 'alignJustify'], ['h1', 'h2', 'h3', 'alignStart', 'alignCenter', 'alignEnd', 'textColor'],
['undo', 'redo', 'textColor'], ])->floatingToolbars([
'paragraph' => [
'bold', 'italic', 'underline', 'strike', 'subscript', 'superscript',
],
'heading' => [
'h1', 'h2', 'h3',
],
]) ])
->textColors([ ->textColors([
'#fb2c36' => 'Rot', '#fb2c36' => 'Rot',
@@ -60,35 +94,8 @@ class GutachterForm
->label('Adresse') ->label('Adresse')
->required(), ->required(),
]), ]),
Tab::make('Gutachter')
->icon('lucide-contact')
->inlineLabel()
->schema([
TextInput::make('title')
->label('Title')
->required(),
Select::make('gender')
->label('Geschlecht')
->options([
'Herr' => 'Herr',
'Frau' => 'Frau',
'Non-binary' => 'Non-binary',
])
->required(),
TextInput::make('name')
->label('Name')
->required(),
TextInput::make('email')
->label('E-Mail')
->required()
->prefixIcon(Heroicon::Envelope),
PhoneInput::make('phone')
->label('Telefon')
->defaultCountry('AT'),
]),
Tab::make('Logo') Tab::make('Logo')
->icon('phosphor-squares-four') ->icon('phosphor-image')
->inlineLabel()
->schema([ ->schema([
FileUpload::make('logo') FileUpload::make('logo')
->image() ->image()
@@ -103,22 +110,15 @@ class GutachterForm
->directory('gutachter-logo') ->directory('gutachter-logo')
->visibility('public') ->visibility('public')
->label('Logo'), ->label('Logo'),
]), Radio::make('logo_align')
Tab::make('Anzeige Im Gutachten') ->Label('Position')
->icon('phosphor-eye') ->default('right')
->inlineLabel()
->schema([
CheckboxList::make('kopf')
->Label('Bitte auswählen')
->options([ ->options([
'logo' => '<div class="flex gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-image-icon lucide-image"><rect width="18" height="18" x="3" y="3" rx="2" ry="2"/><circle cx="9" cy="9" r="2"/><path d="m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21"/></svg>Logo</div>', 'left' => 'Links',
'firma' => '<div class="flex gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-stamp-icon lucide-stamp"><path d="M14 13V8.5C14 7 15 7 15 5a3 3 0 0 0-6 0c0 2 1 2 1 3.5V13"/><path d="M20 15.5a2.5 2.5 0 0 0-2.5-2.5h-11A2.5 2.5 0 0 0 4 15.5V17a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1z"/><path d="M5 22h14"/></svg>Firmename</div>', 'center' => 'Zentriert',
'adresse' => '<div class="flex gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-notebook-text-icon lucide-notebook-text"><path d="M2 6h4"/><path d="M2 10h4"/><path d="M2 14h4"/><path d="M2 18h4"/><rect width="16" height="20" x="4" y="2" rx="2"/><path d="M9.5 8h5"/><path d="M9.5 12H16"/><path d="M9.5 16H14"/></svg>Adresse</div>', 'right' => 'Rechts',
'name' => '<div class="flex gap-2"><svg xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-contact-icon lucide-contact"><path d="M16 2v2"/><path d="M7 22v-2a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v2"/><path d="M8 2v2"/><circle cx="12" cy="11" r="3"/><rect x="3" y="4" width="18" height="18" rx="2"/></svg>Gutachter</div>',
])
->allowHtml()
->columnSpanFull(),
]), ]),
])->columns(2),
])->columnSpanFull(), ])->columnSpanFull(),
]); ]);
} }
@@ -37,8 +37,8 @@ class ProjekteForm
])->columns(2), ])->columns(2),
Tab::make('Zuordnung') Tab::make('Zuordnung')
->schema([ ->schema([
Select::make('auftraggeber_id')->relationship(name: 'auftraggeber', titleAttribute: 'company')->required(),
Select::make('gutachter_id')->relationship(name: 'gutachter', titleAttribute: 'company')->required(), Select::make('gutachter_id')->relationship(name: 'gutachter', titleAttribute: 'company')->required(),
Select::make('auftraggeber_id')->relationship(name: 'auftraggeber', titleAttribute: 'company')->required(),
Radio::make('status')->options(ProjektStatus::class)->required(), Radio::make('status')->options(ProjektStatus::class)->required(),
]), ]),
Tab::make('Beschreibung') Tab::make('Beschreibung')
+4 -5
View File
@@ -18,12 +18,11 @@ class Gutachter extends Model
'gender', 'gender',
'name', 'name',
'company', 'company',
'logo',
'address',
'email', 'email',
'phone', 'phone',
'use_logo', 'logo',
'kopf', 'logo_align',
'gutachten_layout',
]; ];
/** /**
@@ -32,7 +31,7 @@ class Gutachter extends Model
protected function casts(): array protected function casts(): array
{ {
return [ return [
'kopf' => 'array', 'gutachten_layout' => 'array',
]; ];
} }
+5 -5
View File
@@ -1,7 +1,7 @@
<?php return array ( <?php return array (
'default' => 'default' =>
array ( array (
'/Users/hermanntelser/Sites/nutzwerte_fi4/resources/svg' => '/Users/salam/Sites/nutzwerte_fi4/resources/svg' =>
array ( array (
0 => 'excel', 0 => 'excel',
1 => 'logo', 1 => 'logo',
@@ -10,7 +10,7 @@
), ),
'heroicons' => 'heroicons' =>
array ( array (
'/Users/hermanntelser/Sites/nutzwerte_fi4/vendor/blade-ui-kit/blade-heroicons/src/../resources/svg' => '/Users/salam/Sites/nutzwerte_fi4/vendor/blade-ui-kit/blade-heroicons/src/../resources/svg' =>
array ( array (
0 => 'c-academic-cap', 0 => 'c-academic-cap',
1 => 'c-adjustments-horizontal', 1 => 'c-adjustments-horizontal',
@@ -1304,7 +1304,7 @@
), ),
'phosphor-icons' => 'phosphor-icons' =>
array ( array (
'/Users/hermanntelser/Sites/nutzwerte_fi4/vendor/codeat3/blade-phosphor-icons/src/../resources/svg' => '/Users/salam/Sites/nutzwerte_fi4/vendor/codeat3/blade-phosphor-icons/src/../resources/svg' =>
array ( array (
0 => 'acorn-bold', 0 => 'acorn-bold',
1 => 'acorn-duotone', 1 => 'acorn-duotone',
@@ -10382,7 +10382,7 @@
), ),
'filament' => 'filament' =>
array ( array (
'/Users/hermanntelser/Sites/nutzwerte_fi4/vendor/filament/support/src/../resources/svg' => '/Users/salam/Sites/nutzwerte_fi4/vendor/filament/support/src/../resources/svg' =>
array ( array (
0 => 'o-align-center', 0 => 'o-align-center',
1 => 'o-align-end', 1 => 'o-align-end',
@@ -10419,7 +10419,7 @@
), ),
'lucide' => 'lucide' =>
array ( array (
'/Users/hermanntelser/Sites/nutzwerte_fi4/vendor/mallardduck/blade-lucide-icons/src/../resources/svg' => '/Users/salam/Sites/nutzwerte_fi4/vendor/mallardduck/blade-lucide-icons/src/../resources/svg' =>
array ( array (
0 => 'a-arrow-down', 0 => 'a-arrow-down',
1 => 'a-arrow-up', 1 => 'a-arrow-up',
+18 -18
View File
@@ -81,9 +81,9 @@
array ( array (
'paths' => 'paths' =>
array ( array (
0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/resources/views', 0 => '/Users/salam/Sites/nutzwerte_fi4/resources/views',
), ),
'compiled' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/framework/views', 'compiled' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/views',
), ),
'cors' => 'cors' =>
array ( array (
@@ -124,9 +124,9 @@
'timezone' => 'UTC', 'timezone' => 'UTC',
'locale' => 'de', 'locale' => 'de',
'fallback_locale' => 'en', 'fallback_locale' => 'en',
'faker_locale' => 'at_AT', 'faker_locale' => 'de_AT',
'cipher' => 'AES-256-CBC', 'cipher' => 'AES-256-CBC',
'key' => 'base64:yRi9h21i7xAkGpeF7JoArovQJU1w6xwczQ6ijpYpJrs=', 'key' => 'base64:zrVnUcBmUGjEV/EoAKnZCm/1FWplKu79kYBvevE2/ek=',
'previous_keys' => 'previous_keys' =>
array ( array (
), ),
@@ -301,8 +301,8 @@
'file' => 'file' =>
array ( array (
'driver' => 'file', 'driver' => 'file',
'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/framework/cache/data', 'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/cache/data',
'lock_path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/framework/cache/data', 'lock_path' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/cache/data',
), ),
'memcached' => 'memcached' =>
array ( array (
@@ -513,7 +513,7 @@
), ),
'policies' => 'policies' =>
array ( array (
'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Policies', 'path' => '/Users/salam/Sites/nutzwerte_fi4/app/Policies',
'merge' => true, 'merge' => true,
'generate' => true, 'generate' => true,
'methods' => 'methods' =>
@@ -601,7 +601,7 @@
'local' => 'local' =>
array ( array (
'driver' => 'local', 'driver' => 'local',
'root' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/app/private', 'root' => '/Users/salam/Sites/nutzwerte_fi4/storage/app/private',
'serve' => true, 'serve' => true,
'throw' => false, 'throw' => false,
'report' => false, 'report' => false,
@@ -609,7 +609,7 @@
'public' => 'public' =>
array ( array (
'driver' => 'local', 'driver' => 'local',
'root' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/app/public', 'root' => '/Users/salam/Sites/nutzwerte_fi4/storage/app/public',
'url' => 'http://nutzwerte_fi4.test/storage', 'url' => 'http://nutzwerte_fi4.test/storage',
'visibility' => 'public', 'visibility' => 'public',
'throw' => false, 'throw' => false,
@@ -631,7 +631,7 @@
'promotion' => 'promotion' =>
array ( array (
'driver' => 'local', 'driver' => 'local',
'root' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/app/public/promotion', 'root' => '/Users/salam/Sites/nutzwerte_fi4/storage/app/public/promotion',
'url' => 'http://nutzwerte_fi4.test/storage/promotion', 'url' => 'http://nutzwerte_fi4.test/storage/promotion',
'visibility' => 'public', 'visibility' => 'public',
'throw' => false, 'throw' => false,
@@ -639,7 +639,7 @@
), ),
'links' => 'links' =>
array ( array (
'/Users/hermanntelser/Sites/nutzwerte_fi4/public/storage' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/app/public', '/Users/salam/Sites/nutzwerte_fi4/public/storage' => '/Users/salam/Sites/nutzwerte_fi4/storage/app/public',
), ),
), ),
'logging' => 'logging' =>
@@ -664,14 +664,14 @@
'single' => 'single' =>
array ( array (
'driver' => 'single', 'driver' => 'single',
'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/logs/laravel.log', 'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/logs/laravel.log',
'level' => 'debug', 'level' => 'debug',
'replace_placeholders' => true, 'replace_placeholders' => true,
), ),
'daily' => 'daily' =>
array ( array (
'driver' => 'daily', 'driver' => 'daily',
'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/logs/laravel.log', 'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/logs/laravel.log',
'level' => 'debug', 'level' => 'debug',
'days' => 14, 'days' => 14,
'replace_placeholders' => true, 'replace_placeholders' => true,
@@ -736,7 +736,7 @@
), ),
'emergency' => 'emergency' =>
array ( array (
'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/logs/laravel.log', 'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/logs/laravel.log',
), ),
), ),
), ),
@@ -835,7 +835,7 @@
'theme' => 'default', 'theme' => 'default',
'paths' => 'paths' =>
array ( array (
0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/resources/views/vendor/mail', 0 => '/Users/salam/Sites/nutzwerte_fi4/resources/views/vendor/mail',
), ),
), ),
), ),
@@ -1011,7 +1011,7 @@
'lifetime' => 120, 'lifetime' => 120,
'expire_on_close' => false, 'expire_on_close' => false,
'encrypt' => false, 'encrypt' => false,
'files' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/framework/sessions', 'files' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/sessions',
'connection' => NULL, 'connection' => NULL,
'table' => 'sessions', 'table' => 'sessions',
'store' => NULL, 'store' => NULL,
@@ -1059,7 +1059,7 @@
), ),
'default_filesystem_disk' => 'local', 'default_filesystem_disk' => 'local',
'assets_path' => NULL, 'assets_path' => NULL,
'cache_path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/bootstrap/cache/filament', 'cache_path' => '/Users/salam/Sites/nutzwerte_fi4/bootstrap/cache/filament',
'livewire_loading_delay' => 'default', 'livewire_loading_delay' => 'default',
'file_generation' => 'file_generation' =>
array ( array (
@@ -1072,7 +1072,7 @@
'livewire' => 'livewire' =>
array ( array (
'class_namespace' => 'App\\Livewire', 'class_namespace' => 'App\\Livewire',
'view_path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/resources/views/livewire', 'view_path' => '/Users/salam/Sites/nutzwerte_fi4/resources/views/livewire',
'layout' => 'components.layouts.app', 'layout' => 'components.layouts.app',
'lazy_placeholder' => NULL, 'lazy_placeholder' => NULL,
'temporary_file_upload' => 'temporary_file_upload' =>
+22 -22
View File
@@ -68,9 +68,9 @@
), ),
'clusters' => 'clusters' =>
array ( array (
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters/Administration/AdministrationCluster.php' => 'App\\Filament\\Clusters\\Administration\\AdministrationCluster', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Administration/AdministrationCluster.php' => 'App\\Filament\\Clusters\\Administration\\AdministrationCluster',
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters/Projekte/ProjekteCluster.php' => 'App\\Filament\\Clusters\\Projekte\\ProjekteCluster', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Projekte/ProjekteCluster.php' => 'App\\Filament\\Clusters\\Projekte\\ProjekteCluster',
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters/Verwaltung/VerwaltungCluster.php' => 'App\\Filament\\Clusters\\Verwaltung\\VerwaltungCluster', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Verwaltung/VerwaltungCluster.php' => 'App\\Filament\\Clusters\\Verwaltung\\VerwaltungCluster',
), ),
'clusteredComponents' => 'clusteredComponents' =>
array ( array (
@@ -95,7 +95,7 @@
), ),
'clusterDirectories' => 'clusterDirectories' =>
array ( array (
0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters', 0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters',
), ),
'clusterNamespaces' => 'clusterNamespaces' =>
array ( array (
@@ -103,14 +103,14 @@
), ),
'pages' => 'pages' =>
array ( array (
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters/Administration/AdministrationCluster.php' => 'App\\Filament\\Clusters\\Administration\\AdministrationCluster', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Administration/AdministrationCluster.php' => 'App\\Filament\\Clusters\\Administration\\AdministrationCluster',
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters/Projekte/ProjekteCluster.php' => 'App\\Filament\\Clusters\\Projekte\\ProjekteCluster', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Projekte/ProjekteCluster.php' => 'App\\Filament\\Clusters\\Projekte\\ProjekteCluster',
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters/Verwaltung/VerwaltungCluster.php' => 'App\\Filament\\Clusters\\Verwaltung\\VerwaltungCluster', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Verwaltung/VerwaltungCluster.php' => 'App\\Filament\\Clusters\\Verwaltung\\VerwaltungCluster',
0 => 'Filament\\Pages\\Dashboard', 0 => 'Filament\\Pages\\Dashboard',
), ),
'pageDirectories' => 'pageDirectories' =>
array ( array (
0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Pages', 0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Pages',
), ),
'pageNamespaces' => 'pageNamespaces' =>
array ( array (
@@ -118,23 +118,23 @@
), ),
'resources' => 'resources' =>
array ( array (
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Auftraggebers/AuftraggeberResource.php' => 'App\\Filament\\Resources\\Auftraggebers\\AuftraggeberResource', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Auftraggebers/AuftraggeberResource.php' => 'App\\Filament\\Resources\\Auftraggebers\\AuftraggeberResource',
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Gutachters/GutachterResource.php' => 'App\\Filament\\Resources\\Gutachters\\GutachterResource', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Gutachters/GutachterResource.php' => 'App\\Filament\\Resources\\Gutachters\\GutachterResource',
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Inhaltsverzeichnis/InhaltsverzeichnisResource.php' => 'App\\Filament\\Resources\\Inhaltsverzeichnis\\InhaltsverzeichnisResource', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Inhaltsverzeichnis/InhaltsverzeichnisResource.php' => 'App\\Filament\\Resources\\Inhaltsverzeichnis\\InhaltsverzeichnisResource',
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/KontoTextblocks/KontoTextblockResource.php' => 'App\\Filament\\Resources\\KontoTextblocks\\KontoTextblockResource', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/KontoTextblocks/KontoTextblockResource.php' => 'App\\Filament\\Resources\\KontoTextblocks\\KontoTextblockResource',
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Kontos/KontoResource.php' => 'App\\Filament\\Resources\\Kontos\\KontoResource', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Kontos/KontoResource.php' => 'App\\Filament\\Resources\\Kontos\\KontoResource',
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Methodes/MethodeResource.php' => 'App\\Filament\\Resources\\Methodes\\MethodeResource', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Methodes/MethodeResource.php' => 'App\\Filament\\Resources\\Methodes\\MethodeResource',
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Orientierungs/OrientierungResource.php' => 'App\\Filament\\Resources\\Orientierungs\\OrientierungResource', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Orientierungs/OrientierungResource.php' => 'App\\Filament\\Resources\\Orientierungs\\OrientierungResource',
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Permissions/PermissionResource.php' => 'App\\Filament\\Resources\\Permissions\\PermissionResource', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Permissions/PermissionResource.php' => 'App\\Filament\\Resources\\Permissions\\PermissionResource',
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Plans/PlanResource.php' => 'App\\Filament\\Resources\\Plans\\PlanResource', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Plans/PlanResource.php' => 'App\\Filament\\Resources\\Plans\\PlanResource',
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Projektes/ProjekteResource.php' => 'App\\Filament\\Resources\\Projektes\\ProjekteResource', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Projektes/ProjekteResource.php' => 'App\\Filament\\Resources\\Projektes\\ProjekteResource',
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Textblocks/TextblockResource.php' => 'App\\Filament\\Resources\\Textblocks\\TextblockResource', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Textblocks/TextblockResource.php' => 'App\\Filament\\Resources\\Textblocks\\TextblockResource',
'/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources/Users/UserResource.php' => 'App\\Filament\\Resources\\Users\\UserResource', '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Users/UserResource.php' => 'App\\Filament\\Resources\\Users\\UserResource',
0 => 'BezhanSalleh\\FilamentShield\\Resources\\Roles\\RoleResource', 0 => 'BezhanSalleh\\FilamentShield\\Resources\\Roles\\RoleResource',
), ),
'resourceDirectories' => 'resourceDirectories' =>
array ( array (
0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources', 0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources',
), ),
'resourceNamespaces' => 'resourceNamespaces' =>
array ( array (
@@ -147,7 +147,7 @@
), ),
'widgetDirectories' => 'widgetDirectories' =>
array ( array (
0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Widgets', 0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Widgets',
), ),
'widgetNamespaces' => 'widgetNamespaces' =>
array ( array (
+24 -24
View File
@@ -531,7 +531,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::LS0AO3r24PK1cLwb', '_route' => 'generated::L7b1YA47T9s0omBA',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -551,7 +551,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::ICIjNXoEjo0TU0Ey', '_route' => 'generated::Ygu7hdLXxAya0Jwi',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -609,7 +609,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::rlpdl1zMqMRAioUR', '_route' => 'generated::85F3xzxQEWIxq9uv',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -629,7 +629,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::3MehTYokO6eNMgrN', '_route' => 'generated::YRUPKy6VVQdAVucX',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -649,7 +649,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::O6veqbE0VAIicYHD', '_route' => 'generated::FzMLl3zcZ3kzXDVv',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -669,7 +669,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::LhkfxiUg0pF2qRyR', '_route' => 'generated::SLSjfIczvj1yEU9W',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -689,7 +689,7 @@ app('router')->setCompiledRoutes(
array ( array (
0 => 0 =>
array ( array (
'_route' => 'generated::FbrtCqIJjaQuQsCC', '_route' => 'generated::tNOl50sUOeNNDxqh',
), ),
1 => NULL, 1 => NULL,
2 => 2 =>
@@ -2740,7 +2740,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::LS0AO3r24PK1cLwb' => 'generated::L7b1YA47T9s0omBA' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2752,7 +2752,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::LS0AO3r24PK1cLwb', 'as' => 'generated::L7b1YA47T9s0omBA',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -2768,7 +2768,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::ICIjNXoEjo0TU0Ey' => 'generated::Ygu7hdLXxAya0Jwi' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2780,7 +2780,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::ICIjNXoEjo0TU0Ey', 'as' => 'generated::Ygu7hdLXxAya0Jwi',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -2882,7 +2882,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::rlpdl1zMqMRAioUR' => 'generated::85F3xzxQEWIxq9uv' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2892,7 +2892,7 @@ app('router')->setCompiledRoutes(
'uri' => 'up', 'uri' => 'up',
'action' => 'action' =>
array ( array (
'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:834:"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:826:"function () {
$exception = null; $exception = null;
try { try {
@@ -2907,11 +2907,11 @@ app('router')->setCompiledRoutes(
$exception = $e->getMessage(); $exception = $e->getMessage();
} }
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/salam/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:"0000000000000f3b0000000000000000";}}', }";s:5:"scope";s:54:"Illuminate\\Foundation\\Configuration\\ApplicationBuilder";s:4:"this";N;s:4:"self";s:32:"0000000000000f3b0000000000000000";}}',
'as' => 'generated::rlpdl1zMqMRAioUR', 'as' => 'generated::85F3xzxQEWIxq9uv',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -2927,7 +2927,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::3MehTYokO6eNMgrN' => 'generated::YRUPKy6VVQdAVucX' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2949,7 +2949,7 @@ app('router')->setCompiledRoutes(
'where' => 'where' =>
array ( array (
), ),
'as' => 'generated::3MehTYokO6eNMgrN', 'as' => 'generated::YRUPKy6VVQdAVucX',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -2965,7 +2965,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::O6veqbE0VAIicYHD' => 'generated::FzMLl3zcZ3kzXDVv' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -2987,7 +2987,7 @@ app('router')->setCompiledRoutes(
'where' => 'where' =>
array ( array (
), ),
'as' => 'generated::O6veqbE0VAIicYHD', 'as' => 'generated::FzMLl3zcZ3kzXDVv',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -3003,7 +3003,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::LhkfxiUg0pF2qRyR' => 'generated::SLSjfIczvj1yEU9W' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -3025,7 +3025,7 @@ app('router')->setCompiledRoutes(
'where' => 'where' =>
array ( array (
), ),
'as' => 'generated::LhkfxiUg0pF2qRyR', 'as' => 'generated::SLSjfIczvj1yEU9W',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -3041,7 +3041,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL, 'waitSeconds' => NULL,
'withTrashed' => false, 'withTrashed' => false,
), ),
'generated::FbrtCqIJjaQuQsCC' => 'generated::tNOl50sUOeNNDxqh' =>
array ( array (
'methods' => 'methods' =>
array ( array (
@@ -3063,7 +3063,7 @@ app('router')->setCompiledRoutes(
'where' => 'where' =>
array ( array (
), ),
'as' => 'generated::FbrtCqIJjaQuQsCC', 'as' => 'generated::tNOl50sUOeNNDxqh',
), ),
'fallback' => false, 'fallback' => false,
'defaults' => 'defaults' =>
@@ -3203,7 +3203,7 @@ app('router')->setCompiledRoutes(
'uri' => 'storage/{path}', 'uri' => 'storage/{path}',
'action' => 'action' =>
array ( array (
'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:3:{s:4:"disk";s:5:"local";s:6:"config";a:5:{s:6:"driver";s:5:"local";s:4:"root";s:60:"/Users/hermanntelser/Sites/nutzwerte_fi4/storage/app/private";s:5:"serve";b:1;s:5:"throw";b:0;s:6:"report";b:0;}s:12:"isProduction";b:0;}s:8:"function";s:323:"function (\\Illuminate\\Http\\Request $request, string $path) use ($disk, $config, $isProduction) { 'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:3:{s:4:"disk";s:5:"local";s:6:"config";a:5:{s:6:"driver";s:5:"local";s:4:"root";s:52:"/Users/salam/Sites/nutzwerte_fi4/storage/app/private";s:5:"serve";b:1;s:5:"throw";b:0;s:6:"report";b:0;}s:12:"isProduction";b:0;}s:8:"function";s:323:"function (\\Illuminate\\Http\\Request $request, string $path) use ($disk, $config, $isProduction) {
return (new \\Illuminate\\Filesystem\\ServeFile( return (new \\Illuminate\\Filesystem\\ServeFile(
$disk, $disk,
$config, $config,
+1 -1
View File
@@ -29,9 +29,9 @@ gpetrovic@gmx.at';
'gender' => fake()->randomElement(['Frau', 'Herr']), 'gender' => fake()->randomElement(['Frau', 'Herr']),
'name' => fake()->name(), 'name' => fake()->name(),
'company' => fake()->Company(), 'company' => fake()->Company(),
'address' => $adress,
'email' => fake()->email(), 'email' => fake()->email(),
'phone' => fake()->PhoneNumber(), 'phone' => fake()->PhoneNumber(),
'gutachten_layout' => $adress,
]; ];
} }
} }
@@ -19,11 +19,10 @@ return new class extends Migration
$table->string('name')->nullable(); $table->string('name')->nullable();
$table->string('company')->nullable(); $table->string('company')->nullable();
$table->string('logo')->nullable(); $table->string('logo')->nullable();
$table->text('address')->nullable();
$table->string('email')->nullable(); $table->string('email')->nullable();
$table->string('phone')->nullable(); $table->string('phone')->nullable();
$table->boolean('use_logo')->default(false); $table->string('logo_align')->default('right');
$table->string('kopf')->nullable(); $table->text('gutachten_layout')->nullable();
$table->timestamps(); $table->timestamps();
}); });
} }
Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 294 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 545 KiB

+1
View File
@@ -56,6 +56,7 @@
} }
#gutrte { #gutrte {
h1 { h1 {
font-size: 2rem; font-size: 2rem;
line-height: 2.4rem; line-height: 2.4rem;
+90 -70
View File
@@ -1,46 +1,106 @@
body { body,
table,
.base {
font-family: DejaVuSans; font-family: DejaVuSans;
font-size: 0.8rem; font-size: 10px;
line-height: 1.5rem; line-height: 16px;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
.big { body {
font-size: 1.6rem; /*
line-height: 2rem; mPDF has a custom css property for background images: background-image-resize with custom values from 0-6:
margin-bottom: .5rem;
0 - No resizing (default)
1 - Shrink-to-fit w (keep aspect ratio)
2 - Shrink-to-fit h (keep aspect ratio)
3 - Shrink-to-fit w and/or h (keep aspect ratio)
4 - Resize-to-fit w (keep aspect ratio)
5 - Resize-to-fit h (keep aspect ratio)
6 - Resize-to-fit w and h
*/
background-image: url('images/adler2.jpg');
background-repeat: no-repeat;
background-position: center;
background-image-resize: 2;
} }
.base { /** POSITION FIXED */
font-size: 0.8rem; #deckblatt-gutachter {
line-height: 1.5rem; position: absolute;
font-weight: normal; top: 12mm;
width: 185mm;
} }
.small { #deckblatt-gutachten {
font-size: 0.6rem; position: absolute;
line-height: 0.9rem; top: 90mm;
width: 185mm;
} }
#deckblatt-festsetzung {
position: absolute;
text-align: right;
top: 130mm;
width: 185mm;
}
#deckblatt-auftraggeber {
position: absolute;
text-align: right;
bottom: 20mm;
right: 15mm;
left: 15mm;
}
#deckblatt-image {
width: 185mm;
height: 12mm;
background-size: contain;
background-repeat: no-repeat;
margin-bottom: 1mm;
}
/** FORMATTING */
h1 { h1 {
font-size: 2rem; font-size: 28px;
line-height: 2.4rem; line-height: 30px;
margin: 0; margin: 0;
} }
h2 { h2 {
font-size: 1.7rem; font-size: 18px;
line-height: 2rem; line-height: 20px;
margin: 0; margin: 0;
} }
h3 { h3 {
font-size: 1.2rem; font-size: 14px;
line-height: 1.5rem; line-height: 16px;
margin: 0; margin: 0;
} }
a {
color: black;
text-decoration: none;
}
.bold {
font-weight: bold;
}
.right {
text-align: right;
}
.center {
text-align: center;
}
/** FARBEN */
.gray { .gray {
color: #4a5565; color: #4a5565;
} }
@@ -49,14 +109,17 @@ h3 {
background-color: #f3f4f6; background-color: #f3f4f6;
} }
.green {
color: green;
}
.red { .red {
color: red; color: red;
} }
.bold { /**
font-weight: bold; LAYOUT
} */
p { p {
margin: auto 0; margin: auto 0;
} }
@@ -86,44 +149,9 @@ p {
margin-top: 20mm; margin-top: 20mm;
} }
.green { /**
color: green; GUTACHTEN TABELLEN
} */
.header {
padding: 1.3mm 3mm;
margin: 2rem 0;
font-size: 1.2rem;
border: 0.3mm solid #e5e7eb;
background-color: #f3f4f6;
}
.title {
position: absolute;
font-weight: bold;
font-size: 2.8rem;
top: 90mm;
width: 185mm;
}
.festsetzung {
position: absolute;
font-weight: bold;
text-align: right;
font-size: 1.6rem;
top: 130mm;
width: 185mm;
}
.auftraggeber {
position: absolute;
text-align: right;
bottom: 20mm;
right: 15mm;
left: 15mm;
}
.table-striped tr:nth-child(2n-1) td { .table-striped tr:nth-child(2n-1) td {
background-color: #f3f4f6; background-color: #f3f4f6;
@@ -199,11 +227,3 @@ td {
.br { .br {
border-right: 0.3mm solid #e5e7eb; border-right: 0.3mm solid #e5e7eb;
} }
.right {
text-align: right;
}
.center {
text-align: center;
}
+230 -36
View File
@@ -1,36 +1,230 @@
<table class="panel" width="100%" cellpadding="0" cellspacing="0"> <script> Sfdump = window.Sfdump || (function (doc) { doc.documentElement.classList.add('sf-js-enabled'); var rxEsc = /([.*+?^${}()|\[\]\/\\])/g, idRx = /\bsf-dump-\d+-ref[012]\w+\b/, keyHint = 0 <= navigator.platform.toUpperCase().indexOf('MAC') ? 'Cmd' : 'Ctrl', addEventListener = function (e, n, cb) { e.addEventListener(n, cb, false); }; if (!doc.addEventListener) { addEventListener = function (element, eventName, callback) { element.attachEvent('on' + eventName, function (e) { e.preventDefault = function () { e.returnValue = false; }; e.target = e.srcElement; callback(e); }); }; } function toggle(a, recursive) { var s = a.nextSibling || {}, oldClass = s.className, arrow, newClass; if (/\bsf-dump-compact\b/.test(oldClass)) { arrow = '&#9660;'; newClass = 'sf-dump-expanded'; } else if (/\bsf-dump-expanded\b/.test(oldClass)) { arrow = '&#9654;'; newClass = 'sf-dump-compact'; } else { return false; } if (doc.createEvent && s.dispatchEvent) { var event = doc.createEvent('Event'); event.initEvent('sf-dump-expanded' === newClass ? 'sfbeforedumpexpand' : 'sfbeforedumpcollapse', true, false); s.dispatchEvent(event); } a.lastChild.innerHTML = arrow; s.className = s.className.replace(/\bsf-dump-(compact|expanded)\b/, newClass); if (recursive) { try { a = s.querySelectorAll('.' + oldClass); for (s = 0; s < a.length; ++s) { if (-1 == a[s].className.indexOf(newClass)) { a[s].className = newClass; a[s].previousSibling.lastChild.innerHTML = arrow; } } } catch (e) { } } return true; }; function collapse(a, recursive) { var s = a.nextSibling || {}, oldClass = s.className; if (/\bsf-dump-expanded\b/.test(oldClass)) { toggle(a, recursive); return true; } return false; }; function expand(a, recursive) { var s = a.nextSibling || {}, oldClass = s.className; if (/\bsf-dump-compact\b/.test(oldClass)) { toggle(a, recursive); return true; } return false; }; function collapseAll(root) { var a = root.querySelector('a.sf-dump-toggle'); if (a) { collapse(a, true); expand(a); return true; } return false; } function reveal(node) { var previous, parents = []; while ((node = node.parentNode || {}) && (previous = node.previousSibling) && 'A' === previous.tagName) { parents.push(previous); } if (0 !== parents.length) { parents.forEach(function (parent) { expand(parent); }); return true; } return false; } function highlight(root, activeNode, nodes) { resetHighlightedNodes(root); Array.from(nodes || []).forEach(function (node) { if (!/\bsf-dump-highlight\b/.test(node.className)) { node.className = node.className + ' sf-dump-highlight'; } }); if (!/\bsf-dump-highlight-active\b/.test(activeNode.className)) { activeNode.className = activeNode.className + ' sf-dump-highlight-active'; } } function resetHighlightedNodes(root) { Array.from(root.querySelectorAll('.sf-dump-str, .sf-dump-key, .sf-dump-public, .sf-dump-protected, .sf-dump-private')).forEach(function (strNode) { strNode.className = strNode.className.replace(/\bsf-dump-highlight\b/, ''); strNode.className = strNode.className.replace(/\bsf-dump-highlight-active\b/, ''); }); } return function (root, x) { root = doc.getElementById(root); var indentRx = new RegExp('^(' + (root.getAttribute('data-indent-pad') || ' ').replace(rxEsc, '\\$1') + ')+', 'm'), options = { "maxDepth": 1, "maxStringLength": 160, "fileLinkFormat": false }, elt = root.getElementsByTagName('A'), len = elt.length, i = 0, s, h, t = []; while (i < len) t.push(elt[i++]); for (i in x) { options[i] = x[i]; } function a(e, f) { addEventListener(root, e, function (e, n) { if ('A' == e.target.tagName) { f(e.target, e); } else if ('A' == e.target.parentNode.tagName) { f(e.target.parentNode, e); } else { n = /\bsf-dump-ellipsis\b/.test(e.target.className) ? e.target.parentNode : e.target; if ((n = n.nextElementSibling) && 'A' == n.tagName) { if (!/\bsf-dump-toggle\b/.test(n.className)) { n = n.nextElementSibling || n; } f(n, e, true); } } }); }; function isCtrlKey(e) { return e.ctrlKey || e.metaKey; } function xpathString(str) { var parts = str.match(/[^'"]+|['"]/g).map(function (part) { if ("'" == part) { return '"\'"'; } if ('"' == part) { return "'\"'"; } return "'" + part + "'"; }); return "concat(" + parts.join(",") + ", '')"; } function xpathHasClass(className) { return "contains(concat(' ', normalize-space(@class), ' '), ' " + className + " ')"; } a('mouseover', function (a, e, c) { if (c) { e.target.style.cursor = "pointer"; } }); a('click', function (a, e, c) { if (/\bsf-dump-toggle\b/.test(a.className)) { e.preventDefault(); if (!toggle(a, isCtrlKey(e))) { var r = doc.getElementById(a.getAttribute('href').slice(1)), s = r.previousSibling, f = r.parentNode, t = a.parentNode; t.replaceChild(r, a); f.replaceChild(a, s); t.insertBefore(s, r); f = f.firstChild.nodeValue.match(indentRx); t = t.firstChild.nodeValue.match(indentRx); if (f && t && f[0] !== t[0]) { r.innerHTML = r.innerHTML.replace(new RegExp('^' + f[0].replace(rxEsc, '\\$1'), 'mg'), t[0]); } if (/\bsf-dump-compact\b/.test(r.className)) { toggle(s, isCtrlKey(e)); }Line truncated
<tr> <style>
<td> .sf-js-enabled pre.sf-dump .sf-dump-compact,
<svg .sf-js-enabled .sf-dump-str-collapse .sf-dump-str-collapse,
xmlns="http://www.w3.org/2000/svg" .sf-js-enabled .sf-dump-str-expand .sf-dump-str-expand {
width="32" display: none;
height="32" }
viewBox="0 0 24 24"
fill="none" .sf-dump-hover:hover {
stroke="currentColor" background-color: #B729D9;
stroke-width="2" color: #FFF !important;
stroke-linecap="round" border-radius: 2px;
stroke-linejoin="round" }
class="lucide lucide-drafting-compass-icon lucide-drafting-compass"
> pre.sf-dump {
<path d="m12.99 6.74 1.93 3.44" /> display: block;
<path d="M19.136 12a10 10 0 0 1-14.271 0" /> white-space: pre;
<path d="m21 21-2.16-3.84" /> padding: 5px;
<path d="m3 21 8.02-14.26" /> overflow: initial !important;
<circle cx="12" cy="5" r="2" /> }
</svg>
</td> pre.sf-dump:after {
<td> content: "";
<table width="100%" cellpadding="0" cellspacing="0"> visibility: hidden;
<tr> display: block;
<td> height: 0;
<h1>nutzwerte.at</h1> clear: both;
</td> }
</tr>
<tr> pre.sf-dump .sf-dump-ellipsization {
<td>Software für Architekten</td> display: inline-flex;
</tr> }
</table>
</td> pre.sf-dump a {
</tr> text-decoration: none;
</table> cursor: pointer;
border: 0;
outline: none;
color: inherit;
}
pre.sf-dump img {
max-width: 50em;
max-height: 50em;
margin: .5em 0 0 0;
padding: 0;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAHUlEQVQY02O8zAABilCaiQEN0EeA8QuUcX9g3QEAAjcC5piyhyEAAAAASUVORK5CYII=) #D3D3D3;
}
pre.sf-dump .sf-dump-ellipsis {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
pre.sf-dump .sf-dump-ellipsis-tail {
flex-shrink: 0;
}
pre.sf-dump code {
display: inline;
padding: 0;
background: none;
}
.sf-dump-public.sf-dump-highlight,
.sf-dump-protected.sf-dump-highlight,
.sf-dump-private.sf-dump-highlight,
.sf-dump-str.sf-dump-highlight,
.sf-dump-key.sf-dump-highlight {
background: rgba(111, 172, 204, 0.3);
border: 1px solid #7DA0B1;
border-radius: 3px;
}
.sf-dump-public.sf-dump-highlight-active,
.sf-dump-protected.sf-dump-highlight-active,
.sf-dump-private.sf-dump-highlight-active,
.sf-dump-str.sf-dump-highlight-active,
.sf-dump-key.sf-dump-highlight-active {
background: rgba(253, 175, 0, 0.4);
border: 1px solid #ffa500;
border-radius: 3px;
}
pre.sf-dump .sf-dump-search-hidden {
display: none !important;
}
pre.sf-dump .sf-dump-search-wrapper {
font-size: 0;
white-space: nowrap;
margin-bottom: 5px;
display: flex;
position: -webkit-sticky;
position: sticky;
top: 5px;
}
pre.sf-dump .sf-dump-search-wrapper>* {
vertical-align: top;
box-sizing: border-box;
height: 21px;
font-weight: normal;
border-radius: 0;
background: #FFF;
color: #757575;
border: 1px solid #BBB;
}
pre.sf-dump .sf-dump-search-wrapper>input.sf-dump-search-input {
padding: 3px;
height: 21px;
font-size: 12px;
border-right: none;
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
color: #000;
min-width: 15px;
width: 100%;
}
pre.sf-dump .sf-dump-search-wrapper>.sf-dump-search-input-next,
pre.sf-dump .sf-dump-search-wrapper>.sf-dump-search-input-previous {
background: #F2F2F2;
outline: none;
border-left: none;
font-size: 0;
line-height: 0;
}
pre.sf-dump .sf-dump-search-wrapper>.sf-dump-search-input-next {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
pre.sf-dump .sf-dump-search-wrapper>.sf-dump-search-input-next>svg,
pre.sf-dump .sf-dump-search-wrapper>.sf-dump-search-input-previous>svg {
pointer-events: none;
width: 12px;
height: 12px;
}
pre.sf-dump .sf-dump-search-wrapper>.sf-dump-search-count {
display: inline-block;
padding: 0 5px;
margin: 0;
border-left: none;
line-height: 21px;
font-size: 12px;
}
pre.sf-dump,
pre.sf-dump .sf-dump-default {
background-color: #18171B;
color: #FF8400;
line-height: 1.2em;
font: 12px Menlo, Monaco, Consolas, monospace;
word-wrap: break-word;
white-space: pre-wrap;
position: relative;
z-index: 99999;
word-break: break-all
}
pre.sf-dump .sf-dump-num {
font-weight: bold;
color: #1299DA
}
pre.sf-dump .sf-dump-const {
font-weight: bold
}
pre.sf-dump .sf-dump-virtual {
font-style: italic
}
pre.sf-dump .sf-dump-str {
font-weight: bold;
color: #56DB3A
}
pre.sf-dump .sf-dump-note {
color: #1299DA
}
pre.sf-dump .sf-dump-ref {
color: #A0A0A0
}
pre.sf-dump .sf-dump-public {
color: #FFFFFF
}
pre.sf-dump .sf-dump-protected {
color: #FFFFFF
}
pre.sf-dump .sf-dump-private {
color: #FFFFFF
}
pre.sf-dump .sf-dump-meta {
color: #B729D9
}
pre.sf-dump .sf-dump-key {
color: #56DB3A
}
pre.sf-dump .sf-dump-index {
color: #1299DA
}
pre.sf-dump .sf-dump-ellipsis {
color: #FF8400
}
pre.sf-dump .sf-dump-ns {
user-select: none;
}
pre.sf-dump .sf-dump-ellipsis-note {
color: #1299DA
}
</style>
<pre class=sf-dump id=sf-dump-627452404 data-indent-pad=" ">"<span class=sf-dump-str title="725 characters">&lt;h1 style=&quot;text-align: end;&quot;&gt;&lt;img src=&quot;http://nutzwerte_fi4.test/storage/gutachter-logos/BlmRdvtNg6YnwfYoQawtqkcLQTXGljzH9lXCz4li.png&quot; alt=&quot;Logo&quot; data-id=&quot;gutachter-logos/BlmRdvtNg6YnwfYoQawtqkcLQTXGljzH9lXCz4li.png&quot;&gt;&lt;/h1&gt;&lt;h1 style=&quot;text-align: end;&quot;&gt;&lt;span data-color=&quot;#2b7fff&quot; class=&quot;color&quot; style=&quot;--color: #2b7fff; --dark-color: #2b7fff&quot;&gt;Nikolic&lt;/span&gt;&lt;/h1&gt;&lt;p style=&quot;text-align: end;&quot;&gt;9170 Bad Leonfelden / Simone-Wittmann-Weg 3&lt;/p&gt;&lt;p style=&quot;text-align: end;&quot;&gt;UID: ATU68008336 . Firmenbuchnummer 23456&lt;/p&gt;&lt;p style=&quot;text-align: end;&quot;&gt;Telefon: +43 699 4727182 / Fax: +43 699 4727182-3&lt;/p&gt;&lt;p style=&quot;text-align: end;&quot;&gt;&lt;a target=&quot;_blank&quot; rel=&quot;noopener noreferrer nofollow&quot; href=&quot;mailto:gpetrovic@gmx.at&quot;&gt;gpetrovic@gmx.at&lt;/a&gt;&lt;/p&gt;</span>"<span style="color: #A0A0A0;"> // app/Actions/Generate/Gutachten/Deckblatt.php:20</span>
</pre>
<script>Sfdump("sf-dump-627452404")</script>