wip Nutzwerte pdf

This commit is contained in:
salam committed 2025-10-23 12:07:56 +02:00
1 parent 4ad27d8c19
commit 2296b708eb
31 files changed
+476 -1604

No files matched your search

@@ -11,13 +11,22 @@ class CreateOrientierungZuAbschlaege
{
OrientierungZuAbschlaege::where('projekte_id', $record->id)->delete();
$raeumealles = Raeumealle::select('top_nummer')->where('projekte_id', $record->id)->groupBy('top_nummer')->get();
$raeumealles = Raeumealle::select('top_nummer', 'geschoss')->where('projekte_id', $record->id)->get();
$arr = [];
foreach ($raeumealles as $raeumealle) {
OrientierungZuAbschlaege::firstOrCreate([
'projekte_id' => $record->id,
'top_nummer' => $raeumealle->top_nummer,
]);
if (! in_array($raeumealle->top_nummer, $arr)) {
$orientierung = new OrientierungZuAbschlaege;
$orientierung->projekte_id = $record->id;
$orientierung->top_nummer = $raeumealle->top_nummer;
$orientierung->geschoss = $raeumealle->geschoss ?? '';
$orientierung->save();
Raeumealle::where('projekte_id', $record->id)->where('top_nummer', $raeumealle->top_nummer)->update(['orientierung_zu_abschlaege_id' => $orientierung->id]);
$arr[] = $raeumealle->top_nummer;
}
}
}
}
@@ -34,6 +34,7 @@ class CreateProjektInhaltsverzeichnis
'sort' => $inhalt->sort,
'ordnungszahl' => $inhalt->ordnungszahl,
'name' => $inhalt->name,
'name2' => $inhalt->name2,
'ueberschrift_anzeigen' => $inhalt->ueberschrift_anzeigen,
'tabellen_id' => $inhalt->tabellen_id,
'textblock_id' => $inhalt->textblock_id,
+8 -8
View File
@@ -10,10 +10,10 @@ use Illuminate\Support\Facades\Storage;
class Gutachten
{
public function download($projekts_id, $mode)
public function download($projekte_id, $mode)
{
if ($mode == 'new') {
Projekte::where('id', $projekts_id)->update(['pdf_gutachten_name' => '', 'pdf_gutachten_status' => '0']);
Projekte::where('id', $projekte_id)->update(['pdf_gutachten_name' => '', 'pdf_gutachten_status' => '0']);
}
$headers = [
@@ -23,9 +23,9 @@ class Gutachten
'Cache-Control: cache, must-revalidate',
];
$projekt = Projekte::where('id', $projekts_id)->first()->toArray();
$projekt = Projekte::where('id', $projekte_id)->first()->toArray();
$filepath = Storage::disk('public')->path("/download/$projekts_id/");
$filepath = Storage::disk('public')->path("/download/$projekte_id/");
$filename = 'Gutachten '.preg_replace("'[^0-9a-zA-Z]'", '', $projekt['interner_name']).'.pdf';
@@ -34,9 +34,9 @@ class Gutachten
}
$file = $filepath.$filename;
MakeGutachten::generate($file, $projekts_id);
MakeGutachten::generate($file, $projekte_id);
return Response::download($file, $projekt['offizieller_name'], $headers);
return Response::download($file, 'Gutachten '.$projekt['offizieller_name'], $headers);
// if ($projekt['pdf_standardtexte_ok'] == 0) {
@@ -47,9 +47,9 @@ class Gutachten
// }
// $file = $filepath.$filename;
// MakeGutachten::generate($file, $projekts_id);
// MakeGutachten::generate($file, $projekte_id);
// Projekt::where('id', $projekts_id)->update(['pdf_standardtexte' => $filename, 'pdf_standardtexte_ok' => 1]);
// Projekt::where('id', $projekte_id)->update(['pdf_standardtexte' => $filename, 'pdf_standardtexte_ok' => 1]);
// return Response::download($file, $projekt['name'], $headers);
// } else {
+28 -17
View File
@@ -2,19 +2,19 @@
namespace App\Actions\Download;
use App\Actions\Generate\GenerateNutzwerte;
use App\Models\Projekt;
use App\Actions\Generate\MakeNutzwerte;
use App\Models\Projekte;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Response;
use Illuminate\Support\Facades\Storage;
class Nutzwerte
{
public function download($projekts_id, $mode)
public function download($projekte_id, $mode)
{
if ($mode == 'new') {
Projekt::where('id', $projekts_id)->update(['pdf_nutzwerte_name' => '', 'pdf_nutzwerte_status' => '0']);
Projekte::where('id', $projekte_id)->update(['pdf_nutzwerte_name' => '', 'pdf_nutzwerte_status' => '0']);
}
$headers = [
@@ -24,32 +24,43 @@ class Nutzwerte
'Cache-Control: cache, must-revalidate',
];
$projekt = Projekte::where('id', $projekts_id)->first()->toArray();
$projekt = Projekte::where('id', $projekte_id)->first()->toArray();
$filepath = Storage::disk('public')->path("/download/$projekts_id/nutzwerte/");
$filepath = Storage::disk('public')->path("/download/$projekte_id/");
if ($projekt['pdf_nutzwerte_status'] == 0) {
$filename = preg_replace("'[^0-9a-zA-Z]'", '', $projekt['intname']).'.pdf';
$filename = 'Gutachten '.preg_replace("'[^0-9a-zA-Z]'", '', $projekt['interner_name']).'.pdf';
if (! File::isDirectory($filepath)) {
File::makeDirectory($filepath, 0777, true, true);
}
$file = $filepath.$filename;
GenerateNutzwerte::generate($file, $projekts_id);
MakeNutzwerte::generate($file, $projekte_id);
Projekt::where('id', $projekts_id)->update(['pdf_nutzwerte' => $filename, 'pdf_nutzwerte_ok' => '1']);
return Response::download($file, 'Nutzwert '.$projekt['offizieller_name'], $headers);
return Response::download($file, $projekt['name'], $headers);
// if ($projekt['pdf_nutzwerte_status'] == 0) {
} else {
// $filename = preg_replace("'[^0-9a-zA-Z]'", '', $projekt['intname']).'.pdf';
$filename = $projekt['pdf_nutzwerte_name'];
// if (! File::isDirectory($filepath)) {
// File::makeDirectory($filepath, 0777, true, true);
// }
// $file = $filepath.$filename;
$file = $filepath.$filename;
// GenerateNutzwerte::generate($file, $projekte_id);
return Response::download($file, $projekt['name'], $headers);
}
// Projekte::where('id', $projekte_id)->update(['pdf_nutzwerte' => $filename, 'pdf_nutzwerte_ok' => '1']);
// return Response::download($file, $projekt['name'], $headers);
// } else {
// $filename = $projekt['pdf_nutzwerte_name'];
// $file = $filepath.$filename;
// return Response::download($file, $projekt['name'], $headers);
// }
}
}
@@ -2,19 +2,24 @@
namespace App\Actions\Generate\Gutachten;
use App\Actions\Generate\Utilities\Html;
use App\Models\Allgemeinflaechen;
use App\Utilities\Html;
class AllgemeinTabelle
{
public static function load($projekts_id)
public static function load($projekte_id)
{
$_allgemeine = Allgemeinflaechen::select('geschoss', 'raumart', 'qm')->where('projekts_id', $projekts_id)->get()->toArray();
$_allgemeine = Allgemeinflaechen::select('geschoss', 'raumart', 'flaeche')
->where('projekte_id', $projekte_id)
->orderBy('raumart')
->get()
->toArray();
$_data = array_chunk($_allgemeine, 2);
$html = '<table class="table-striped m10">';
$html = '<table class="table-striped">';
$html .= '<tr>';
$html .= '<thead>';
$html .= Html::td('Geschoß', 'head bl bt wp10');
$html .= Html::td('Typ', 'head bl bt wp25');
$html .= Html::td('Fläche', 'head bl bt br wp10');
@@ -22,6 +27,7 @@ class AllgemeinTabelle
$html .= Html::td('Geschoß', 'head bl bt wp10');
$html .= Html::td('Typ', 'head bl bt wp25');
$html .= Html::td('Fläche', 'head bl bt br wp10');
$html .= '</thead>';
$html .= '</tr>';
foreach ($_data as $value) { //
@@ -29,13 +35,13 @@ class AllgemeinTabelle
if (isset($value[0])) {
$html .= Html::td($value[0]['geschoss'], 'bl bb');
$html .= Html::td($value[0]['raumart'], 'bl bb');
$html .= Html::td($value[0]['qm'], 'bl bb br');
$html .= Html::td($value[0]['flaeche'].' m&sup2;', 'bl bb br right');
$html .= '<td style="background:white"></td>';
}
if (isset($value[1])) {
$html .= Html::td($value[1]['geschoss'], 'bl bb');
$html .= Html::td($value[1]['raumart'], 'bl bb');
$html .= Html::td($value[1]['qm'], 'bl bb br');
$html .= Html::td($value[1]['flaeche'].' m&sup2;', 'bl bb br right');
}
$html .= '</tr>';
}
+2 -2
View File
@@ -12,8 +12,8 @@ class Inhalt
{
$html = '<div class="header">INHALTSVERZEICHNIS</div>';
$html .= '<table class="inhalt">';
$inhaltesverzeichnis = ProjektInhaltsverzeichnis::where('projekte_id', $projekte_id)->orderBy('sort')->get();
foreach ($inhaltesverzeichnis as $inhalt) {
$inhalte = ProjektInhaltsverzeichnis::where('projekte_id', $projekte_id)->orderBy('sort')->get();
foreach ($inhalte as $inhalt) {
if ($inhalt->ueberschrift_anzeigen) {
$html .= '<tr>';
$html .= Html::td(Format::index($inhalt->ordnungszahl));
@@ -9,37 +9,30 @@ class Paragraph6Tabelle
{
public static function load($projekte_id)
{
// $data = DB::table('raumorientierung')
// ->join('raumalles', 'raumorientierung.id', '=', 'raumalles.raumorientierung_id')
// ->join('orientierungs', 'raumorientierung.orientierungs_id', '=', 'orientierungs.id')
// ->select('raumorientierung.top_nr', 'raumorientierung.type', 'raumalles.geschoss', 'orientierungs.name')
// ->where('raumorientierung.projekts_id', $projekts_id)
// ->whereIn('raumalles.methodes_id', [1, 5, 6, 9])
// ->groupBy('raumorientierung.id')
// ->orderBy('raumalles.methodes_id', 'ASC')
// ->orderBy('raumorientierung.top_nr', 'ASC')
// ->get();
$data = OrientierungZuAbschlaege::with('orientierung')->where('projekte_id', $projekte_id)->get();
$data = OrientierungZuAbschlaege::with('orientierung')
->where('projekte_id', $projekte_id)
->orderBy('nicht_in_orientierung')
->orderBy('top_nummer')
->get();
$html = '<table class="table-striped bl bt m20">';
$html = '<table class="table-striped bl bt">';
$html .= '<tr>';
$html .= '<thead>';
$html .= Html::td('Top', 'head center br bb');
$html .= Html::td('Geschoß', 'head center br bb');
$html .= Html::td('Orientierung', 'head center br bb');
$html .= Html::td('Typ', 'head center br bb');
$html .= '</thead>';
$html .= '</tr>';
foreach ($data as $value) {
// dd($value);
$objekt = Raeumealle::where('projekte_id', $projekte_id)->where('top_nummer', $value->top_nummer)->pluck('geschoss', 'type');
$html .= '<tr>';
$html .= Html::td($value->top_nummer, 'center br bb');
$html .= Html::td($value->geschoss, 'center br bb');
$html .= Html::td($value->orientierung->name, 'center br bb');
// $html .= Html::td($value->type, 'center br bb');
$html .= Html::td($value->orientierung->name ?? '', 'center br bb');
$html .= Html::td($value->type, 'center br bb');
$html .= '</tr>';
}
$html .= '</table>';
@@ -1,39 +0,0 @@
<?php
namespace App\Actions\Generate\Gutachten;
use App\Utilities\Html;
class Tabelle
{
public static function load($standardtext)
{
$standardtext = strip_tags($standardtext, '<br>');
$standardtext = str_replace('<br>', '§§', $standardtext);
$standardtext = str_replace('<br/>', '§§', $standardtext);
$standardtext = str_replace('<br />', '§§', $standardtext);
$arr = explode('§§', $standardtext);
$html = '<table class="table-striped bl bt m10">';
foreach ($arr as $value) {
$tmp = explode('|', $value);
$tmp[0] = $tmp[0] ?? '';
$tmp[1] = $tmp[1] ?? '';
$html .= '<tr>';
$html .= Html::td($tmp[0], 'br bb');
$html .= Html::td($tmp[1], 'br bb');
$html .= '</tr>';
}
$html .= '</table>';
return $html;
}
}
+5 -193
View File
@@ -7,13 +7,10 @@ use App\Actions\Generate\Gutachten\Deckblatt;
use App\Actions\Generate\Gutachten\Inhalt;
use App\Actions\Generate\Gutachten\Paragraph6Tabelle;
use App\Actions\Generate\Gutachten\Platzhalter;
use App\Actions\Generate\Gutachten\Standardtext;
use App\Actions\Generate\Gutachten\Tabelle;
use App\Actions\Generate\Gutachten\Ueberschrift;
use App\Actions\Generate\Utilities\Format;
use App\Models\Auftraggeber;
use App\Models\Gutachter;
use App\Models\Inhaltsverzeichnis;
use App\Models\Projekte;
use App\Models\ProjektInhaltsverzeichnis;
use App\Models\ProjektPlatzhalter;
@@ -37,6 +34,8 @@ class MakeGutachten
self::$auftraggeber = Auftraggeber::where('id', self::$projekt->auftraggeber_id)->first();
ob_start();
$mpdf = new Mpdf(
[
'debug' => true,
@@ -53,8 +52,6 @@ class MakeGutachten
$stylesheet = file_get_contents(__DIR__.'/../../../resources/css/pdf-download.css');
$mpdf->WriteHTML($stylesheet, HTMLParserMode::HEADER_CSS);
$mpdf->SetTitle('Nutzwertgutachen '.self::$projekt->offizieller_name);
$mpdf->SetTitle('Gutachten '.self::$projekt->offizieller_name);
$mpdf->SetCreator('nutzwerte.at');
$mpdf->SetAuthor(self::$gutachter->title.' '.self::$gutachter->gender.' '.self::$gutachter->name);
@@ -90,6 +87,9 @@ class MakeGutachten
case '3':
$html .= Paragraph6Tabelle::load($projekte_id);
break;
case '4':
$html .= AllgemeinTabelle::load($projekte_id);
break;
case '8':
$str = RichContentRenderer::make(MakeGutachten::$auftraggeber->referenz_formatting)->toHtml();
$html .= Format::fix_str($str);
@@ -105,194 +105,6 @@ class MakeGutachten
}
}
// $inhalte = Inhaltsverzeichnis::where('projekte_id', $projekte_id)->where('is_active', 1)->orderBy('pos')->get();
// if (count($inhalte) == 0) {
// exit;
// }
// foreach ($inhalte as $inhalt) {
// $standardtext = Standardtext::replace($inhalt['standardtext']);
// switch ($inhalt['kennung']) {
// case 'deckblatt':
// $html = Deckblatt::load($standardtext);
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'inhalt':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// }
// $html = Inhalt::load($standardtext);
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// break;
// case 'allgemeineangaben':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'auftraggeber':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $html .= trim(self::self::$auftraggeber->adressenblock);
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'zweck':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $html .= $standardtext;
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'ortsbesichtigung':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $html .= $standardtext;
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'unterlagen':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $html .= $standardtext;
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'befund':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'grundbuchstand':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $html .= Tabelle::load($standardtext);
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'beschreibung':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $html .= $standardtext;
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'paragraph_6_teil_1':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $html .= $standardtext;
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'paragraph_6_tabelle':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// }
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $html = Paragraph6Tabelle::load($projekte_id);
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'paragraph_6_teil_2':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $html .= $standardtext;
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'allgemeinflaechen_nach_p6':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">ALLGEMEINFLÄCHEN</div>';
// $html .= AllgemeinTabelle::load($projekte_id);
// $html .= '<br><br><br><br><br><br><br>';
// $html .= '<table class="inhalt"><tr>';
// $html .= '<td>'.self::$projekt->erstellung.'</td>';
// $html .= '<td class="right">'.self::$gutachter->kennung.'</td>';
// $html .= '</tr></table>';
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'gutachten':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// }
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'allgemeine-grundsaetze':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $html .= $standardtext;
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'allgemeine-bewertungen':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $html .= $standardtext;
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'zubehoer':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">'.$inhalt['titel'].'</div>';
// $html .= $standardtext;
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// }
// }
ob_clean();
$mpdf->Output($filepath, 'F');
+94 -62
View File
@@ -2,6 +2,8 @@
namespace App\Actions\Generate;
use App\Actions\Generate\Gutachten\Platzhalter;
use App\Actions\Generate\Gutachten\Ueberschrift;
use App\Actions\Generate\Nutzwerte\Allgemeinflaechens;
use App\Actions\Generate\Nutzwerte\BerechnungM1M4;
use App\Actions\Generate\Nutzwerte\BerechnungM5;
@@ -11,8 +13,9 @@ use App\Actions\Generate\Nutzwerte\ZuUndAbschlaege;
use App\Actions\ProcessData\ProcessRaumorientierung;
use App\Models\Auftraggeber;
use App\Models\Gutachter;
use App\Models\Inhaltsverzeichnis;
use App\Models\Projekt;
use App\Models\Projekte;
use App\Models\ProjektInhaltsverzeichnis;
use App\Models\ProjektPlatzhalter;
use Mpdf\HTMLParserMode;
use Mpdf\Mpdf;
@@ -24,15 +27,17 @@ class MakeNutzwerte
public static $auftraggeber;
public static function generate($filepath, $projekts_id)
public static function generate($filepath, $projekte_id)
{
ProcessRaumorientierung::berechnen($projekts_id);
BerechnungNutzwerte::berechnen($projekts_id);
// ProcessRaumorientierung::berechnen($projekte_id);
// BerechnungNutzwerte::berechnen($projekte_id);
// PDF START
self::$projekt = Projekt::where('id', $projekts_id)->get()->first();
self::$gutachter = Gutachter::where('id', self::$projekt->gutachters_id)->get()->first();
self::$auftraggeber = Auftraggeber::where('id', self::$projekt->auftraggebers_id)->get()->first();
self::$projekt = Projekte::where('id', $projekte_id)->first();
self::$gutachter = Gutachter::where('id', self::$projekt->gutachter_id)->first();
self::$auftraggeber = Auftraggeber::where('id', self::$projekt->auftraggeber_id)->first();
ob_start();
@@ -51,73 +56,100 @@ class MakeNutzwerte
);
$stylesheet = file_get_contents(__DIR__.'/../../../resources/css/pdf-download.css');
$mpdf->WriteHTML($stylesheet, HTMLParserMode::HEADER_CSS);
$mpdf->SetTitle('Nutzwertgutachen '.self::$projekt->name);
$mpdf->SetCreator('www.nutzwertgutachen.at');
$mpdf->SetAuthor(self::$gutachter->adressenblock);
$mpdf->SetTitle('Nutzwerte '.self::$projekt->offizieller_name);
$mpdf->SetCreator('nutzwerte.at');
$mpdf->SetAuthor(self::$gutachter->title.' '.self::$gutachter->gender.' '.self::$gutachter->name);
$inhalte = Inhaltsverzeichnis::where('projekts_id', $projekts_id)->where('is_active', 1)->orderBy('pos')->get();
if (count($inhalte) == 0) {
exit;
}
foreach ($inhalte as $inhalt) {
$inhaltesverzeichnis = ProjektInhaltsverzeichnis::where('projekte_id', $projekte_id)->where('part', 2)->orderBy('sort')->get();
switch ($inhalt['kennung']) {
$platzhalter = ProjektPlatzhalter::where('projekte_id', $projekte_id)->pluck('platzhaltertext', 'platzhalter')->toArray();
case 'tabelle_zu_abschlaege':
// Zu und Abschläge
if ($inhalt['neue_seite']) {
$mpdf->AddPage('', '', $inhalt->seite);
$mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
}
$html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
$html .= '<table class="table-striped text-75">';
$html .= ZuUndAbschlaege::load($projekts_id);
$html .= '</table>';
$mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
break;
foreach ($inhaltesverzeichnis as $inhalt) {
case 'nutzwertberechnung':
if ($inhalt['neue_seite']) {
if ($inhalt->neue_seite) {
$mpdf->AddPage();
$mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
}
$html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
$html .= BerechnungM1M4::load($projekts_id);
$mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
$html = Ueberschrift::create($inhalt);
$html = BerechnungM5::load($projekts_id);
if ($inhalt->textblock) {
$html .= Platzhalter::replace($platzhalter, $inhalt->textblock);
}
switch ($inhalt->tabellen_id) {
case '5':
$html .= ZuUndAbschlaege::load($projekte_id);
break;
}
}
if ($inhalt->seitenzahl_anzeige == 1) {
$mpdf->SetHTMLFooter('<div class="center">Seite {PAGENO}<br><br></div>');
}
if ($html) {
$mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
}
break;
case 'zusammenstellung':
if ($inhalt['neue_seite']) {
$mpdf->AddPage();
$mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
}
$html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
$html .= Zusammenstellung::load($projekts_id);
$html .= '<br><br><br><br><br><br><br>';
$html .= '<table class="inhalt"><tr>';
$html .= '<td>'.self::$projekt->erstellung.'</td>';
$html .= '<td class="right">'.self::$gutachter->kennung.'</td>';
$html .= '</tr></table>';
$mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
break;
// foreach ($inhalte as $inhalt) {
case 'allgemeinflaechen':
if ($inhalt['neue_seite']) {
$mpdf->AddPage();
$mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
}
$html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
$html .= Allgemeinflaechens::load($projekts_id);
$mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
break;
}
}
// switch ($inhalt['kennung']) {
// case 'tabelle_zu_abschlaege':
// // Zu und Abschläge
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage('', '', $inhalt->seite);
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $html .= '<table class="table-striped text-75">';
// $html .= ZuUndAbschlaege::load($projekte_id);
// $html .= '</table>';
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'nutzwertberechnung':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $html .= BerechnungM1M4::load($projekte_id);
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// $html = BerechnungM5::load($projekte_id);
// if ($html) {
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// }
// break;
// case 'zusammenstellung':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $html .= Zusammenstellung::load($projekte_id);
// $html .= '<br><br><br><br><br><br><br>';
// $html .= '<table class="inhalt"><tr>';
// $html .= '<td>'.self::$projekt->erstellung.'</td>';
// $html .= '<td class="right">'.self::$gutachter->kennung.'</td>';
// $html .= '</tr></table>';
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// case 'allgemeinflaechen':
// if ($inhalt['neue_seite']) {
// $mpdf->AddPage();
// $mpdf->SetHTMLFooter('<div class="size09 center">Seite {PAGENO}<br><br></div>');
// }
// $html = '<div class="header">'.$inhalt['index'].' - '.$inhalt['titel'].'</div>';
// $html .= Allgemeinflaechens::load($projekte_id);
// $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
// break;
// }
// }
ob_clean();
@@ -3,6 +3,7 @@
namespace App\Actions\Generate\Nutzwerte;
use App\Models\Merkmale;
use App\Models\OrientierungZuAbschlaege;
use App\Models\Raumalles;
use App\Models\Raumorientierung;
use App\Utilities\Format;
@@ -10,14 +11,23 @@ use App\Utilities\Html;
class ZuUndAbschlaege
{
public static function load(int $projekts_id)
public static function load(int $projekte_id)
{
Raumorientierung::where('projekts_id', $projekts_id)->where('top_nr', '')->delete();
Raumorientierung::where('projekts_id', $projekts_id)->where('top_nr', 'like', '%---%')->delete();
// 3.21 Zu und Abschläge
$orientierungen = OrientierungZuAbschlaege::select()
->with('orientierung')
->where('projekte_id', $projekte_id)
->where('nicht_in_orientierung', 0)
->get();
foreach ($orientierungen as $orientierung) {
dd($orientierung);
}
// $total = Invoice::where('status', 'Completed')->sum('amount');
$header_row = ['Top', 'Geschoß', 'Typ', 'Nutzfläche', 'Loggia / sonst. Zusatzflächen', 'Gesamtnutzfläche'];
$merkmale = Merkmale::merkmale($projekts_id);
$merkmale = Merkmale::merkmale($projekte_id);
$markmale_col = [];
foreach ($merkmale as $value) {
$markmale_col[] = $value['col'];
@@ -27,14 +37,14 @@ class ZuUndAbschlaege
$header_row[] = 'Wohnungsbewertung';
$html = Html::table_header_90($header_row);
$res = Raumalles::select('raumorientierung_id', 'geschoss')->where('projekts_id', $projekts_id)->where('methodes_id', 1)->get();
$res = Raumalles::select('raumorientierung_id', 'geschoss')->where('projekte_id', $projekte_id)->where('methodes_id', 1)->get();
$geschoss = [];
foreach ($res as $value) {
$id = $value->raumorientierung_id;
$geschoss[$id] = $value['geschoss'];
}
$res = Raumorientierung::select()->where('projekts_id', $projekts_id)->where('nicht_in_orientierung', 0)->whereNotNull('top_nr')->orderBy('top_nr')->get();
$res = Raumorientierung::select()->where('projekte_id', $projekte_id)->where('nicht_in_orientierung', 0)->whereNotNull('top_nr')->orderBy('top_nr')->get();
foreach ($res as $value) {
$id = $value->id;
$html .= '<tr>';
+13 -2
View File
@@ -197,13 +197,24 @@ class GutachtenValidation
}
$res = OrientierungZuAbschlaege::where('projekte_id', $record->id)->where('nicht_in_orientierung', false)->get();
foreach ($res as $value) {
if (! $value->orientierung_id) {
if (! $value->orientierung_id && ! $value->nicht_in_orientierung) {
Notification::make()
->title('Orientierung Zu und Abschläge')
->info()
->icon('heroicon-o-exclamation-triangle')
->duration(10000)
->body('Für den Raum <b>'.$value->raumart.'</b> mit der Top Nummer <b>'.$value->top_nummer.'</b> fehlt die <u>Orientierung</u>.')
->body('Bei der Top Nummer <b>'.$value->top_nummer.'</b> fehlt die <u>Orientierung</u>.')
->send();
return false;
}
if (! $value->orientierung_id && ! $value->type) {
Notification::make()
->title('Orientierung Zu und Abschläge')
->info()
->icon('heroicon-o-exclamation-triangle')
->duration(10000)
->body('Bei der Top Nummer <b>'.$value->top_nummer.'</b> fehlt der <u>Type</u>.')
->send();
return false;
@@ -98,7 +98,7 @@ class EditProjekte extends EditRecord
*/
Action::make('nutzwerte')
->hidden(fn ($record): bool => (! $record->bezahlt_am || ! $record->pdf_nutzwerte_status) ? true : false)
->color('primary')
->color('success')
->label('Nutzwerte')
->icon('icon-pdf')
->url(fn ($record) => route('nutzwerte.download', ['record' => $record, 'mode' => 'file']))
@@ -59,6 +59,9 @@ class OrientierungZuAbschlaegesRelationManager extends RelationManager
'style' => 'position: sticky; left: 0; z-index: 1;',
'class' => 'bg-gray-50 dark:bg-gray-900',
]),
TextInputColumn::make('geschoss')
->width('1rem')
->toggleable(),
CheckboxColumn::make('nicht_in_orientierung')
->label('NiO')
->toggleable()
@@ -76,6 +79,7 @@ class OrientierungZuAbschlaegesRelationManager extends RelationManager
->label('Orientierung')
->selectablePlaceholder(true)
->options(Orientierung::pluck('name', 'id'))
->selectablePlaceholder(false)
->disableOptionWhen(fn (string $value): bool => in_array($value, [2, 11, 24, 33, 36]))
->preloadOptions()->afterStateUpdated(function (Component $livewire) {
$livewire->dispatch('refreshOrientierung');
@@ -230,8 +234,8 @@ class OrientierungZuAbschlaegesRelationManager extends RelationManager
->requiresConfirmation()
->modalHeading('Orientierung Zu/Abschläge erstellen')
->modalDescription('Alle bestehenden Daten in dieser Tabelle werden vorher gelöscht.')
->modalSubmitActionLabel('Erstellen')
->label('Erstellen')
->modalSubmitActionLabel('Generieren')
->label('Generieren')
->tooltip('Daten werden aus "Räume Alle" gefiltert.')
->icon('heroicon-o-cog-8-tooth')
->after(function (Component $livewire) {
@@ -208,11 +208,20 @@ class ProjektInhaltsverzeichnisRelationManager extends RelationManager
{
return $table
->recordTitleAttribute('text')
// ->recordClasses(fn ($record) => $record->part == 'gutachten' ? 'border-l border-primary-500' : 'border-l border-success-500')
->columns([
TextColumn::make('ordnungszahl')
->alignCenter()
->width('2rem')
->label('Index')
->getStateUsing(fn ($record): string => $record->ordnungszahl == '0' ? '' : number_format($record->ordnungszahl, 2)),
->getStateUsing(fn ($record): string => $record->ordnungszahl == '0' ? '' : number_format($record->ordnungszahl, 2))
->extraCellAttributes(function ($record) {
if ($record->part == 1) {
return ['class' => 'bg-primary-500/10'];
} else {
return ['class' => 'bg-success-500/10'];
}
}),
IconColumn::make('neue_seite')
->label('Seite')
->tooltip('Start einer neue Seite')
@@ -229,6 +238,7 @@ class ProjektInhaltsverzeichnisRelationManager extends RelationManager
}),
TextColumn::make('name')
->wrap()
->searchable()
->weight(fn ($record): FontWeight => match ($record->ueberschrift_anzeigen) {
1 => FontWeight::SemiBold,
default => FontWeight::Thin,
@@ -258,9 +268,6 @@ class ProjektInhaltsverzeichnisRelationManager extends RelationManager
])
->defaultSort('sort', direction: 'asc')
->reorderable('sort')
->filters([
//
])
->headerActions([
Action::make('generate')
->action(fn (CreateProjektInhaltsverzeichnis $createInhaltsverzeichnis) => $createInhaltsverzeichnis->create($this->ownerRecord))
@@ -71,8 +71,8 @@ class ProjektMethodesRelationManager extends RelationManager
->requiresConfirmation()
->modalHeading('Raum Methoden erstellen')
->modalDescription('Alle bestehenden Daten in dieser Tabelle werden vorher gelöscht.')
->modalSubmitActionLabel('Erstellen')
->label('Erstellen')
->modalSubmitActionLabel('Generieren')
->label('Generieren')
->tooltip('Daten werden aus "Räume Alle" Tabelle gefiltert.')
->icon('heroicon-o-cog-8-tooth')
->after(function (Component $livewire) {
+1
View File
@@ -8,6 +8,7 @@ class Raeumealle extends Model
{
protected $fillable = [
'projekte_id',
'orientierung_zu_abschlaege_id',
'methode_id',
'top_nummer',
'geschoss',
+5 -5
View File
@@ -1,7 +1,7 @@
<?php return array (
'default' =>
array (
'/Users/hermanntelser/Sites/nutzwerte_fi4/resources/svg' =>
'/Users/salam/Sites/nutzwerte_fi4/resources/svg' =>
array (
0 => 'excel',
1 => 'logo',
@@ -11,7 +11,7 @@
),
'heroicons' =>
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 (
0 => 'c-academic-cap',
1 => 'c-adjustments-horizontal',
@@ -1305,7 +1305,7 @@
),
'phosphor-icons' =>
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 (
0 => 'acorn-bold',
1 => 'acorn-duotone',
@@ -10383,7 +10383,7 @@
),
'filament' =>
array (
'/Users/hermanntelser/Sites/nutzwerte_fi4/vendor/filament/support/src/../resources/svg' =>
'/Users/salam/Sites/nutzwerte_fi4/vendor/filament/support/src/../resources/svg' =>
array (
0 => 'o-align-center',
1 => 'o-align-end',
@@ -10420,7 +10420,7 @@
),
'lucide' =>
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 (
0 => 'a-arrow-down',
1 => 'a-arrow-up',
+17 -17
View File
@@ -81,9 +81,9 @@
array (
'paths' =>
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' =>
array (
@@ -126,7 +126,7 @@
'fallback_locale' => 'en',
'faker_locale' => 'de_AT',
'cipher' => 'AES-256-CBC',
'key' => 'base64:3uv/ppXplpqmYtiZ5ZyILnoOTmKfZAz27bfsnR1qmaE=',
'key' => 'base64:zrVnUcBmUGjEV/EoAKnZCm/1FWplKu79kYBvevE2/ek=',
'previous_keys' =>
array (
),
@@ -301,8 +301,8 @@
'file' =>
array (
'driver' => 'file',
'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/framework/cache/data',
'lock_path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/framework/cache/data',
'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/cache/data',
'lock_path' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/cache/data',
),
'memcached' =>
array (
@@ -522,7 +522,7 @@
),
'policies' =>
array (
'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Policies',
'path' => '/Users/salam/Sites/nutzwerte_fi4/app/Policies',
'merge' => true,
'generate' => true,
'methods' =>
@@ -610,7 +610,7 @@
'local' =>
array (
'driver' => 'local',
'root' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/app/private',
'root' => '/Users/salam/Sites/nutzwerte_fi4/storage/app/private',
'serve' => true,
'throw' => false,
'report' => false,
@@ -618,7 +618,7 @@
'public' =>
array (
'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',
'visibility' => 'public',
'throw' => false,
@@ -640,7 +640,7 @@
'promotion' =>
array (
'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',
'visibility' => 'public',
'throw' => false,
@@ -648,7 +648,7 @@
),
'links' =>
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' =>
@@ -673,14 +673,14 @@
'single' =>
array (
'driver' => 'single',
'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/logs/laravel.log',
'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/logs/laravel.log',
'level' => 'debug',
'replace_placeholders' => true,
),
'daily' =>
array (
'driver' => 'daily',
'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/logs/laravel.log',
'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/logs/laravel.log',
'level' => 'debug',
'days' => 14,
'replace_placeholders' => true,
@@ -745,7 +745,7 @@
),
'emergency' =>
array (
'path' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/logs/laravel.log',
'path' => '/Users/salam/Sites/nutzwerte_fi4/storage/logs/laravel.log',
),
),
),
@@ -844,7 +844,7 @@
'theme' => 'default',
'paths' =>
array (
0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/resources/views/vendor/mail',
0 => '/Users/salam/Sites/nutzwerte_fi4/resources/views/vendor/mail',
),
),
),
@@ -1033,7 +1033,7 @@
'lifetime' => 120,
'expire_on_close' => false,
'encrypt' => false,
'files' => '/Users/hermanntelser/Sites/nutzwerte_fi4/storage/framework/sessions',
'files' => '/Users/salam/Sites/nutzwerte_fi4/storage/framework/sessions',
'connection' => NULL,
'table' => 'sessions',
'store' => NULL,
@@ -1081,7 +1081,7 @@
),
'default_filesystem_disk' => 'local',
'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',
'file_generation' =>
array (
@@ -1094,7 +1094,7 @@
'livewire' =>
array (
'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',
'lazy_placeholder' => NULL,
'temporary_file_upload' =>
+22 -22
View File
@@ -69,9 +69,9 @@
),
'clusters' =>
array (
'/Users/hermanntelser/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/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters/Verwaltung/VerwaltungCluster.php' => 'App\\Filament\\Clusters\\Verwaltung\\VerwaltungCluster',
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Administration/AdministrationCluster.php' => 'App\\Filament\\Clusters\\Administration\\AdministrationCluster',
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Projekte/ProjekteCluster.php' => 'App\\Filament\\Clusters\\Projekte\\ProjekteCluster',
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Verwaltung/VerwaltungCluster.php' => 'App\\Filament\\Clusters\\Verwaltung\\VerwaltungCluster',
),
'clusteredComponents' =>
array (
@@ -96,7 +96,7 @@
),
'clusterDirectories' =>
array (
0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters',
0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters',
),
'clusterNamespaces' =>
array (
@@ -104,14 +104,14 @@
),
'pages' =>
array (
'/Users/hermanntelser/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/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters/Verwaltung/VerwaltungCluster.php' => 'App\\Filament\\Clusters\\Verwaltung\\VerwaltungCluster',
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Administration/AdministrationCluster.php' => 'App\\Filament\\Clusters\\Administration\\AdministrationCluster',
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Projekte/ProjekteCluster.php' => 'App\\Filament\\Clusters\\Projekte\\ProjekteCluster',
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters/Verwaltung/VerwaltungCluster.php' => 'App\\Filament\\Clusters\\Verwaltung\\VerwaltungCluster',
0 => 'Filament\\Pages\\Dashboard',
),
'pageDirectories' =>
array (
0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Pages',
0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Pages',
),
'pageNamespaces' =>
array (
@@ -119,23 +119,23 @@
),
'resources' =>
array (
'/Users/hermanntelser/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/hermanntelser/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/hermanntelser/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/hermanntelser/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/hermanntelser/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/hermanntelser/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/Auftraggebers/AuftraggeberResource.php' => 'App\\Filament\\Resources\\Auftraggebers\\AuftraggeberResource',
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Gutachters/GutachterResource.php' => 'App\\Filament\\Resources\\Gutachters\\GutachterResource',
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Inhaltsverzeichnis/InhaltsverzeichnisResource.php' => 'App\\Filament\\Resources\\Inhaltsverzeichnis\\InhaltsverzeichnisResource',
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/KontoTextblocks/KontoTextblockResource.php' => 'App\\Filament\\Resources\\KontoTextblocks\\KontoTextblockResource',
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Kontos/KontoResource.php' => 'App\\Filament\\Resources\\Kontos\\KontoResource',
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Methodes/MethodeResource.php' => 'App\\Filament\\Resources\\Methodes\\MethodeResource',
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Orientierungs/OrientierungResource.php' => 'App\\Filament\\Resources\\Orientierungs\\OrientierungResource',
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Permissions/PermissionResource.php' => 'App\\Filament\\Resources\\Permissions\\PermissionResource',
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Plans/PlanResource.php' => 'App\\Filament\\Resources\\Plans\\PlanResource',
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Projektes/ProjekteResource.php' => 'App\\Filament\\Resources\\Projektes\\ProjekteResource',
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Textblocks/TextblockResource.php' => 'App\\Filament\\Resources\\Textblocks\\TextblockResource',
'/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources/Users/UserResource.php' => 'App\\Filament\\Resources\\Users\\UserResource',
0 => 'BezhanSalleh\\FilamentShield\\Resources\\Roles\\RoleResource',
),
'resourceDirectories' =>
array (
0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Resources',
0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Resources',
),
'resourceNamespaces' =>
array (
@@ -148,7 +148,7 @@
),
'widgetDirectories' =>
array (
0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Widgets',
0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Widgets',
),
'widgetNamespaces' =>
array (
+24 -24
View File
@@ -531,7 +531,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
'_route' => 'generated::QNYvfkBWtvbCrce4',
'_route' => 'generated::oVEL8T4RtClBGJph',
),
1 => NULL,
2 =>
@@ -551,7 +551,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
'_route' => 'generated::MLkCfSnDmh9zPcLS',
'_route' => 'generated::HjTkGONthPW5rXlA',
),
1 => NULL,
2 =>
@@ -609,7 +609,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
'_route' => 'generated::ke9LNGnsiNlZ1Itc',
'_route' => 'generated::pEReUyxt0NaT6Jii',
),
1 => NULL,
2 =>
@@ -629,7 +629,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
'_route' => 'generated::zcmUE3DogESAarEK',
'_route' => 'generated::mr9jJHuN21kFNsfA',
),
1 => NULL,
2 =>
@@ -649,7 +649,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
'_route' => 'generated::b8r1y9Wwr1IcdAcl',
'_route' => 'generated::YCs7YJMnXxmDHURi',
),
1 => NULL,
2 =>
@@ -669,7 +669,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
'_route' => 'generated::5zvzNS0YjEv9xhBX',
'_route' => 'generated::RlMY0jWCz0GdVM9I',
),
1 => NULL,
2 =>
@@ -689,7 +689,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
'_route' => 'generated::KVvS9s5C38fZJsah',
'_route' => 'generated::ewQXabeHoFQYWp0w',
),
1 => NULL,
2 =>
@@ -2740,7 +2740,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
'generated::QNYvfkBWtvbCrce4' =>
'generated::oVEL8T4RtClBGJph' =>
array (
'methods' =>
array (
@@ -2752,7 +2752,7 @@ app('router')->setCompiledRoutes(
array (
'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile',
'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@returnJavaScriptAsFile',
'as' => 'generated::QNYvfkBWtvbCrce4',
'as' => 'generated::oVEL8T4RtClBGJph',
),
'fallback' => false,
'defaults' =>
@@ -2768,7 +2768,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
'generated::MLkCfSnDmh9zPcLS' =>
'generated::HjTkGONthPW5rXlA' =>
array (
'methods' =>
array (
@@ -2780,7 +2780,7 @@ app('router')->setCompiledRoutes(
array (
'uses' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps',
'controller' => 'Livewire\\Mechanisms\\FrontendAssets\\FrontendAssets@maps',
'as' => 'generated::MLkCfSnDmh9zPcLS',
'as' => 'generated::HjTkGONthPW5rXlA',
),
'fallback' => false,
'defaults' =>
@@ -2882,7 +2882,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
'generated::ke9LNGnsiNlZ1Itc' =>
'generated::pEReUyxt0NaT6Jii' =>
array (
'methods' =>
array (
@@ -2892,7 +2892,7 @@ app('router')->setCompiledRoutes(
'uri' => 'up',
'action' =>
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;
try {
@@ -2907,11 +2907,11 @@ app('router')->setCompiledRoutes(
$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,
]), status: $exception ? 500 : 200);
}";s:5:"scope";s:54:"Illuminate\\Foundation\\Configuration\\ApplicationBuilder";s:4:"this";N;s:4:"self";s:32:"0000000000000f3b0000000000000000";}}',
'as' => 'generated::ke9LNGnsiNlZ1Itc',
'as' => 'generated::pEReUyxt0NaT6Jii',
),
'fallback' => false,
'defaults' =>
@@ -2927,7 +2927,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
'generated::zcmUE3DogESAarEK' =>
'generated::mr9jJHuN21kFNsfA' =>
array (
'methods' =>
array (
@@ -2949,7 +2949,7 @@ app('router')->setCompiledRoutes(
'where' =>
array (
),
'as' => 'generated::zcmUE3DogESAarEK',
'as' => 'generated::mr9jJHuN21kFNsfA',
),
'fallback' => false,
'defaults' =>
@@ -2965,7 +2965,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
'generated::b8r1y9Wwr1IcdAcl' =>
'generated::YCs7YJMnXxmDHURi' =>
array (
'methods' =>
array (
@@ -2987,7 +2987,7 @@ app('router')->setCompiledRoutes(
'where' =>
array (
),
'as' => 'generated::b8r1y9Wwr1IcdAcl',
'as' => 'generated::YCs7YJMnXxmDHURi',
),
'fallback' => false,
'defaults' =>
@@ -3003,7 +3003,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
'generated::5zvzNS0YjEv9xhBX' =>
'generated::RlMY0jWCz0GdVM9I' =>
array (
'methods' =>
array (
@@ -3025,7 +3025,7 @@ app('router')->setCompiledRoutes(
'where' =>
array (
),
'as' => 'generated::5zvzNS0YjEv9xhBX',
'as' => 'generated::RlMY0jWCz0GdVM9I',
),
'fallback' => false,
'defaults' =>
@@ -3041,7 +3041,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
'generated::KVvS9s5C38fZJsah' =>
'generated::ewQXabeHoFQYWp0w' =>
array (
'methods' =>
array (
@@ -3063,7 +3063,7 @@ app('router')->setCompiledRoutes(
'where' =>
array (
),
'as' => 'generated::KVvS9s5C38fZJsah',
'as' => 'generated::ewQXabeHoFQYWp0w',
),
'fallback' => false,
'defaults' =>
@@ -3203,7 +3203,7 @@ app('router')->setCompiledRoutes(
'uri' => 'storage/{path}',
'action' =>
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(
$disk,
$config,
@@ -14,7 +14,7 @@ return new class extends Migration
Schema::create('inhaltsverzeichnis', function (Blueprint $table) {
$table->id();
$table->string('name')->nullable();
$table->string('nam2')->nullable();
$table->string('name2')->nullable();
$table->boolean('ueberschrift_anzeigen')->default(0)->nullable();
$table->integer('tabellen_id')->default(0)->nullable();
$table->integer('textblock_id')->default(0)->nullable();
@@ -14,6 +14,7 @@ return new class extends Migration
Schema::create('raeumealles', function (Blueprint $table) {
$table->id();
$table->foreignId('projekte_id')->constrained()->cascadeOnDelete();
$table->integer('orientierung_zu_abschlaege_id')->default(0)->nullable();
$table->string('top_nummer')->nullable();
$table->string('geschoss')->nullable();
$table->string('raumart')->nullable();
@@ -18,7 +18,7 @@ return new class extends Migration
$table->boolean('nicht_in_orientierung')->default(0);
$table->string('top_nummer')->nullable();
$table->string('type')->nullable();
$table->string('raumart')->nullable();
$table->string('geschoss')->nullable();
$table->integer('nutzwert')->default(0)->nullable();
// 10 Zusatzfelder
$table->decimal('a', 5, 2)->default(0);
@@ -15,7 +15,7 @@ return new class extends Migration
$table->id();
$table->foreignId('projekte_id')->constrained()->cascadeOnDelete();
$table->string('name')->nullable();
$table->string('nam2')->nullable();
$table->string('name2')->nullable();
$table->boolean('ueberschrift_anzeigen')->default(0)->nullable();
$table->integer('tabellen_id')->default(0)->nullable();
$table->integer('textblock_id')->default(0)->nullable();
+30 -30
View File
@@ -12,37 +12,37 @@ class InhaltsverzeichnisSeeder extends Seeder
*/
public function run(): void
{
$sql = "INSERT INTO `inhaltsverzeichnis` (`id`, `name`, `ueberschrift_anzeigen`, `tabellen_id`, `textblock_id`, `sort`, `ordnungszahl`, `seite`, `neue_seite`, `seitenzahl_anzeige`, `created_at`, `updated_at`)
$sql = "INSERT INTO `inhaltsverzeichnis` (`id`, `name`, `name2`, `ueberschrift_anzeigen`, `tabellen_id`, `textblock_id`, `sort`, `ordnungszahl`, `seite`, `neue_seite`, `seitenzahl_anzeige`, `no_edit`, `created_at`, `updated_at`)
VALUES
('1', 'DECKBLATT', '0', '0', '11', '1', '0', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('2', 'INHALTSVERZEICHNIS', '0', '1', '0', '3', '0', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('3', 'ALLGEMEINE ANGABEN', '1', '0', '0', '4', '1', '3', '1', '1', NULL, '2025-10-19 08:13:53'),
('4', 'AUFTRAGGEBER', '1', '8', '0', '5', '1.1', '3', '0', '1', NULL, '2025-10-19 08:13:53'),
('5', 'ZWECK UND GEGENSTAND DES GUTACHTENS', '1', '0', '1', '6', '1.2', '3', '0', '1', NULL, '2025-10-19 08:13:53'),
('6', 'ORTSBESICHTIGUNG', '1', '0', '2', '7', '1.3', '3', '0', '1', NULL, '2025-10-19 08:13:53'),
('7', 'UNTERLAGEN', '1', '0', '3', '8', '1.4', '3', '0', '1', NULL, '2025-10-19 08:13:53'),
('8', 'BEFUND', '1', '0', '0', '9', '2', '4', '1', '1', NULL, '2025-10-19 08:13:53'),
('9', 'GRUNDBUCHSTAND', '1', '0', '4', '10', '2.1', '4', '0', '1', NULL, '2025-10-19 08:13:53'),
('10', 'BESCHREIBUNG DER LIEGENSCHAFT', '1', '0', '5', '11', '2.2', '4', '0', '1', NULL, '2025-10-19 08:13:53'),
('11', 'ANZAHL DER SELBSTÄNDIGEN EINHEITEN § 6 WEG 2002', '1', '0', '6', '12', '2.3', '5', '0', '1', NULL, '2025-10-19 08:13:53'),
('12', 'Tabelle § 6', '0', '3', '0', '13', '0', '5', '0', '1', NULL, '2025-10-19 08:13:53'),
('13', '§ 6 Teil 2', '1', '0', '7', '14', '2.3', '5', '0', '1', NULL, '2025-10-19 08:13:53'),
('14', 'ALLGEMEINFLÄCHEN', '1', '4', '0', '15', '0', '0', '0', '1', NULL, '2025-10-19 08:13:53'),
('15', 'GUTACHTEN', '1', '0', '0', '16', '3', '0', '1', '1', NULL, '2025-10-19 08:13:53'),
('16', 'ALLGEMEINE GRUNDSÄTZE', '1', '0', '8', '17', '3.1', '0', '0', '1', NULL, '2025-10-19 08:13:53'),
('17', 'ERMITTLUNG DER NUTZWERTE – ZUBEHÖRBEWERTUNG', '1', '0', '9', '18', '3.2', '0', '0', '1', NULL, '2025-10-19 08:13:53'),
('18', 'ZUBEHÖR', '1', '0', '10', '19', '0', '0', '0', '1', NULL, '2025-10-19 08:13:53'),
('19', 'TABELLE ZU + ABSCHLÄGE', '1', '5', '0', '20', '3.21', '0', '1', '1', NULL, '2025-10-19 08:13:53'),
('20', 'NUTZWERTBERECHNUNG', '1', '6', '0', '21', '3.3', '0', '0', '1', NULL, '2025-10-19 08:13:53'),
('21', 'ZUSAMMENSTELLUNG', '1', '7', '0', '22', '3.4', '0', '0', '1', NULL, '2025-10-19 08:13:53'),
('22', 'DIGITALE SIGNATUR', '1', '0', '0', '23', '3.41', '0', '0', '1', NULL, '2025-10-19 08:13:53'),
('23', 'ALLGEMEINFLÄCHEN', '1', '0', '0', '24', '3.5', '0', '0', '1', NULL, '2025-10-19 08:13:53'),
('24', 'PARIFIZIERUNGSPLÄNE ', '1', '0', '0', '25', '4', '0', '0', '1', NULL, '2025-10-19 08:13:53'),
('25', 'ANHANG', '1', '0', '0', '26', '5', '0', '0', '1', NULL, '2025-10-19 08:13:53'),
('26', 'GRUNDBUCHAUSZUG ', '1', '0', '0', '27', '0', '0', '0', '0', NULL, '2025-10-19 08:13:53'),
('27', 'BAUBESCHEID', '1', '0', '0', '28', '0', '0', '0', '1', NULL, '2025-10-19 08:13:53'),
('28', 'HAUSTECHNISCHE BESCHREIBUNG', '1', '0', '0', '29', '0', '0', '0', '1', NULL, '2025-10-19 08:13:53'),
('29', 'NUTZFLÄCHENERMITTLUNGEN', '1', '0', '0', '30', '0', '0', '0', '1', NULL, '2025-10-19 08:13:53');
('1', 'DECKBLATT', NULL, '0', '0', '11', '1', '0', '0', '1', '0', '0', NULL, '2025-10-19 08:13:53'),
('2', 'INHALTSVERZEICHNIS', NULL, '0', '1', '0', '3', '0', '0', '1', '0', '0', NULL, '2025-10-19 08:13:53'),
('3', 'ALLGEMEINE ANGABEN', NULL, '1', '0', '0', '4', '1', '3', '1', '1', '0', NULL, '2025-10-19 08:13:53'),
('4', 'AUFTRAGGEBER', NULL, '1', '8', '0', '5', '1.1', '3', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('5', 'ZWECK UND GEGENSTAND DES GUTACHTENS', NULL, '1', '0', '1', '6', '1.2', '3', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('6', 'ORTSBESICHTIGUNG', NULL, '1', '0', '2', '7', '1.3', '3', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('7', 'UNTERLAGEN', NULL, '1', '0', '3', '8', '1.4', '3', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('8', 'BEFUND', NULL, '1', '0', '0', '9', '2', '4', '1', '1', '0', NULL, '2025-10-19 08:13:53'),
('9', 'GRUNDBUCHSTAND', NULL, '1', '0', '4', '10', '2.1', '4', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('10', 'BESCHREIBUNG DER LIEGENSCHAFT', NULL, '1', '0', '5', '11', '2.2', '4', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('11', 'ANZAHL DER SELBSTÄNDIGEN EINHEITEN § 6 WEG 2002', NULL, '1', '0', '6', '12', '2.3', '5', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('12', 'Tabelle § 6', NULL, '0', '3', '0', '13', '0', '5', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('13', '§ 6 Teil 2', NULL, '1', '0', '7', '14', '2.3', '5', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('14', 'ALLGEMEINFLÄCHEN', NULL, '1', '4', '0', '15', '0', '0', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('15', 'GUTACHTEN', NULL, '1', '0', '0', '16', '3', '0', '1', '1', '0', NULL, '2025-10-19 08:13:53'),
('16', 'ALLGEMEINE GRUNDSÄTZE', NULL, '1', '0', '8', '17', '3.1', '0', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('17', 'ERMITTLUNG DER NUTZWERTE – ZUBEHÖRBEWERTUNG', NULL, '1', '0', '9', '18', '3.2', '0', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('18', 'ZUBEHÖR', NULL, '1', '0', '10', '19', '0', '0', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('19', 'TABELLE ZU + ABSCHLÄGE', NULL, '1', '5', '0', '20', '3.21', '0', '1', '1', '0', NULL, '2025-10-19 08:13:53'),
('20', 'NUTZWERTBERECHNUNG', NULL, '1', '6', '0', '21', '3.3', '0', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('21', 'ZUSAMMENSTELLUNG', NULL, '1', '7', '0', '22', '3.4', '0', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('22', 'DIGITALE SIGNATUR', NULL, '1', '0', '0', '23', '3.41', '0', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('23', 'ALLGEMEINFLÄCHEN', NULL, '1', '4', '0', '24', '3.5', '0', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('24', 'PARIFIZIERUNGSPLÄNE ', NULL, '1', '0', '0', '25', '4', '0', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('25', 'ANHANG', NULL, '1', '0', '0', '26', '5', '0', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('26', 'GRUNDBUCHAUSZUG ', NULL, '1', '0', '0', '27', '0', '0', '0', '0', '0', NULL, '2025-10-19 08:13:53'),
('27', 'BAUBESCHEID', NULL, '1', '0', '0', '28', '0', '0', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('28', 'HAUSTECHNISCHE BESCHREIBUNG', NULL, '1', '0', '0', '29', '0', '0', '0', '1', '0', NULL, '2025-10-19 08:13:53'),
('29', 'NUTZFLÄCHENERMITTLUNGEN', NULL, '1', '0', '0', '30', '0', '0', '0', '1', '0', NULL, '2025-10-19 08:13:53');
";
DB::unprepared($sql);
}
+145 -145
View File
@@ -50,152 +50,152 @@ class TestProjektSeeder extends Seeder
DB::unprepared($sql);
$sql = "INSERT INTO `raeumealles` (`id`, `projekte_id`, `top_nummer`, `geschoss`, `raumart`, `faktor`, `nutzwert`, `flaeche`, `created_at`, `updated_at`)
$sql = "INSERT INTO `raeumealles` (`id`, `projekte_id`, `orientierung_zu_abschlaege_id`, `top_nummer`, `geschoss`, `raumart`, `faktor`, `flaeche`, `nutzwert`, `created_at`, `updated_at`)
VALUES
('1', '1', 'APG 01', 'UG', 'Stellplatz', '0.5', NULL, '12.94', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('2', '1', 'APG 02', 'UG', 'Stellplatz', '0.5', NULL, '13.38', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('3', '1', 'APG 03', 'UG', 'Stellplatz', '0.5', NULL, '12.94', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('4', '1', 'APG 04', 'UG', 'Stellplatz', '0.5', NULL, '12.5', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('5', '1', 'APG 05', 'UG', 'Stellplatz', '0.5', NULL, '12.94', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('6', '1', 'APG 06', 'UG', 'Stellplatz+', '0.5', NULL, '14.81', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('7', '1', 'APG 07', 'UG', 'Stellplatz+', '0.5', NULL, '14.81', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('8', '1', 'APG 08', 'UG', 'Stellplatz', '0.5', NULL, '12.94', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('9', '1', 'APG 09', 'UG', 'Stellplatz', '0.5', NULL, '12.94', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('10', '1', 'APG 10', 'UG', 'Stellplatz', '0.5', NULL, '12.94', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('11', '1', 'APG 11', 'UG', 'Stellplatz+', '0.5', NULL, '14.24', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('12', '1', 'APG 12', 'UG', 'Stellplatz+', '0.5', NULL, '13.91', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('13', '1', 'APG 13', 'UG', 'Stellplatz+', '0.5', NULL, '14.78', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('14', '1', 'APG 14', 'UG', 'Stellplatz', '0.5', NULL, '13.02', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('15', '1', 'APG 15', 'UG', 'Stellplatz', '0.5', NULL, '13.02', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('16', '1', 'APG 16', 'UG', 'Stellplatz', '0.5', NULL, '13.02', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('17', '1', 'APG 17', 'UG', 'Stellplatz', '0.5', NULL, '12.59', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('18', '1', 'APG 18', 'UG', 'Stellplatz+', '0.5', NULL, '14.59', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('19', '1', 'W01', 'EG', 'Abstellraum', '0.5', NULL, '3.85', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('20', '1', 'W01', 'EG', 'Bad', '0.5', NULL, '5.92', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('21', '1', 'W01', 'EG', 'Gang', '0.5', NULL, '7.97', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('22', '1', 'W01', 'EG', 'Garten G01_1', '0.5', NULL, '147.72', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('23', '1', 'W01', 'EG', 'Garten G01_2', '0.5', NULL, '7.72', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('24', '1', 'W01', 'EG', 'Terrasse', '0.5', NULL, '18.16', '2025-10-21 04:05:43', '2025-10-21 04:06:07'),
('25', '1', 'W01', 'EG', 'WC', '0.5', NULL, '2.46', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('26', '1', 'W01', 'EG', 'Wohnen', '0.5', NULL, '25', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('27', '1', 'W01', 'EG', 'Wohnküche', '0.5', NULL, '33.94', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('28', '1', 'W01', 'EG', 'Zimmer 1', '0.5', NULL, '13.4', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('29', '1', 'W01', 'EG', 'Zimmer 2', '0.5', NULL, '10.66', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('30', '1', 'W01', 'UG', 'KA01', '0.5', NULL, '5.01', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('31', '1', 'W02', 'EG', 'Bad', '0.5', NULL, '3.86', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('32', '1', 'W02', 'EG', 'Bad', '0.5', NULL, '5.54', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('33', '1', 'W02', 'EG', 'Gang', '0.5', NULL, '10.42', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('34', '1', 'W02', 'EG', 'Garten G02', '0.5', NULL, '37.27', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('35', '1', 'W02', 'EG', 'Terrasse', '0.5', NULL, '16.25', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('36', '1', 'W02', 'EG', 'WC', '0.5', NULL, '2.13', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('37', '1', 'W02', 'EG', 'Wohnküche', '0.5', NULL, '27.43', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('38', '1', 'W02', 'EG', 'Zimmer 1', '0.5', NULL, '10.82', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('39', '1', 'W02', 'EG', 'Zimmer 2', '0.5', NULL, '11.69', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('40', '1', 'W02', 'UG', 'KA02', '0.5', NULL, '5.01', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('41', '1', 'W03', 'EG', 'Abstellraum', '0.5', NULL, '3.22', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('42', '1', 'W03', 'EG', 'Bad', '0.5', NULL, '6.51', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('43', '1', 'W03', 'EG', 'Gang', '0.5', NULL, '11.73', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('44', '1', 'W03', 'EG', 'Garten G03', '0.5', NULL, '232.99', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('45', '1', 'W03', 'EG', 'Terrasse', '0.5', NULL, '22.64', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('46', '1', 'W03', 'EG', 'WC', '0.5', NULL, '2.46', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('47', '1', 'W03', 'EG', 'Wohnküche', '0.5', NULL, '35.69', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('48', '1', 'W03', 'EG', 'Zimmer 1', '0.5', NULL, '14.7', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('49', '1', 'W03', 'EG', 'Zimmer 2', '0.5', NULL, '10.89', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('50', '1', 'W03', 'EG', 'Zimmer 3', '0.5', NULL, '11.52', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('51', '1', 'W03', 'UG', 'KA03', '0.5', NULL, '5.01', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('52', '1', 'W04', 'OG1', 'Abstellraum', '0.5', NULL, '3.09', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('53', '1', 'W04', 'OG1', 'Bad', '0.5', NULL, '5.92', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('54', '1', 'W04', 'OG1', 'Balkon', '0.5', NULL, '21.98', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('55', '1', 'W04', 'OG1', 'Gang', '0.5', NULL, '11.5', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('56', '1', 'W04', 'OG1', 'WC', '0.5', NULL, '2.46', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('57', '1', 'W04', 'OG1', 'Wohnküche', '0.5', NULL, '33.93', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('58', '1', 'W04', 'OG1', 'Zimmer 1', '0.5', NULL, '10.88', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('59', '1', 'W04', 'OG1', 'Zimmer 2', '0.5', NULL, '10.86', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('60', '1', 'W04', 'OG1', 'Zimmer 3', '0.5', NULL, '14.67', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('61', '1', 'W04', 'UG', 'KA04', '0.5', NULL, '5.01', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('62', '1', 'W05', 'OG1', 'Bad', '0.5', NULL, '7.19', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('63', '1', 'W05', 'OG1', 'Balkon', '0.5', NULL, '11.34', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('64', '1', 'W05', 'OG1', 'Wohnküche', '0.5', NULL, '27.83', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('65', '1', 'W05', 'OG1', 'Zimmer', '0.5', NULL, '13.62', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('66', '1', 'W05', 'UG', 'KA05', '0.5', NULL, '5.01', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('67', '1', 'W06', 'OG1', 'Abstellraum', '0.5', NULL, '4.11', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('68', '1', 'W06', 'OG1', 'Bad', '0.5', NULL, '5.54', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('69', '1', 'W06', 'OG1', 'Balkon', '0.5', NULL, '16.71', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('70', '1', 'W06', 'OG1', 'Gang', '0.5', NULL, '10.42', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('71', '1', 'W06', 'OG1', 'WC', '0.5', NULL, '2.13', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('72', '1', 'W06', 'OG1', 'Wohnküche', '0.5', NULL, '27.43', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('73', '1', 'W06', 'OG1', 'Zimmer 1', '0.5', NULL, '10.97', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('74', '1', 'W06', 'OG1', 'Zimmer 2', '0.5', NULL, '12.08', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('75', '1', 'W06', 'UG', 'KA06', '0.5', NULL, '5.13', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('76', '1', 'W07', 'OG1', 'Abstellraum', '0.5', NULL, '3.22', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('77', '1', 'W07', 'OG1', 'Bad', '0.5', NULL, '6.51', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('78', '1', 'W07', 'OG1', 'Balkon', '0.5', NULL, '22.46', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('79', '1', 'W07', 'OG1', 'Gang', '0.5', NULL, '11.73', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('80', '1', 'W07', 'OG1', 'WC', '0.5', NULL, '2.46', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('81', '1', 'W07', 'OG1', 'Wohnküche', '0.5', NULL, '35.68', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('82', '1', 'W07', 'OG1', 'Zimmer 1', '0.5', NULL, '14.7', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('83', '1', 'W07', 'OG1', 'Zimmer 2', '0.5', NULL, '10.89', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('84', '1', 'W07', 'OG1', 'Zimmer 3', '0.5', NULL, '11.52', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('85', '1', 'W07', 'UG', 'KA07', '0.5', NULL, '5.13', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('86', '1', 'W08', 'OG2', 'Abstellraum', '0.5', NULL, '3.09', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('87', '1', 'W08', 'OG2', 'Bad', '0.5', NULL, '5.92', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('88', '1', 'W08', 'OG2', 'Balkon', '0.5', NULL, '21.98', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('89', '1', 'W08', 'OG2', 'Gang', '0.5', NULL, '11.5', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('90', '1', 'W08', 'OG2', 'WC', '0.5', NULL, '2.46', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('91', '1', 'W08', 'OG2', 'Wohnküche', '0.5', NULL, '33.93', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('92', '1', 'W08', 'OG2', 'Zimmer 1', '0.5', NULL, '10.88', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('93', '1', 'W08', 'OG2', 'Zimmer 2', '0.5', NULL, '10.86', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('94', '1', 'W08', 'OG2', 'Zimmer 3', '0.5', NULL, '14.67', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('95', '1', 'W08', 'UG', 'KA08', '0.5', NULL, '5.13', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('96', '1', 'W09', 'OG2', 'Bad', '0.5', NULL, '7.19', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('97', '1', 'W09', 'OG2', 'Balkon', '0.5', NULL, '11.34', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('98', '1', 'W09', 'OG2', 'Wohnküche', '0.5', NULL, '27.83', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('99', '1', 'W09', 'OG2', 'Zimmer', '0.5', NULL, '13.62', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('100', '1', 'W09', 'UG', 'KA09', '0.5', NULL, '5.13', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('101', '1', 'W10', 'OG2', 'Abstellraum', '0.5', NULL, '4.11', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('102', '1', 'W10', 'OG2', 'Bad', '0.5', NULL, '5.54', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('103', '1', 'W10', 'OG2', 'Balkon', '0.5', NULL, '16.7', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('104', '1', 'W10', 'OG2', 'Gang', '0.5', NULL, '10.42', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('105', '1', 'W10', 'OG2', 'WC', '0.5', NULL, '2.13', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('106', '1', 'W10', 'OG2', 'Wohnküche', '0.5', NULL, '27.43', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('107', '1', 'W10', 'OG2', 'Zimmer 1', '0.5', NULL, '10.97', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('108', '1', 'W10', 'OG2', 'Zimmer 2', '0.5', NULL, '12.08', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('109', '1', 'W10', 'UG', 'KA10', '0.5', NULL, '5.13', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('110', '1', 'W11', 'OG2', 'Abstellraum', '0.5', NULL, '3.22', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('111', '1', 'W11', 'OG2', 'Bad', '0.5', NULL, '6.51', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('112', '1', 'W11', 'OG2', 'Balkon', '0.5', NULL, '22.46', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('113', '1', 'W11', 'OG2', 'Gang', '0.5', NULL, '11.73', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('114', '1', 'W11', 'OG2', 'WC', '0.5', NULL, '2.46', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('115', '1', 'W11', 'OG2', 'Wohnküche', '0.5', NULL, '35.68', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('116', '1', 'W11', 'OG2', 'Zimmer 1', '0.5', NULL, '14.7', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('117', '1', 'W11', 'OG2', 'Zimmer 2', '0.5', NULL, '10.89', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('118', '1', 'W11', 'OG2', 'Zimmer 3', '0.5', NULL, '11.52', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('119', '1', 'W11', 'UG', 'KA11', '0.5', NULL, '4.06', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('120', '1', 'W12', 'OG3', 'Abstellraum', '0.5', NULL, '3.09', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('121', '1', 'W12', 'OG3', 'Bad', '0.5', NULL, '5.92', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('122', '1', 'W12', 'OG3', 'Balkon', '0.5', NULL, '21.97', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('123', '1', 'W12', 'OG3', 'Gang', '0.5', NULL, '11.5', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('124', '1', 'W12', 'OG3', 'WC', '0.5', NULL, '2.46', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('125', '1', 'W12', 'OG3', 'Wohnküche', '0.5', NULL, '33.93', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('126', '1', 'W12', 'OG3', 'Zimmer 1', '0.5', NULL, '10.88', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('127', '1', 'W12', 'OG3', 'Zimmer 2', '0.5', NULL, '10.86', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('128', '1', 'W12', 'OG3', 'Zimmer 3', '0.5', NULL, '14.67', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('129', '1', 'W12', 'UG', 'KA12', '0.5', NULL, '4.06', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('130', '1', 'W13', 'OG3', 'Bad', '0.5', NULL, '7.19', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('131', '1', 'W13', 'OG3', 'Balkon', '0.5', NULL, '11.34', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('132', '1', 'W13', 'OG3', 'Wohnküche', '0.5', NULL, '27.83', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('133', '1', 'W13', 'OG3', 'Zimmer', '0.5', NULL, '13.62', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('134', '1', 'W13', 'UG', 'KA13', '0.5', NULL, '4.06', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('135', '1', 'W14', 'OG3', 'Abstellraum', '0.5', NULL, '4.11', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('136', '1', 'W14', 'OG3', 'Bad', '0.5', NULL, '5.54', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('137', '1', 'W14', 'OG3', 'Balkon', '0.5', NULL, '17.2', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('138', '1', 'W14', 'OG3', 'Gang', '0.5', NULL, '10.42', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('139', '1', 'W14', 'OG3', 'WC', '0.5', NULL, '2.13', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('140', '1', 'W14', 'OG3', 'Wohnküche', '0.5', NULL, '27.08', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('141', '1', 'W14', 'OG3', 'Zimmer 1', '0.5', NULL, '10.97', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('142', '1', 'W14', 'OG3', 'Zimmer 2', '0.5', NULL, '12.08', '2025-10-21 04:05:44', '2025-10-21 04:06:07'),
('143', '1', 'W14', 'UG', 'KA14', '0.5', NULL, '4.06', '2025-10-21 04:05:44', '2025-10-21 04:06:07');
";
('1', '1', '207', 'APG 01', 'UG', 'Stellplatz', '0.5', '12.94', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('2', '1', '208', 'APG 02', 'UG', 'Stellplatz', '0.5', '13.38', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('3', '1', '209', 'APG 03', 'UG', 'Stellplatz', '0.5', '12.94', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('4', '1', '210', 'APG 04', 'UG', 'Stellplatz', '0.5', '12.5', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('5', '1', '211', 'APG 05', 'UG', 'Stellplatz', '0.5', '12.94', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('6', '1', '212', 'APG 06', 'UG', 'Stellplatz+', '0.5', '14.81', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('7', '1', '213', 'APG 07', 'UG', 'Stellplatz+', '0.5', '14.81', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('8', '1', '214', 'APG 08', 'UG', 'Stellplatz', '0.5', '12.94', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('9', '1', '215', 'APG 09', 'UG', 'Stellplatz', '0.5', '12.94', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('10', '1', '216', 'APG 10', 'UG', 'Stellplatz', '0.5', '12.94', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('11', '1', '217', 'APG 11', 'UG', 'Stellplatz+', '0.5', '14.24', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('12', '1', '218', 'APG 12', 'UG', 'Stellplatz+', '0.5', '13.91', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('13', '1', '219', 'APG 13', 'UG', 'Stellplatz+', '0.5', '14.78', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('14', '1', '220', 'APG 14', 'UG', 'Stellplatz', '0.5', '13.02', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('15', '1', '221', 'APG 15', 'UG', 'Stellplatz', '0.5', '13.02', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('16', '1', '222', 'APG 16', 'UG', 'Stellplatz', '0.5', '13.02', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('17', '1', '223', 'APG 17', 'UG', 'Stellplatz', '0.5', '12.59', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('18', '1', '224', 'APG 18', 'UG', 'Stellplatz+', '0.5', '14.59', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('19', '1', '225', 'W01', 'EG', 'Abstellraum', '0.5', '3.85', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('20', '1', '225', 'W01', 'EG', 'Bad', '0.5', '5.92', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('21', '1', '225', 'W01', 'EG', 'Gang', '0.5', '7.97', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('22', '1', '225', 'W01', 'EG', 'Garten G01_1', '0.5', '147.72', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('23', '1', '225', 'W01', 'EG', 'Garten G01_2', '0.5', '7.72', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('24', '1', '225', 'W01', 'EG', 'Terrasse', '0.5', '18.16', NULL, '2025-10-21 04:05:43', '2025-10-23 09:36:13'),
('25', '1', '225', 'W01', 'EG', 'WC', '0.5', '2.46', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('26', '1', '225', 'W01', 'EG', 'Wohnen', '0.5', '25', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('27', '1', '225', 'W01', 'EG', 'Wohnküche', '0.5', '33.94', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('28', '1', '225', 'W01', 'EG', 'Zimmer 1', '0.5', '13.4', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('29', '1', '225', 'W01', 'EG', 'Zimmer 2', '0.5', '10.66', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('30', '1', '225', 'W01', 'UG', 'KA01', '0.5', '5.01', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('31', '1', '226', 'W02', 'EG', 'Bad', '0.5', '3.86', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('32', '1', '226', 'W02', 'EG', 'Bad', '0.5', '5.54', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('33', '1', '226', 'W02', 'EG', 'Gang', '0.5', '10.42', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('34', '1', '226', 'W02', 'EG', 'Garten G02', '0.5', '37.27', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('35', '1', '226', 'W02', 'EG', 'Terrasse', '0.5', '16.25', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('36', '1', '226', 'W02', 'EG', 'WC', '0.5', '2.13', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('37', '1', '226', 'W02', 'EG', 'Wohnküche', '0.5', '27.43', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('38', '1', '226', 'W02', 'EG', 'Zimmer 1', '0.5', '10.82', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('39', '1', '226', 'W02', 'EG', 'Zimmer 2', '0.5', '11.69', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('40', '1', '226', 'W02', 'UG', 'KA02', '0.5', '5.01', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('41', '1', '227', 'W03', 'EG', 'Abstellraum', '0.5', '3.22', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('42', '1', '227', 'W03', 'EG', 'Bad', '0.5', '6.51', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('43', '1', '227', 'W03', 'EG', 'Gang', '0.5', '11.73', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('44', '1', '227', 'W03', 'EG', 'Garten G03', '0.5', '232.99', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('45', '1', '227', 'W03', 'EG', 'Terrasse', '0.5', '22.64', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('46', '1', '227', 'W03', 'EG', 'WC', '0.5', '2.46', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('47', '1', '227', 'W03', 'EG', 'Wohnküche', '0.5', '35.69', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('48', '1', '227', 'W03', 'EG', 'Zimmer 1', '0.5', '14.7', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('49', '1', '227', 'W03', 'EG', 'Zimmer 2', '0.5', '10.89', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('50', '1', '227', 'W03', 'EG', 'Zimmer 3', '0.5', '11.52', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('51', '1', '227', 'W03', 'UG', 'KA03', '0.5', '5.01', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('52', '1', '228', 'W04', 'OG1', 'Abstellraum', '0.5', '3.09', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('53', '1', '228', 'W04', 'OG1', 'Bad', '0.5', '5.92', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('54', '1', '228', 'W04', 'OG1', 'Balkon', '0.5', '21.98', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('55', '1', '228', 'W04', 'OG1', 'Gang', '0.5', '11.5', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('56', '1', '228', 'W04', 'OG1', 'WC', '0.5', '2.46', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('57', '1', '228', 'W04', 'OG1', 'Wohnküche', '0.5', '33.93', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('58', '1', '228', 'W04', 'OG1', 'Zimmer 1', '0.5', '10.88', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('59', '1', '228', 'W04', 'OG1', 'Zimmer 2', '0.5', '10.86', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('60', '1', '228', 'W04', 'OG1', 'Zimmer 3', '0.5', '14.67', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('61', '1', '228', 'W04', 'UG', 'KA04', '0.5', '5.01', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('62', '1', '229', 'W05', 'OG1', 'Bad', '0.5', '7.19', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('63', '1', '229', 'W05', 'OG1', 'Balkon', '0.5', '11.34', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('64', '1', '229', 'W05', 'OG1', 'Wohnküche', '0.5', '27.83', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('65', '1', '229', 'W05', 'OG1', 'Zimmer', '0.5', '13.62', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('66', '1', '229', 'W05', 'UG', 'KA05', '0.5', '5.01', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('67', '1', '230', 'W06', 'OG1', 'Abstellraum', '0.5', '4.11', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('68', '1', '230', 'W06', 'OG1', 'Bad', '0.5', '5.54', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('69', '1', '230', 'W06', 'OG1', 'Balkon', '0.5', '16.71', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('70', '1', '230', 'W06', 'OG1', 'Gang', '0.5', '10.42', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('71', '1', '230', 'W06', 'OG1', 'WC', '0.5', '2.13', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('72', '1', '230', 'W06', 'OG1', 'Wohnküche', '0.5', '27.43', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('73', '1', '230', 'W06', 'OG1', 'Zimmer 1', '0.5', '10.97', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('74', '1', '230', 'W06', 'OG1', 'Zimmer 2', '0.5', '12.08', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('75', '1', '230', 'W06', 'UG', 'KA06', '0.5', '5.13', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('76', '1', '231', 'W07', 'OG1', 'Abstellraum', '0.5', '3.22', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('77', '1', '231', 'W07', 'OG1', 'Bad', '0.5', '6.51', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('78', '1', '231', 'W07', 'OG1', 'Balkon', '0.5', '22.46', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('79', '1', '231', 'W07', 'OG1', 'Gang', '0.5', '11.73', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('80', '1', '231', 'W07', 'OG1', 'WC', '0.5', '2.46', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('81', '1', '231', 'W07', 'OG1', 'Wohnküche', '0.5', '35.68', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('82', '1', '231', 'W07', 'OG1', 'Zimmer 1', '0.5', '14.7', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('83', '1', '231', 'W07', 'OG1', 'Zimmer 2', '0.5', '10.89', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('84', '1', '231', 'W07', 'OG1', 'Zimmer 3', '0.5', '11.52', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('85', '1', '231', 'W07', 'UG', 'KA07', '0.5', '5.13', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('86', '1', '232', 'W08', 'OG2', 'Abstellraum', '0.5', '3.09', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('87', '1', '232', 'W08', 'OG2', 'Bad', '0.5', '5.92', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('88', '1', '232', 'W08', 'OG2', 'Balkon', '0.5', '21.98', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('89', '1', '232', 'W08', 'OG2', 'Gang', '0.5', '11.5', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('90', '1', '232', 'W08', 'OG2', 'WC', '0.5', '2.46', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('91', '1', '232', 'W08', 'OG2', 'Wohnküche', '0.5', '33.93', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('92', '1', '232', 'W08', 'OG2', 'Zimmer 1', '0.5', '10.88', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('93', '1', '232', 'W08', 'OG2', 'Zimmer 2', '0.5', '10.86', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('94', '1', '232', 'W08', 'OG2', 'Zimmer 3', '0.5', '14.67', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('95', '1', '232', 'W08', 'UG', 'KA08', '0.5', '5.13', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('96', '1', '233', 'W09', 'OG2', 'Bad', '0.5', '7.19', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('97', '1', '233', 'W09', 'OG2', 'Balkon', '0.5', '11.34', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('98', '1', '233', 'W09', 'OG2', 'Wohnküche', '0.5', '27.83', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('99', '1', '233', 'W09', 'OG2', 'Zimmer', '0.5', '13.62', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('100', '1', '233', 'W09', 'UG', 'KA09', '0.5', '5.13', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('101', '1', '234', 'W10', 'OG2', 'Abstellraum', '0.5', '4.11', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('102', '1', '234', 'W10', 'OG2', 'Bad', '0.5', '5.54', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('103', '1', '234', 'W10', 'OG2', 'Balkon', '0.5', '16.7', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('104', '1', '234', 'W10', 'OG2', 'Gang', '0.5', '10.42', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('105', '1', '234', 'W10', 'OG2', 'WC', '0.5', '2.13', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('106', '1', '234', 'W10', 'OG2', 'Wohnküche', '0.5', '27.43', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('107', '1', '234', 'W10', 'OG2', 'Zimmer 1', '0.5', '10.97', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('108', '1', '234', 'W10', 'OG2', 'Zimmer 2', '0.5', '12.08', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('109', '1', '234', 'W10', 'UG', 'KA10', '0.5', '5.13', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('110', '1', '235', 'W11', 'OG2', 'Abstellraum', '0.5', '3.22', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('111', '1', '235', 'W11', 'OG2', 'Bad', '0.5', '6.51', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('112', '1', '235', 'W11', 'OG2', 'Balkon', '0.5', '22.46', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('113', '1', '235', 'W11', 'OG2', 'Gang', '0.5', '11.73', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('114', '1', '235', 'W11', 'OG2', 'WC', '0.5', '2.46', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('115', '1', '235', 'W11', 'OG2', 'Wohnküche', '0.5', '35.68', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('116', '1', '235', 'W11', 'OG2', 'Zimmer 1', '0.5', '14.7', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('117', '1', '235', 'W11', 'OG2', 'Zimmer 2', '0.5', '10.89', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('118', '1', '235', 'W11', 'OG2', 'Zimmer 3', '0.5', '11.52', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('119', '1', '235', 'W11', 'UG', 'KA11', '0.5', '4.06', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('120', '1', '236', 'W12', 'OG3', 'Abstellraum', '0.5', '3.09', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('121', '1', '236', 'W12', 'OG3', 'Bad', '0.5', '5.92', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('122', '1', '236', 'W12', 'OG3', 'Balkon', '0.5', '21.97', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('123', '1', '236', 'W12', 'OG3', 'Gang', '0.5', '11.5', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('124', '1', '236', 'W12', 'OG3', 'WC', '0.5', '2.46', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('125', '1', '236', 'W12', 'OG3', 'Wohnküche', '0.5', '33.93', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('126', '1', '236', 'W12', 'OG3', 'Zimmer 1', '0.5', '10.88', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('127', '1', '236', 'W12', 'OG3', 'Zimmer 2', '0.5', '10.86', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('128', '1', '236', 'W12', 'OG3', 'Zimmer 3', '0.5', '14.67', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('129', '1', '236', 'W12', 'UG', 'KA12', '0.5', '4.06', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('130', '1', '237', 'W13', 'OG3', 'Bad', '0.5', '7.19', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('131', '1', '237', 'W13', 'OG3', 'Balkon', '0.5', '11.34', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('132', '1', '237', 'W13', 'OG3', 'Wohnküche', '0.5', '27.83', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('133', '1', '237', 'W13', 'OG3', 'Zimmer', '0.5', '13.62', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('134', '1', '237', 'W13', 'UG', 'KA13', '0.5', '4.06', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('135', '1', '238', 'W14', 'OG3', 'Abstellraum', '0.5', '4.11', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('136', '1', '238', 'W14', 'OG3', 'Bad', '0.5', '5.54', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('137', '1', '238', 'W14', 'OG3', 'Balkon', '0.5', '17.2', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('138', '1', '238', 'W14', 'OG3', 'Gang', '0.5', '10.42', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('139', '1', '238', 'W14', 'OG3', 'WC', '0.5', '2.13', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('140', '1', '238', 'W14', 'OG3', 'Wohnküche', '0.5', '27.08', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('141', '1', '238', 'W14', 'OG3', 'Zimmer 1', '0.5', '10.97', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('142', '1', '238', 'W14', 'OG3', 'Zimmer 2', '0.5', '12.08', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13'),
('143', '1', '238', 'W14', 'UG', 'KA14', '0.5', '4.06', NULL, '2025-10-21 04:05:44', '2025-10-23 09:36:13');
";
DB::unprepared($sql);
-725
View File
@@ -1,725 +0,0 @@
<?php
return [
'builder' => [
'actions' => [
'clone' => [
'label' => 'Klon',
],
'add' => [
'label' => 'Hinzufügen zu :label',
'modal' => [
'heading' => 'Hinzufügen zu :label',
'actions' => [
'add' => [
'label' => 'Hinzufügen',
],
],
],
],
'add_between' => [
'label' => 'Zwischen Blöcken einfügen',
'modal' => [
'heading' => 'Hinzufügen zu :label',
'actions' => [
'add' => [
'label' => 'Hinzufügen',
],
],
],
],
'delete' => [
'label' => 'Löschen',
],
'edit' => [
'label' => 'Bearbeiten',
'modal' => [
'heading' => 'Bearbeiten Block',
'actions' => [
'save' => [
'label' => 'Änderungen speichern',
],
],
],
],
'reorder' => [
'label' => 'Bewegen',
],
'move_down' => [
'label' => 'Bewegen runter',
],
'move_up' => [
'label' => 'Bewegen hoch',
],
'collapse' => [
'label' => 'Zusammenklappen',
],
'expand' => [
'label' => 'Aufklappen',
],
'collapse_all' => [
'label' => 'Alle Zusammenklappen',
],
'expand_all' => [
'label' => 'Alle Aufklappen',
],
],
],
'checkbox_list' => [
'actions' => [
'deselect_all' => [
'label' => 'Deselect all',
],
'select_all' => [
'label' => 'Select all',
],
],
],
'file_upload' => [
'editor' => [
'actions' => [
'cancel' => [
'label' => 'Cancel',
],
'drag_crop' => [
'label' => 'Drag mode "crop"',
],
'drag_move' => [
'label' => 'Drag mode "move"',
],
'flip_horizontal' => [
'label' => 'Flip image horizontally',
],
'flip_vertical' => [
'label' => 'Flip image vertically',
],
'move_down' => [
'label' => 'Bewegen image down',
],
'move_left' => [
'label' => 'Bewegen image to left',
],
'move_right' => [
'label' => 'Bewegen image to right',
],
'move_up' => [
'label' => 'Bewegen image up',
],
'reset' => [
'label' => 'Reset',
],
'rotate_left' => [
'label' => 'Rotate image to left',
],
'rotate_right' => [
'label' => 'Rotate image to right',
],
'set_aspect_ratio' => [
'label' => 'Set aspect ratio to :ratio',
],
'save' => [
'label' => 'Save',
],
'zoom_100' => [
'label' => 'Zoom image to 100%',
],
'zoom_in' => [
'label' => 'Zoom in',
],
'zoom_out' => [
'label' => 'Zoom out',
],
],
'fields' => [
'height' => [
'label' => 'Height',
'unit' => 'px',
],
'rotation' => [
'label' => 'Rotation',
'unit' => 'deg',
],
'width' => [
'label' => 'Width',
'unit' => 'px',
],
'x_position' => [
'label' => 'X',
'unit' => 'px',
],
'y_position' => [
'label' => 'Y',
'unit' => 'px',
],
],
'aspect_ratios' => [
'label' => 'Aspect ratios',
'no_fixed' => [
'label' => 'Free',
],
],
'svg' => [
'messages' => [
'confirmation' => 'Bearbeitening SVG files is not recommended as it can result in quality loss when scaling.\n Are you sure you want to continue?',
'disabled' => 'Bearbeitening SVG files is disabled as it can result in quality loss when scaling.',
],
],
],
],
'key_value' => [
'actions' => [
'add' => [
'label' => 'Add row',
],
'delete' => [
'label' => 'Löschen row',
],
'reorder' => [
'label' => 'Reorder row',
],
],
'fields' => [
'key' => [
'label' => 'Key',
],
'value' => [
'label' => 'Value',
],
],
],
'markdown_editor' => [
'file_attachments_accepted_file_types_message' => 'Uploaded files must be of type: :values.',
'file_attachments_max_size_message' => 'Uploaded files must not be greater than :max kilobytes.',
'tools' => [
'attach_files' => 'Attach files',
'blockquote' => 'Blockquote',
'bold' => 'Bold',
'bullet_list' => 'Bullet list',
'code_block' => 'Code block',
'heading' => 'Heading',
'italic' => 'Italic',
'link' => 'Link',
'ordered_list' => 'Numbered list',
'redo' => 'Redo',
'strike' => 'Strikethrough',
'table' => 'Table',
'undo' => 'Undo',
],
],
'modal_table_select' => [
'actions' => [
'select' => [
'label' => 'Select',
'actions' => [
'select' => [
'label' => 'Select',
],
],
],
],
],
'radio' => [
'boolean' => [
'true' => 'Yes',
'false' => 'No',
],
],
'repeater' => [
'actions' => [
'add' => [
'label' => 'Hinzufügen zu :label',
],
'add_between' => [
'label' => 'Insert between',
],
'delete' => [
'label' => 'Löschen',
],
'clone' => [
'label' => 'Clone',
],
'reorder' => [
'label' => 'Bewegen',
],
'move_down' => [
'label' => 'Bewegen down',
],
'move_up' => [
'label' => 'Bewegen up',
],
'collapse' => [
'label' => 'Zusammenklappen',
],
'expand' => [
'label' => 'Aufklappen',
],
'collapse_all' => [
'label' => 'Zusammenklappen all',
],
'expand_all' => [
'label' => 'Aufklappen all',
],
],
],
'rich_editor' => [
'actions' => [
'attach_files' => [
'label' => 'Upload file',
'modal' => [
'heading' => 'Upload file',
'form' => [
'file' => [
'label' => [
'new' => 'File',
'existing' => 'Replace file',
],
],
'alt' => [
'label' => [
'new' => 'Alt text',
'existing' => 'Change alt text',
],
],
],
],
],
'custom_block' => [
'modal' => [
'actions' => [
'insert' => [
'label' => 'Insert',
],
'save' => [
'label' => 'Save',
],
],
],
],
'grid' => [
'label' => 'Grid',
'modal' => [
'heading' => 'Grid',
'form' => [
'preset' => [
'label' => 'Preset',
'placeholder' => 'None',
'options' => [
'two' => 'Two',
'three' => 'Three',
'four' => 'Four',
'five' => 'Five',
'two_start_third' => 'Two (Start Third)',
'two_end_third' => 'Two (End Third)',
'two_start_fourth' => 'Two (Start Fourth)',
'two_end_fourth' => 'Two (End Fourth)',
],
],
'columns' => [
'label' => 'Columns',
],
'from_breakpoint' => [
'label' => 'From breakpoint',
'options' => [
'default' => 'All',
'sm' => 'Small',
'md' => 'Medium',
'lg' => 'Large',
'xl' => 'Extra large',
'2xl' => 'Two extra large',
],
],
'is_asymmetric' => [
'label' => 'Two asymmetric columns',
],
'start_span' => [
'label' => 'Start span',
],
'end_span' => [
'label' => 'End span',
],
],
],
],
'link' => [
'label' => 'Link',
'modal' => [
'heading' => 'Link',
'form' => [
'url' => [
'label' => 'URL',
],
'should_open_in_new_tab' => [
'label' => 'Open in new tab',
],
],
],
],
'text_color' => [
'label' => 'Text color',
'modal' => [
'heading' => 'Text color',
'form' => [
'color' => [
'label' => 'Color',
],
'custom_color' => [
'label' => 'Custom color',
],
],
],
],
],
'file_attachments_accepted_file_types_message' => 'Uploaded files must be of type: :values.',
'file_attachments_max_size_message' => 'Uploaded files must not be greater than :max kilobytes.',
'no_merge_tag_search_results_message' => 'No merge tag results.',
'tools' => [
'align_center' => 'Align center',
'align_end' => 'Align end',
'align_justify' => 'Align justify',
'align_start' => 'Align start',
'attach_files' => 'Attach files',
'blockquote' => 'Blockquote',
'bold' => 'Bold',
'bullet_list' => 'Bullet list',
'clear_formatting' => 'Clear formatting',
'code' => 'Code',
'code_block' => 'Code block',
'custom_blocks' => 'Blocks',
'details' => 'Details',
'h1' => 'Title',
'h2' => 'Heading',
'h3' => 'Subheading',
'grid' => 'Grid',
'grid_delete' => 'Löschen grid',
'highlight' => 'Highlight',
'horizontal_rule' => 'Horizontal rule',
'italic' => 'Italic',
'lead' => 'Lead text',
'link' => 'Link',
'merge_tags' => 'Merge tags',
'ordered_list' => 'Numbered list',
'redo' => 'Redo',
'small' => 'Small text',
'strike' => 'Strikethrough',
'subscript' => 'Subscript',
'superscript' => 'Superscript',
'table' => 'Table',
'table_delete' => 'Löschen table',
'table_add_column_before' => 'Add column before',
'table_add_column_after' => 'Add column after',
'table_delete_column' => 'Löschen column',
'table_add_row_before' => 'Add row above',
'table_add_row_after' => 'Add row below',
'table_delete_row' => 'Löschen row',
'table_merge_cells' => 'Merge cells',
'table_split_cell' => 'Split cell',
'table_toggle_header_row' => 'Toggle header row',
'text_color' => 'Text color',
'underline' => 'Underline',
'undo' => 'Undo',
],
'uploading_file_message' => 'Uploading file...',
],
'select' => [
'actions' => [
'create_option' => [
'label' => 'Create',
'modal' => [
'heading' => 'Create',
'actions' => [
'create' => [
'label' => 'Create',
],
'create_another' => [
'label' => 'Create & create another',
],
],
],
],
'edit_option' => [
'label' => 'Bearbeiten',
'modal' => [
'heading' => 'Bearbeiten',
'actions' => [
'save' => [
'label' => 'Save',
],
],
],
],
],
'boolean' => [
'true' => 'Yes',
'false' => 'No',
],
'loading_message' => 'Loading...',
'max_items_message' => 'Only :count can be selected.',
'no_search_results_message' => 'No options match your search.',
'placeholder' => 'Wählen Sie eine Option aus',
'searching_message' => 'Searching...',
'search_prompt' => 'Start typing to search...',
],
'tags_input' => [
'placeholder' => 'New tag',
],
'text_input' => [
'actions' => [
'copy' => [
'label' => 'Copy',
'message' => 'Copied',
],
'hide_password' => [
'label' => 'Hide password',
],
'show_password' => [
'label' => 'Show password',
],
],
],
'toggle_buttons' => [
'boolean' => [
'true' => 'Yes',
'false' => 'No',
],
],
];
-265
View File
@@ -1,265 +0,0 @@
<?php
return [
'column_manager' => [
'heading' => 'Columns',
'actions' => [
'apply' => [
'label' => 'Apply columns',
],
'reset' => [
'label' => 'Reset',
],
],
],
'columns' => [
'actions' => [
'label' => 'Action|Actions',
],
'select' => [
'loading_message' => 'Loading...',
'no_search_results_message' => 'No options match your search.',
'placeholder' => 'Wählen Sie eine Option aus',
'searching_message' => 'Searching...',
'search_prompt' => 'Start typing to search...',
],
'text' => [
'actions' => [
'collapse_list' => 'Show :count less',
'expand_list' => 'Show :count more',
],
'more_list_items' => 'and :count more',
],
],
'fields' => [
'bulk_select_page' => [
'label' => 'Select/deselect all items for bulk actions.',
],
'bulk_select_record' => [
'label' => 'Select/deselect item :key for bulk actions.',
],
'bulk_select_group' => [
'label' => 'Select/deselect group :title for bulk actions.',
],
'search' => [
'label' => 'Search',
'placeholder' => 'Search',
'indicator' => 'Search',
],
],
'summary' => [
'heading' => 'Summary',
'subheadings' => [
'all' => 'All :label',
'group' => ':group summary',
'page' => 'This page',
],
'summarizers' => [
'average' => [
'label' => 'Average',
],
'count' => [
'label' => 'Count',
],
'sum' => [
'label' => 'Sum',
],
],
],
'actions' => [
'disable_reordering' => [
'label' => 'Finish reordering records',
],
'enable_reordering' => [
'label' => 'Reorder records',
],
'filter' => [
'label' => 'Filter',
],
'group' => [
'label' => 'Group',
],
'open_bulk_actions' => [
'label' => 'Bulk actions',
],
'column_manager' => [
'label' => 'Column manager',
],
],
'empty' => [
'heading' => 'No :model',
'description' => 'Create a :model to get started.',
],
'filters' => [
'actions' => [
'apply' => [
'label' => 'Apply filters',
],
'remove' => [
'label' => 'Remove filter',
],
'remove_all' => [
'label' => 'Remove all filters',
'tooltip' => 'Remove all filters',
],
'reset' => [
'label' => 'Reset',
],
],
'heading' => 'Filters',
'indicator' => 'Active filters',
'multi_select' => [
'placeholder' => 'All',
],
'select' => [
'placeholder' => 'All',
'relationship' => [
'empty_option_label' => 'None',
],
],
'trashed' => [
'label' => 'Deleted records',
'only_trashed' => 'Only deleted records',
'with_trashed' => 'With deleted records',
'without_trashed' => 'Without deleted records',
],
],
'grouping' => [
'fields' => [
'group' => [
'label' => 'Group by',
],
'direction' => [
'label' => 'Group direction',
'options' => [
'asc' => 'Ascending',
'desc' => 'Descending',
],
],
],
],
'reorder_indicator' => 'Drag and drop the records into order.',
'selection_indicator' => [
'selected_count' => '1 record selected|:count records selected',
'actions' => [
'select_all' => [
'label' => 'Select all :count',
],
'deselect_all' => [
'label' => 'Deselect all',
],
],
],
'sorting' => [
'fields' => [
'column' => [
'label' => 'Sort by',
],
'direction' => [
'label' => 'Sort direction',
'options' => [
'asc' => 'Ascending',
'desc' => 'Descending',
],
],
],
],
'default_model_label' => 'record',
];
+4 -1
View File
@@ -6,7 +6,6 @@ table,
font-weight: 100;
line-height: 18px;
margin: 0;
padding: 2px;
}
/** POSITION FIXED */
@@ -162,6 +161,10 @@ p {
GUTACHTEN TABELLEN
*/
table {
margin-top: 20mm;
}
.table-striped tr:nth-child(2n-1) td {
background-color: #f3f4f6;
}