diff --git a/app/Actions/Create/CreateProjektMethoden.php b/app/Actions/Create/CreateProjektMethoden.php
index 39fc072..1dc032f 100644
--- a/app/Actions/Create/CreateProjektMethoden.php
+++ b/app/Actions/Create/CreateProjektMethoden.php
@@ -9,13 +9,21 @@ class CreateProjektMethoden
{
public function create($record)
{
- ProjektMethode::where('projekte_id', $record->id)->delete();
- $projekt_raeumealles = ProjektObjekteImDetail::where('projekte_id', $record->id)->get();
- foreach ($projekt_raeumealles as $raeumealle) {
+
+ $objekte_im_detail = ProjektObjekteImDetail::where('projekte_id', $record->id)->get();
+
+ $arr = [];
+ foreach ($objekte_im_detail as $row) {
+
+ $arr[] = $row->raumart;
+
ProjektMethode::firstOrCreate([
'projekte_id' => $record->id,
- 'raumart' => $raeumealle->raumart,
+ 'raumart' => $row->raumart,
]);
}
+
+ ProjektMethode::where('projekte_id', $record->id)->whereNotIn('raumart', $arr)->delete();
+
}
}
diff --git a/app/Actions/Generate/Gutachten/Inhalt.php b/app/Actions/Generate/Gutachten/Inhalt.php
index bdd5f48..b21582f 100644
--- a/app/Actions/Generate/Gutachten/Inhalt.php
+++ b/app/Actions/Generate/Gutachten/Inhalt.php
@@ -10,8 +10,7 @@ class Inhalt
{
public static function create($projekte_id)
{
- $html = '
';
- $html .= '';
+ $html = '';
$inhalte = ProjektInhaltsverzeichnis::where('projekte_id', $projekte_id)->orderBy('sort')->get();
foreach ($inhalte as $inhalt) {
if ($inhalt->ueberschrift_anzeigen) {
diff --git a/app/Actions/Generate/Gutachten/Ueberschrift.php b/app/Actions/Generate/Gutachten/Ueberschrift.php
index c4fe26c..5201ee0 100644
--- a/app/Actions/Generate/Gutachten/Ueberschrift.php
+++ b/app/Actions/Generate/Gutachten/Ueberschrift.php
@@ -16,5 +16,6 @@ class Ueberschrift
}
}
+ return false;
}
}
diff --git a/app/Actions/Generate/MakeGutachten.php b/app/Actions/Generate/MakeGutachten.php
index 7b6b411..4bdcf32 100644
--- a/app/Actions/Generate/MakeGutachten.php
+++ b/app/Actions/Generate/MakeGutachten.php
@@ -71,13 +71,13 @@ class MakeGutachten
$textblock = Format::fix_str($textblock);
}
- if ($inhalt->name == 'DECKBLATT') {
- $html = Deckblatt::create($textblock);
- } elseif ($inhalt->name == 'INHALTSVERZEICHNIS') {
- $html = Inhalt::create($projekte_id);
- } else {
+ $html = Ueberschrift::create($inhalt);
- $html = Ueberschrift::create($inhalt);
+ if ($inhalt->name == 'DECKBLATT') {
+ $html .= Deckblatt::create($textblock);
+ } elseif ($inhalt->name == 'INHALTSVERZEICHNIS') {
+ $html .= Inhalt::create($projekte_id);
+ } else {
if ($inhalt->textblock) {
$html .= $textblock;
diff --git a/app/Actions/Generate/MakeNutzwerte.php b/app/Actions/Generate/MakeNutzwerte.php
index ad236b7..e3008bb 100644
--- a/app/Actions/Generate/MakeNutzwerte.php
+++ b/app/Actions/Generate/MakeNutzwerte.php
@@ -70,25 +70,25 @@ class MakeNutzwerte
$mpdf->AddPage();
}
- $html = Ueberschrift::create($inhalt);
-
if ($inhalt->textblock) {
- $html .= Platzhalter::replace($platzhalter, $inhalt->textblock);
+ $textblock = Platzhalter::replace($platzhalter, $inhalt->textblock);
+ $textblock = Format::fix_str($textblock);
}
+ $html = Ueberschrift::create($inhalt);
+
switch ($inhalt->tabellen_id) {
case '5':
$html .= ZuUndAbschlaege::load($projekte_id);
break;
}
- }
-
- if ($inhalt->seitenzahl_anzeige == 1) {
- $mpdf->SetHTMLFooter('Seite {PAGENO}
');
- }
- if ($html) {
- $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
+ if ($inhalt->seitenzahl_anzeige) {
+ $mpdf->SetHTMLFooter('Seite {PAGENO}
');
+ }
+ if ($html != '') {
+ $mpdf->WriteHTML($html, HTMLParserMode::HTML_BODY);
+ }
}
// foreach ($inhalte as $inhalt) {
diff --git a/app/Actions/Generate/Nutzwerte/ZuUndAbschlaege.php b/app/Actions/Generate/Nutzwerte/ZuUndAbschlaege.php
index c0a47a1..f8b9c70 100644
--- a/app/Actions/Generate/Nutzwerte/ZuUndAbschlaege.php
+++ b/app/Actions/Generate/Nutzwerte/ZuUndAbschlaege.php
@@ -2,72 +2,70 @@
namespace App\Actions\Generate\Nutzwerte;
+use App\Actions\Generate\Utilities\Format;
+use App\Actions\Generate\Utilities\Html;
use App\Models\Merkmale;
use App\Models\ProjektObjekte;
-use App\Models\Raumalles;
-use App\Models\Raumorientierung;
-use App\Utilities\Format;
-use App\Utilities\Html;
class ZuUndAbschlaege
{
public static function load(int $projekte_id)
{
- $orientierungen = ProjektObjekte::select()
+ $objekte = ProjektObjekte::select()
->with('orientierung')
+ ->with('projektobjekteimdetail')
->where('projekte_id', $projekte_id)
->where('nicht_in_orientierung', 0)
->get();
- foreach ($orientierungen as $orientierung) {
- dd($orientierung);
- }
+ $header_row = ['Top Nummer', 'Geschoß', 'Typ', 'Nutzfläche', 'Loggia / sonst. Zusatzflächen', 'Gesamtnutzfläche'];
- // $total = Invoice::where('status', 'Completed')->sum('amount');
+ $merkmale = Merkmale::where('projekte_id', $projekte_id)->pluck('name', 'code');
- $header_row = ['Top', 'Geschoß', 'Typ', 'Nutzfläche', 'Loggia / sonst. Zusatzflächen', 'Gesamtnutzfläche'];
- $merkmale = Merkmale::merkmale($projekte_id);
- $markmale_col = [];
- foreach ($merkmale as $value) {
- $markmale_col[] = $value['col'];
- $header_row[] = $value['name'];
+ $markmale_codes = [];
+ foreach ($merkmale as $key => $value) {
+ $markmale_codes[] = $key;
+ $header_row[] = $value;
}
$header_row[] = 'Summe Merkmale';
$header_row[] = 'Wohnungsbewertung';
- $html = Html::table_header_90($header_row);
- $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'];
- }
+ $html = '';
+ $html .= Html::table_header_90($header_row);
- $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 .= '';
- $html .= Html::td($value->top_nr, 'left bl br bb');
- $html .= Html::td($geschoss[$value['id']], 'center br bb');
- $html .= Html::td($value->type, 'wp20 br bb');
- // Nutzfläache
- $html .= Html::td(Format::numeric($value->qm_m1, 2), 'right br bb');
- // Loggia
- $loggia = Raumalles::loggia($id);
- $gesnutzfl = $loggia + $value->qm_m1;
- $loggia = $loggia != 0 ? $loggia : '';
- $html .= Html::td($loggia, 'right br bb');
- // Gesammtnutzfläche = Nutzfläache + Loggia
- $html .= Html::td(Format::numeric($gesnutzfl, 2), 'right br bb');
- foreach ($markmale_col as $col) {
- $tmp = (float) $value[$col] != 0 ? $value[$col] : '';
- $html .= Html::td(Format::numeric($tmp, 2), 'right br bb');
+ foreach ($objekte as $objekt) {
+
+ // dd($objekt);
+
+ $flaeche = 0;
+ foreach ($objekt->projektobjekteimdetail as $key => $value) {
+ $geschoss = $value['geschoss'];
+ $flaeche += $value['flaeche'];
}
- $html .= Html::td(Format::numeric($value->summe_az, 2), 'right br bb');
- $html .= Html::td(Format::numeric($value->bewertung, 2), 'right br bb');
+
+ $html .= '
';
+ $html .= Html::td($objekt->top_nummer, 'left bl br bb');
+ $html .= Html::td($geschoss, 'center br bb');
+ $html .= Html::td($objekt->type, 'wp20 br bb');
+ // Nutzfläache
+ $html .= Html::td(Format::dezimal($flaeche, 2), 'right br bb');
+ // Loggia
+ // $loggia = Raumalles::loggia($id);
+ // $gesnutzfl = $loggia + $objekt->qm_m1;
+ // $loggia = $loggia != 0 ? $loggia : '';
+ // $html .= Html::td($loggia, 'right br bb');
+ // // Gesammtnutzfläche = Nutzfläache + Loggia
+ // $html .= Html::td(Format::numeric($gesnutzfl, 2), 'right br bb');
+ // foreach ($markmale_codes as $code) {
+ // $tmp = (float) $objekt[$code] != 0 ? $objekt[$code] : '';
+ // $html .= Html::td(Format::numeric($tmp, 2), 'right br bb');
+ // }
+ // $html .= Html::td(Format::numeric($objekt->summe_az, 2), 'right br bb');
+ // $html .= Html::td(Format::numeric($objekt->bewertung, 2), 'right br bb');
$html .= '
';
}
+ $html .= '
';
return $html;
}
diff --git a/app/Actions/Generate/Utilities/Html.php b/app/Actions/Generate/Utilities/Html.php
index f6d4bb8..6dcd662 100644
--- a/app/Actions/Generate/Utilities/Html.php
+++ b/app/Actions/Generate/Utilities/Html.php
@@ -6,32 +6,16 @@ class Html
{
public static function table_header_90($_row)
{
- $html = '';
+ $html = '';
$mm = 190 / \count($_row);
foreach ($_row as $value) {
- $html .= '| '.$value.' | ';
+ $html .= ''.$value.' | ';
}
$html .= '
';
return $html;
}
- public static function make_table($str)
- {
- $array = explode('
', $str);
- $html = '';
- foreach ($array as $value) {
- $tmp = explode('|', $value);
- $html .= '';
- $html .= self::td($tmp[0], 'br bb');
- $html .= self::td($tmp[1], 'br bb');
- $html .= '
';
- }
- $html .= '
';
-
- return $html;
- }
-
public static function td($value = '', $classname = '', $colspan = 0)
{
$cls = $classname != '' ? ' class="'.$classname.'"' : '';
diff --git a/app/Filament/Resources/Projektes/Pages/EditProjekte.php b/app/Filament/Resources/Projektes/Pages/EditProjekte.php
index d246c2a..d0a4634 100644
--- a/app/Filament/Resources/Projektes/Pages/EditProjekte.php
+++ b/app/Filament/Resources/Projektes/Pages/EditProjekte.php
@@ -155,7 +155,7 @@ class EditProjekte extends EditRecord
ActionGroup::make([
Action::make('make_gutachten')
->hidden(fn ($record): bool => (! $record->bezahlt_am || $record->pdf_gutachten_status || ! $record->evaluation_gutachten) ? true : false)
- ->label('Gutachten berechnen')
+ ->label('Standard Texte')
->icon('phosphor-calculator')
->url(fn ($record) => route('standard.download', ['record' => $record, 'mode' => 'new']))
->openUrlInNewTab(),
@@ -164,7 +164,7 @@ class EditProjekte extends EditRecord
*/
Action::make('make_nutzwerte')
->hidden(fn ($record): bool => (! $record->bezahlt_am || $record->pdf_nutzwerte_status || ! $record->evaluation_gutachten) ? true : false)
- ->label('Nutzwerte berechnen')
+ ->label('Nutzwerte')
->icon('phosphor-calculator')
->url(fn ($record) => route('nutzwerte.download', ['record' => $record, 'mode' => 'new']))
->openUrlInNewTab(),
diff --git a/app/Filament/Resources/Projektes/RelationManagers/ProjektInhaltsverzeichnisRelationManager.php b/app/Filament/Resources/Projektes/RelationManagers/ProjektInhaltsverzeichnisRelationManager.php
index 5906d75..4b59b4c 100644
--- a/app/Filament/Resources/Projektes/RelationManagers/ProjektInhaltsverzeichnisRelationManager.php
+++ b/app/Filament/Resources/Projektes/RelationManagers/ProjektInhaltsverzeichnisRelationManager.php
@@ -30,6 +30,7 @@ use Filament\Support\Icons\Heroicon;
use Filament\Tables\Columns\IconColumn;
use Filament\Tables\Columns\TextColumn;
use Filament\Tables\Table;
+use Illuminate\Support\HtmlString;
class ProjektInhaltsverzeichnisRelationManager extends RelationManager
{
@@ -50,7 +51,7 @@ class ProjektInhaltsverzeichnisRelationManager extends RelationManager
Tabs::make('Tabs')
->tabs([
Tab::make('Überschrift')
- ->hidden(fn ($record) => $record->name == 'DECKBLATT' ? true : false)
+ ->hidden(fn ($record) => $record?->name == 'DECKBLATT' ? true : false)
->schema([
Checkbox::make('neue_seite')
->label('Start neuer Seite'),
@@ -86,13 +87,15 @@ class ProjektInhaltsverzeichnisRelationManager extends RelationManager
->columnSpan(1),
]),
Tab::make('Textblock')
+ ->hidden(fn ($record) => in_array($record?->name, ['INHALTSVERZEICHNIS']) ? true : false)
->schema([
Grid::make()
->columns(6)
->schema([
TextInput::make('konto_textblock_id')->hidden(),
RichEditor::make('textblock')
- ->aboveLabel('Ausgabe Textblock vor Tabelle')
+ ->hiddenLabel()
+ ->aboveLabel(fn ($record): string => $record?->tabellen_id != 0 ? 'Ausgabe Textblock vor Tabelle' : '')
->columnSpan(5)
->extraInputAttributes(['style' => 'min-height: 20rem; max-height: 50vh; overflow-y: auto;'])
->toolbarButtons([
@@ -124,11 +127,11 @@ class ProjektInhaltsverzeichnisRelationManager extends RelationManager
TextInput::make('name')->required()
->label('Ändern sie gegebeben Falls den Namen')
->default(function ($record) {
- return KontoTextblock::where('id', $record['konto_textblock_id'])->pluck('name')->first();
+ return KontoTextblock::where('id', $record?->konto_textblock_id)->pluck('name')->first();
}),
])
->hidden(function ($record) {
- return (bool) ! $record['konto_textblock_id'];
+ return (bool) ! $record?->konto_textblock_id;
})
->action(function (array $mountedActions, array $data) {
$record = $mountedActions[0]->getRawData();
@@ -144,7 +147,7 @@ class ProjektInhaltsverzeichnisRelationManager extends RelationManager
TextInput::make('name')->required()
->label('Geben sie der Vorlage einen eindeutigen Namen')
->default(function ($record) {
- return $record['name'];
+ return $record?->name;
}),
])
->modalSubmitActionLabel('Sichern')
@@ -185,12 +188,12 @@ class ProjektInhaltsverzeichnisRelationManager extends RelationManager
]),
]),
Tab::make('Tabellen')
+ ->hidden(fn ($record) => in_array($record?->name, ['DECKBLATT']) ? true : false)
->schema([
Select::make('tabellen_id')->label('Tabelle')
- ->aboveLabel('Ausgabe Textblock vor Tabelle')
->prefixIcon('phosphor-table')
->prefixIconColor(
- fn ($record): string => $record->tabellen_id == 0 ? 'gray' : 'primary'
+ fn ($record): string => $record?->tabellen_id == 0 ? 'gray' : 'primary'
)
->default(0)
->options(function () {
@@ -250,6 +253,7 @@ class ProjektInhaltsverzeichnisRelationManager extends RelationManager
IconColumn::make('textblock')
->alignCenter()
->icon('phosphor-article')
+ ->tooltip(fn ($record): HtmlString => new HtmlString($record->textblock))
->color(fn (string $state): string => match ($state) {
'0' => 'gray',
default => 'info',
diff --git a/app/Filament/Resources/Projektes/RelationManagers/ProjektMethodesRelationManager.php b/app/Filament/Resources/Projektes/RelationManagers/ProjektMethodesRelationManager.php
index d411a36..127b653 100644
--- a/app/Filament/Resources/Projektes/RelationManagers/ProjektMethodesRelationManager.php
+++ b/app/Filament/Resources/Projektes/RelationManagers/ProjektMethodesRelationManager.php
@@ -10,6 +10,7 @@ use Filament\Actions\BulkAction;
use Filament\Actions\BulkActionGroup;
use Filament\Forms\Components\Select;
use Filament\Forms\Components\TextInput;
+use Filament\Notifications\Notification;
use Filament\Resources\RelationManagers\RelationManager;
use Filament\Tables\Columns\SelectColumn;
use Filament\Tables\Columns\TextColumn;
@@ -19,6 +20,7 @@ use Filament\Tables\Filters\TernaryFilter;
use Filament\Tables\Table;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Collection;
+use Illuminate\Support\HtmlString;
use Livewire\Component;
class ProjektMethodesRelationManager extends RelationManager
@@ -90,11 +92,26 @@ class ProjektMethodesRelationManager extends RelationManager
->action(fn (CreateProjektMethoden $createProjektMethoden) => $createProjektMethoden->create($this->ownerRecord))
->requiresConfirmation()
->modalHeading('Raum Methoden erstellen')
- ->modalDescription('Alle bestehenden Daten in dieser Tabelle werden vorher gelöscht.')
+ ->modalDescription(new HtmlString('Daten werden aus der Tabelle "Objekte im Detail" generiert. Änderungen werden übernommen nicht mehr verwendete Objekte gelöscht.
Um die Tabelle neu zu generieren bitte die Tabelle vorher leeren.'))
->modalSubmitActionLabel('Generieren')
->label('Generieren')
- ->tooltip('Daten werden aus "Räume Alle" Tabelle gefiltert.')
+ ->tooltip('Daten werden aus der Tabelle "Objekte im Detail" generiert.')
->icon('heroicon-o-cog-8-tooth')
+ ->extraModalFooterActions([
+ Action::make('delete')
+ ->label('Leeren')
+ ->color('danger')
+ ->requiresConfirmation()
+ ->action(function () {
+
+ ProjektMethode::where('projekte_id', $this->ownerRecord->id)->delete();
+
+ Notification::make()
+ ->title('Tabelle "Raum Methode" wurde geleert')
+ ->success()
+ ->send();
+ }),
+ ])
->after(function (Component $livewire) {
$livewire->dispatch('refreshMethods');
}),
diff --git a/app/Filament/Resources/Projektes/RelationManagers/ProjektObjekteImDetailRelationManager.php b/app/Filament/Resources/Projektes/RelationManagers/ProjektObjekteImDetailRelationManager.php
index 324572b..1b379a9 100644
--- a/app/Filament/Resources/Projektes/RelationManagers/ProjektObjekteImDetailRelationManager.php
+++ b/app/Filament/Resources/Projektes/RelationManagers/ProjektObjekteImDetailRelationManager.php
@@ -44,13 +44,17 @@ class ProjektObjekteImDetailRelationManager extends RelationManager
Select::make('projekt_objekte_id')
->relationship('top_nummer', 'top_nummer', fn (Builder $query) => $query->where('projekte_id', $this->getOwnerRecord()->id))
->required()
- ->searchable(),
- TextInput::make('geschoss')
- ->required()
- ->maxLength(255),
+ ->searchable()
+ ->columnSpan(3),
TextInput::make('raumart')
->required()
- ->maxLength(255),
+ ->maxLength(255)
+ ->columnSpan(3),
+ TextInput::make('geschoss')
+ ->required()
+ ->maxLength(255)
+ ->suffixIcon('phosphor-building')
+ ->columnSpan(2),
TextInput::make('flaeche')
->suffix(new HtmlString(' m²'))
->rules(['required', 'flaeche' => 'decimal:2'])
@@ -61,7 +65,8 @@ class ProjektObjekteImDetailRelationManager extends RelationManager
])
->afterStateUpdated(function (Component $livewire) {
$livewire->dispatch('refreshProjektAllgemeinflaechen');
- }),
+ })
+ ->columnSpan(2),
TextInput::make('faktor')
->suffixIcon('phosphor-function')
->rules(['required', 'faktor' => 'decimal:0,2'])
@@ -70,8 +75,9 @@ class ProjektObjekteImDetailRelationManager extends RelationManager
})->validationMessages([
'required' => 'Die Eingabe eines Faktors ist erforderlich.',
'decimal' => 'Für den Faktors sind zwei Dezimalstellen erforderlich.',
- ]),
- ]);
+ ])
+ ->columnSpan(2),
+ ])->columns(6);
}
public function table(Table $table): Table
diff --git a/app/Filament/Resources/Projektes/RelationManagers/ProjektObjekteRelationManager.php b/app/Filament/Resources/Projektes/RelationManagers/ProjektObjekteRelationManager.php
index 7219c98..8930215 100644
--- a/app/Filament/Resources/Projektes/RelationManagers/ProjektObjekteRelationManager.php
+++ b/app/Filament/Resources/Projektes/RelationManagers/ProjektObjekteRelationManager.php
@@ -2,34 +2,34 @@
namespace App\Filament\Resources\Projektes\RelationManagers;
-use Livewire\Component;
+use App\Actions\Create\CreateProjektObjekte;
use App\Models\Merkmale;
-use Filament\Tables\Table;
use App\Models\Orientierung;
-use Filament\Actions\Action;
-use Filament\Schemas\Schema;
use App\Models\ProjektObjekte;
+use Filament\Actions\Action;
use Filament\Actions\BulkAction;
-use Filament\Actions\EditAction;
-use Filament\Support\Enums\Width;
+use Filament\Actions\BulkActionGroup;
use Filament\Actions\CreateAction;
use Filament\Actions\DeleteAction;
-use Illuminate\Support\HtmlString;
+use Filament\Actions\EditAction;
use Filament\Forms\Components\Radio;
-use Filament\Actions\BulkActionGroup;
use Filament\Forms\Components\Select;
-use Illuminate\Support\Facades\Blade;
-use Filament\Support\Enums\FontWeight;
-use Filament\Tables\Columns\TextColumn;
use Filament\Forms\Components\TextInput;
-use Filament\Tables\Columns\SelectColumn;
-use Filament\Tables\Filters\TernaryFilter;
-use Filament\Tables\Columns\CheckboxColumn;
-use App\Actions\Create\CreateProjektObjekte;
-use Filament\Tables\Columns\Summarizers\Sum;
-use Filament\Tables\Columns\TextInputColumn;
-use Illuminate\Database\Eloquent\Collection;
use Filament\Resources\RelationManagers\RelationManager;
+use Filament\Schemas\Schema;
+use Filament\Support\Enums\FontWeight;
+use Filament\Support\Enums\Width;
+use Filament\Tables\Columns\CheckboxColumn;
+use Filament\Tables\Columns\SelectColumn;
+use Filament\Tables\Columns\Summarizers\Sum;
+use Filament\Tables\Columns\TextColumn;
+use Filament\Tables\Columns\TextInputColumn;
+use Filament\Tables\Filters\TernaryFilter;
+use Filament\Tables\Table;
+use Illuminate\Database\Eloquent\Collection;
+use Illuminate\Support\Facades\Blade;
+use Illuminate\Support\HtmlString;
+use Livewire\Component;
class ProjektObjekteRelationManager extends RelationManager
{
@@ -48,9 +48,10 @@ class ProjektObjekteRelationManager extends RelationManager
return $schema
->components([
TextInput::make('top_nummer')
+ ->label('Top Nummer')
->required()
->maxLength(255),
- ]);
+ ])->columns(1);
}
public function table(Table $table): Table
@@ -62,7 +63,7 @@ class ProjektObjekteRelationManager extends RelationManager
// ->striped()
->emptyStateDescription('Schalten Sie das Projekt frei und importieren Sie die Daten der Objekte.')
->recordTitleAttribute('top_nummer')
- ->description(new HtmlString('Orientierungen, Zu- und Abschläge, '. Blade::render(''). ' Nicht in Orientierung'))
+ ->description(new HtmlString('Orientierungen, Zu- und Abschläge, '.Blade::render('').' Nicht in Orientierung'))
->columns([
TextColumn::make('top_nummer')
->alignCenter()
@@ -248,6 +249,8 @@ class ProjektObjekteRelationManager extends RelationManager
])
->headerActions([
CreateAction::make()
+ ->modalHeading('Objekt erstellen')
+ ->modalDescription('Die dazugehörigen Räume werde in "Objekte im Detail" erstellt.')
->icon('phosphor-file-plus')
->createAnother(false),
Action::make('merkmale')
@@ -268,7 +271,7 @@ class ProjektObjekteRelationManager extends RelationManager
// ->modalDescription('Alle bestehenden Daten in dieser Tabelle werden vorher gelöscht.')
// ->modalSubmitActionLabel('Generieren')
// ->label('Generieren')
- // ->tooltip('Daten werden aus "Räume Alle" gefiltert.')
+ // ->tooltip('Daten werden aus "Objekte im Detail" gefiltert.')
// ->icon('heroicon-o-cog-8-tooth')
// ->after(function (Component $livewire) {
// $livewire->dispatch('refreshOrientierung');
diff --git a/app/Filament/Resources/Projektes/Widgets/WidgetMethoden.php b/app/Filament/Resources/Projektes/Widgets/WidgetMethoden.php
index 9e883ab..e3f426e 100644
--- a/app/Filament/Resources/Projektes/Widgets/WidgetMethoden.php
+++ b/app/Filament/Resources/Projektes/Widgets/WidgetMethoden.php
@@ -18,6 +18,7 @@ class WidgetMethoden extends TableWidget
->query(fn (): Builder => Methode::query())
->paginated(false)
->columns([
+ TextColumn::make('id')->label(''),
TextColumn::make('name')
->label('')
->weight(FontWeight::Bold)
diff --git a/app/Models/Inhaltsverzeichnis.php b/app/Models/Inhaltsverzeichnis.php
index 5b564e9..ec63c69 100644
--- a/app/Models/Inhaltsverzeichnis.php
+++ b/app/Models/Inhaltsverzeichnis.php
@@ -18,6 +18,19 @@ class Inhaltsverzeichnis extends Model
'seitenzahl_anzeige',
];
+ /**
+ * Get the attributes that should be cast.
+ *
+ * @return array
+ */
+ protected function casts(): array
+ {
+ return [
+ 'ueberschrift_anzeigen' => 'boolean',
+ 'seitenzahl_anzeige' => 'boolean',
+ ];
+ }
+
public function textblock()
{
return $this->hasMany(Textblock::class, 'id', 'textblock_id');
diff --git a/app/Models/Merkmale.php b/app/Models/Merkmale.php
index 426f7aa..1bc296e 100644
--- a/app/Models/Merkmale.php
+++ b/app/Models/Merkmale.php
@@ -12,11 +12,6 @@ class Merkmale extends Model
'name',
];
- public static function map($projekte_id)
- {
- return static::getModel()::where('projekte_id', $projekte_id)->pluck('name', 'code')->toArray();
- }
-
public static function getfreecode($projekte_id)
{
diff --git a/app/Models/ProjektObjekte.php b/app/Models/ProjektObjekte.php
index a97e06a..652a1a7 100644
--- a/app/Models/ProjektObjekte.php
+++ b/app/Models/ProjektObjekte.php
@@ -59,7 +59,7 @@ class ProjektObjekte extends Model
return $this->hasOne(Orientierung::class, 'id', 'orientierung_id');
}
- public function ProjektObjekteImDetail(): HasMany
+ public function projektobjekteimdetail(): HasMany
{
return $this->hasMany(ProjektObjekteImDetail::class, 'projekt_objekte_id', 'id');
}
diff --git a/bootstrap/cache/blade-icons.php b/bootstrap/cache/blade-icons.php
index 24cfd29..be5c76f 100755
--- a/bootstrap/cache/blade-icons.php
+++ b/bootstrap/cache/blade-icons.php
@@ -1,7 +1,7 @@
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',
diff --git a/bootstrap/cache/config.php b/bootstrap/cache/config.php
index 9a018f7..95900ff 100644
--- a/bootstrap/cache/config.php
+++ b/bootstrap/cache/config.php
@@ -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 (
@@ -124,9 +124,9 @@
'timezone' => 'UTC',
'locale' => 'de',
'fallback_locale' => 'en',
- 'faker_locale' => 'at_AT',
+ 'faker_locale' => 'de_AT',
'cipher' => 'AES-256-CBC',
- 'key' => 'base64:yRi9h21i7xAkGpeF7JoArovQJU1w6xwczQ6ijpYpJrs=',
+ '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' =>
diff --git a/bootstrap/cache/filament/panels/admin.php b/bootstrap/cache/filament/panels/admin.php
index ac7d579..5de3ef0 100644
--- a/bootstrap/cache/filament/panels/admin.php
+++ b/bootstrap/cache/filament/panels/admin.php
@@ -70,9 +70,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 (
@@ -97,7 +97,7 @@
),
'clusterDirectories' =>
array (
- 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Clusters',
+ 0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Clusters',
),
'clusterNamespaces' =>
array (
@@ -105,14 +105,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 (
@@ -120,23 +120,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 (
@@ -149,7 +149,7 @@
),
'widgetDirectories' =>
array (
- 0 => '/Users/hermanntelser/Sites/nutzwerte_fi4/app/Filament/Widgets',
+ 0 => '/Users/salam/Sites/nutzwerte_fi4/app/Filament/Widgets',
),
'widgetNamespaces' =>
array (
diff --git a/bootstrap/cache/routes-v7.php b/bootstrap/cache/routes-v7.php
index f3f884d..ccc1002 100644
--- a/bootstrap/cache/routes-v7.php
+++ b/bootstrap/cache/routes-v7.php
@@ -531,7 +531,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
- '_route' => 'generated::jTCOTMf5gNTcUdLr',
+ '_route' => 'generated::d8M243TPuQlrpcFq',
),
1 => NULL,
2 =>
@@ -551,7 +551,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
- '_route' => 'generated::ybtShWUHh7bNhrH1',
+ '_route' => 'generated::mulnKo7q7D93x08G',
),
1 => NULL,
2 =>
@@ -609,7 +609,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
- '_route' => 'generated::2nfKVnVZA77P88DQ',
+ '_route' => 'generated::NJTFqQXtATi5Wj5r',
),
1 => NULL,
2 =>
@@ -629,7 +629,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
- '_route' => 'generated::MzWKEtvcDShjOJGG',
+ '_route' => 'generated::sxnCkea2wyvfYVEl',
),
1 => NULL,
2 =>
@@ -649,7 +649,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
- '_route' => 'generated::ddV0vkTB4VeSnr2c',
+ '_route' => 'generated::88DkWu0MF3Lf53DZ',
),
1 => NULL,
2 =>
@@ -669,7 +669,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
- '_route' => 'generated::vGhSJMjboYK39odq',
+ '_route' => 'generated::BhrjgXA1GO2ZFMSC',
),
1 => NULL,
2 =>
@@ -689,7 +689,7 @@ app('router')->setCompiledRoutes(
array (
0 =>
array (
- '_route' => 'generated::xqLydcDEUnvQ0mRE',
+ '_route' => 'generated::9IgXEvANj5DMo5fN',
),
1 => NULL,
2 =>
@@ -2740,7 +2740,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
- 'generated::jTCOTMf5gNTcUdLr' =>
+ 'generated::d8M243TPuQlrpcFq' =>
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::jTCOTMf5gNTcUdLr',
+ 'as' => 'generated::d8M243TPuQlrpcFq',
),
'fallback' => false,
'defaults' =>
@@ -2768,7 +2768,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
- 'generated::ybtShWUHh7bNhrH1' =>
+ 'generated::mulnKo7q7D93x08G' =>
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::ybtShWUHh7bNhrH1',
+ 'as' => 'generated::mulnKo7q7D93x08G',
),
'fallback' => false,
'defaults' =>
@@ -2882,7 +2882,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
- 'generated::2nfKVnVZA77P88DQ' =>
+ 'generated::NJTFqQXtATi5Wj5r' =>
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::2nfKVnVZA77P88DQ',
+ }";s:5:"scope";s:54:"Illuminate\\Foundation\\Configuration\\ApplicationBuilder";s:4:"this";N;s:4:"self";s:32:"0000000000000f410000000000000000";}}',
+ 'as' => 'generated::NJTFqQXtATi5Wj5r',
),
'fallback' => false,
'defaults' =>
@@ -2927,7 +2927,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
- 'generated::MzWKEtvcDShjOJGG' =>
+ 'generated::sxnCkea2wyvfYVEl' =>
array (
'methods' =>
array (
@@ -2943,13 +2943,13 @@ app('router')->setCompiledRoutes(
),
'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:0:{}s:8:"function";s:50:"function () {
return \\view(\'pages.welcome\');
-}";s:5:"scope";s:37:"Illuminate\\Routing\\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"0000000000000f420000000000000000";}}',
+}";s:5:"scope";s:37:"Illuminate\\Routing\\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"0000000000000f480000000000000000";}}',
'namespace' => NULL,
'prefix' => '',
'where' =>
array (
),
- 'as' => 'generated::MzWKEtvcDShjOJGG',
+ 'as' => 'generated::sxnCkea2wyvfYVEl',
),
'fallback' => false,
'defaults' =>
@@ -2965,7 +2965,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
- 'generated::ddV0vkTB4VeSnr2c' =>
+ 'generated::88DkWu0MF3Lf53DZ' =>
array (
'methods' =>
array (
@@ -2981,13 +2981,13 @@ app('router')->setCompiledRoutes(
),
'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:0:{}s:8:"function";s:52:"function () {
return \\view(\'pages.nutzwerte\');
-}";s:5:"scope";s:37:"Illuminate\\Routing\\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"0000000000000f440000000000000000";}}',
+}";s:5:"scope";s:37:"Illuminate\\Routing\\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"0000000000000f4a0000000000000000";}}',
'namespace' => NULL,
'prefix' => '',
'where' =>
array (
),
- 'as' => 'generated::ddV0vkTB4VeSnr2c',
+ 'as' => 'generated::88DkWu0MF3Lf53DZ',
),
'fallback' => false,
'defaults' =>
@@ -3003,7 +3003,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
- 'generated::vGhSJMjboYK39odq' =>
+ 'generated::BhrjgXA1GO2ZFMSC' =>
array (
'methods' =>
array (
@@ -3019,13 +3019,13 @@ app('router')->setCompiledRoutes(
),
'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:0:{}s:8:"function";s:51:"function () {
return \\view(\'pages.programm\');
-}";s:5:"scope";s:37:"Illuminate\\Routing\\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"0000000000000f460000000000000000";}}',
+}";s:5:"scope";s:37:"Illuminate\\Routing\\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"0000000000000f4c0000000000000000";}}',
'namespace' => NULL,
'prefix' => '',
'where' =>
array (
),
- 'as' => 'generated::vGhSJMjboYK39odq',
+ 'as' => 'generated::BhrjgXA1GO2ZFMSC',
),
'fallback' => false,
'defaults' =>
@@ -3041,7 +3041,7 @@ app('router')->setCompiledRoutes(
'waitSeconds' => NULL,
'withTrashed' => false,
),
- 'generated::xqLydcDEUnvQ0mRE' =>
+ 'generated::9IgXEvANj5DMo5fN' =>
array (
'methods' =>
array (
@@ -3057,13 +3057,13 @@ app('router')->setCompiledRoutes(
),
'uses' => 'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure":1:{s:12:"serializable";O:46:"Laravel\\SerializableClosure\\Serializers\\Native":5:{s:3:"use";a:0:{}s:8:"function";s:52:"function () {
return \\view(\'pages.impressum\');
-}";s:5:"scope";s:37:"Illuminate\\Routing\\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"0000000000000f480000000000000000";}}',
+}";s:5:"scope";s:37:"Illuminate\\Routing\\RouteFileRegistrar";s:4:"this";N;s:4:"self";s:32:"0000000000000f4e0000000000000000";}}',
'namespace' => NULL,
'prefix' => '',
'where' =>
array (
),
- 'as' => 'generated::xqLydcDEUnvQ0mRE',
+ 'as' => 'generated::9IgXEvANj5DMo5fN',
),
'fallback' => false,
'defaults' =>
@@ -3203,13 +3203,13 @@ 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,
$isProduction
))($request, $path);
- }";s:5:"scope";s:47:"Illuminate\\Filesystem\\FilesystemServiceProvider";s:4:"this";N;s:4:"self";s:32:"0000000000000f4e0000000000000000";}}',
+ }";s:5:"scope";s:47:"Illuminate\\Filesystem\\FilesystemServiceProvider";s:4:"this";N;s:4:"self";s:32:"0000000000000f540000000000000000";}}',
'as' => 'storage.local',
),
'fallback' => false,
diff --git a/database/seeders/TestProjektSeeder.php b/database/seeders/TestProjektSeeder.php
index b166b3d..b146708 100644
--- a/database/seeders/TestProjektSeeder.php
+++ b/database/seeders/TestProjektSeeder.php
@@ -66,7 +66,156 @@ class TestProjektSeeder extends Seeder
('43', '1', 'UG', 'Technik', '29.14', '2025-10-27 05:43:15', '2025-10-27 05:43:15'),
('44', '1', 'UG', 'Tiefgarage', '484.03', '2025-10-27 05:43:15', '2025-10-27 05:43:15'),
('45', '1', 'UG', 'Trockenraum', '7.64', '2025-10-27 05:43:15', '2025-10-27 05:43:15');
-";
+ ";
+
+ DB::unprepared($sql);
+
+ $sql = "INSERT INTO `projekt_methodes` (`id`, `projekte_id`, `methode_id`, `geschoss`, `raumart`, `faktor`, `created_at`, `updated_at`)
+ VALUES
+ ('1', '1', '1', NULL, 'Bereich unter Stiege 1', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('2', '1', '1', NULL, 'Bereich unter Stiege 2', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('3', '1', '1', NULL, 'Bewegungsraum', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('4', '1', '1', NULL, 'Essen', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('5', '1', '1', NULL, 'Garderobe', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('6', '1', '1', NULL, 'Geräte 1', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('7', '1', '1', NULL, 'Geräte 2', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('8', '1', '1', NULL, 'Stiegenpodest 1', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('9', '1', '1', NULL, 'Stiegenpodest 2', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('10', '1', '1', NULL, 'WC B1', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('11', '1', '1', NULL, 'WC P1', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('12', '1', '1', NULL, 'Zugang Garten', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('13', '1', '1', NULL, 'Besprechung', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('14', '1', '1', NULL, 'Büro', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('15', '1', '1', NULL, 'Gruppenraum 1', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('16', '1', '1', NULL, 'Gruppenraum 2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('17', '1', '1', NULL, 'Gruppenraum 3', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('18', '1', '1', NULL, 'Gruppenraum 4', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('19', '1', '1', NULL, 'Gruppenraum 5', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('20', '1', '1', NULL, 'Gruppenraum 6', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('21', '1', '1', NULL, 'Gruppenraum 7', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('22', '1', '1', NULL, 'Gruppenraum 8', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('23', '1', '1', NULL, 'Kopierer', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('24', '1', '1', NULL, 'Marktplatz 1', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('25', '1', '1', NULL, 'Marktplatz 2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('26', '1', '1', NULL, 'Nebenraum 1', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('27', '1', '1', NULL, 'Nebenraum 2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('28', '1', '1', NULL, 'Personal', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('29', '1', '1', NULL, 'Putz/Wr.', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('30', '1', '1', NULL, 'Schlafraum 1', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('31', '1', '1', NULL, 'Schlafraum 2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('32', '1', '1', NULL, 'Teeküche 1', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('33', '1', '1', NULL, 'Teeküche 2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('34', '1', '1', NULL, 'Teilungsraum 1', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('35', '1', '1', NULL, 'Teilungsraum 2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('36', '1', '1', NULL, 'Teilungsraum 3', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('37', '1', '1', NULL, 'Teilungsraum 4', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('38', '1', '1', NULL, 'Terrasse', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('39', '1', '1', NULL, 'WC B2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('40', '1', '1', NULL, 'WC G1', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('41', '1', '1', NULL, 'WC G2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('42', '1', '1', NULL, 'WC G3', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('43', '1', '1', NULL, 'WC G4', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('44', '1', '1', NULL, 'WC G5', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('45', '1', '1', NULL, 'WC G6', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('46', '1', '1', NULL, 'WC G7', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('47', '1', '1', NULL, 'WC G8', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('48', '1', '1', NULL, 'WC P2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('49', '1', '1', NULL, 'Hausmeister', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('50', '1', '1', NULL, 'Küche', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('51', '1', '1', NULL, 'Windfang', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('52', '1', '1', NULL, 'Wirtschaftsraum', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('53', '1', '1', NULL, 'Bereich unter Stiege', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('54', '1', '1', NULL, 'Besprechungsraum', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('55', '1', '1', NULL, 'Garten G KK', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('56', '1', '1', NULL, 'Geräte', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('57', '1', '1', NULL, 'Marktplatz', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('58', '1', '1', NULL, 'Nebenraum', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('59', '1', '1', NULL, 'WC A', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('60', '1', '1', NULL, 'WC B', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('61', '1', '1', NULL, 'WC G1/2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('62', '1', '1', NULL, 'WC G3/4', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('63', '1', '1', NULL, 'Stellplatz+', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('64', '1', '1', NULL, 'Stellplatz', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('65', '1', '1', NULL, 'Vereine', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('66', '1', '1', NULL, 'WC D/B', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('67', '1', '1', NULL, 'WC H', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('68', '1', '1', NULL, 'Bad', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('69', '1', '1', NULL, 'Schlafzimmer', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('70', '1', '1', NULL, 'Wohnen', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('71', '1', '1', NULL, 'KA01', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('72', '1', '1', NULL, 'KA02', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('73', '1', '1', NULL, 'Kabinett', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('74', '1', '1', NULL, 'KA03', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('75', '1', '1', NULL, 'KA04', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('76', '1', '1', NULL, 'KA05', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('77', '1', '1', NULL, 'KA06', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('78', '1', '1', NULL, 'KA07', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('79', '1', '1', NULL, 'KA08', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('80', '1', '1', NULL, 'KA09', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('81', '1', '1', NULL, 'KA10', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('82', '1', '1', NULL, 'KA11', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('83', '1', '1', NULL, 'KA12', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
+ ('84', '1', '1', NULL, 'KA13', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58');
+ ";
+
+ DB::unprepared($sql);
+
+ $sql = "INSERT INTO `projekt_objektes` (`id`, `projekte_id`, `orientierung_id`, `nicht_in_orientierung`, `top_nummer`, `type`, `geschoss`, `nutzwert`, `a`, `b`, `c`, `d`, `e`, `f`, `g`, `h`, `i`, `j`, `created_at`, `updated_at`)
+ VALUES
+ ('1', '1', '0', '1', 'KG', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
+ ('2', '1', '0', '1', 'KG/KK', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
+ ('3', '1', '0', '1', 'KK', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
+ ('4', '1', '0', '1', 'P01', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
+ ('5', '1', '0', '1', 'P02', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
+ ('6', '1', '0', '1', 'P03', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
+ ('7', '1', '0', '1', 'P04', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
+ ('8', '1', '0', '1', 'P05', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
+ ('9', '1', '0', '1', 'P06', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
+ ('10', '1', '0', '1', 'P07', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
+ ('11', '1', '0', '1', 'P08', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
+ ('12', '1', '0', '1', 'P09', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
+ ('13', '1', '0', '1', 'P10', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
+ ('14', '1', '0', '1', 'P11', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
+ ('15', '1', '0', '1', 'P12', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
+ ('16', '1', '0', '1', 'P13', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
+ ('17', '1', '0', '1', 'P14', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
+ ('18', '1', '0', '1', 'P15', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
+ ('19', '1', '0', '1', 'P16', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
+ ('20', '1', '0', '1', 'P17', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
+ ('21', '1', '0', '1', 'P18', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
+ ('22', '1', '0', '1', 'P19', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
+ ('23', '1', '0', '1', 'P20', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
+ ('24', '1', '0', '1', 'P21', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
+ ('25', '1', '0', '1', 'P22', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
+ ('26', '1', '0', '1', 'P23', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
+ ('27', '1', '0', '1', 'P24', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
+ ('28', '1', '0', '1', 'P25', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
+ ('29', '1', '0', '1', 'P26', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
+ ('30', '1', '0', '1', 'P27', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
+ ('31', '1', '0', '1', 'P28', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
+ ('32', '1', '0', '1', 'P29', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
+ ('33', '1', '0', '1', 'P30', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
+ ('34', '1', '0', '1', 'P31', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
+ ('35', '1', '0', '1', 'P32', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
+ ('36', '1', '0', '1', 'P33', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
+ ('37', '1', '0', '1', 'P34', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
+ ('38', '1', '0', '1', 'P35', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
+ ('39', '1', '0', '1', 'P36', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
+ ('40', '1', '0', '1', 'VL', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:15:14'),
+ ('41', '1', '14', '0', 'W01', '2-Zi', NULL, '2', '2.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:29'),
+ ('42', '1', '14', '0', 'W02', '2-Zi', NULL, '-1', '2.00', '-3.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:37'),
+ ('43', '1', '14', '0', 'W03', '2-Zi', NULL, '2', '2.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:29'),
+ ('44', '1', '14', '0', 'W04', '2-Zi', NULL, '-1', '2.00', '-3.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:38'),
+ ('45', '1', '14', '0', 'W05', '2-Zi', NULL, '2', '2.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:29'),
+ ('46', '1', '14', '0', 'W06', '2-Zi', NULL, '-1', '2.00', '-3.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:40'),
+ ('47', '1', '14', '0', 'W07', '2-Zi', NULL, '2', '2.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:29'),
+ ('48', '1', '14', '0', 'W08', '2-Zi', NULL, '2', '2.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:29'),
+ ('49', '1', '14', '0', 'W09', '2-Zi', NULL, '-1', '2.00', '-3.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:42'),
+ ('50', '1', '14', '0', 'W10', '2-Zi', NULL, '2', '2.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:29'),
+ ('51', '1', '14', '0', 'W11', '2-Zi', NULL, '2', '2.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:29'),
+ ('52', '1', '14', '0', 'W12', '2-Zi', NULL, '-1', '2.00', '-3.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:44'),
+ ('53', '1', '14', '0', 'W13', '2-Zi', NULL, '-1', '2.00', '-3.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:45');
+ ";
DB::unprepared($sql);
@@ -259,155 +408,6 @@ class TestProjektSeeder extends Seeder
DB::unprepared($sql);
- $sql = "INSERT INTO `projekt_methodes` (`id`, `projekte_id`, `methode_id`, `geschoss`, `raumart`, `faktor`, `created_at`, `updated_at`)
- VALUES
- ('1', '1', '1', NULL, 'Bereich unter Stiege 1', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('2', '1', '1', NULL, 'Bereich unter Stiege 2', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('3', '1', '1', NULL, 'Bewegungsraum', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('4', '1', '1', NULL, 'Essen', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('5', '1', '1', NULL, 'Garderobe', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('6', '1', '1', NULL, 'Geräte 1', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('7', '1', '1', NULL, 'Geräte 2', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('8', '1', '1', NULL, 'Stiegenpodest 1', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('9', '1', '1', NULL, 'Stiegenpodest 2', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('10', '1', '1', NULL, 'WC B1', '0.30', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('11', '1', '1', NULL, 'WC P1', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('12', '1', '1', NULL, 'Zugang Garten', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('13', '1', '1', NULL, 'Besprechung', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('14', '1', '1', NULL, 'Büro', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('15', '1', '1', NULL, 'Gruppenraum 1', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('16', '1', '1', NULL, 'Gruppenraum 2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('17', '1', '1', NULL, 'Gruppenraum 3', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('18', '1', '1', NULL, 'Gruppenraum 4', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('19', '1', '1', NULL, 'Gruppenraum 5', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('20', '1', '1', NULL, 'Gruppenraum 6', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('21', '1', '1', NULL, 'Gruppenraum 7', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('22', '1', '1', NULL, 'Gruppenraum 8', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('23', '1', '1', NULL, 'Kopierer', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('24', '1', '1', NULL, 'Marktplatz 1', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('25', '1', '1', NULL, 'Marktplatz 2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('26', '1', '1', NULL, 'Nebenraum 1', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('27', '1', '1', NULL, 'Nebenraum 2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('28', '1', '1', NULL, 'Personal', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('29', '1', '1', NULL, 'Putz/Wr.', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('30', '1', '1', NULL, 'Schlafraum 1', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('31', '1', '1', NULL, 'Schlafraum 2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('32', '1', '1', NULL, 'Teeküche 1', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('33', '1', '1', NULL, 'Teeküche 2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('34', '1', '1', NULL, 'Teilungsraum 1', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('35', '1', '1', NULL, 'Teilungsraum 2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('36', '1', '1', NULL, 'Teilungsraum 3', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('37', '1', '1', NULL, 'Teilungsraum 4', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('38', '1', '1', NULL, 'Terrasse', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('39', '1', '1', NULL, 'WC B2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('40', '1', '1', NULL, 'WC G1', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('41', '1', '1', NULL, 'WC G2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('42', '1', '1', NULL, 'WC G3', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('43', '1', '1', NULL, 'WC G4', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('44', '1', '1', NULL, 'WC G5', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('45', '1', '1', NULL, 'WC G6', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('46', '1', '1', NULL, 'WC G7', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('47', '1', '1', NULL, 'WC G8', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('48', '1', '1', NULL, 'WC P2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('49', '1', '1', NULL, 'Hausmeister', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('50', '1', '1', NULL, 'Küche', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('51', '1', '1', NULL, 'Windfang', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('52', '1', '1', NULL, 'Wirtschaftsraum', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('53', '1', '1', NULL, 'Bereich unter Stiege', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('54', '1', '1', NULL, 'Besprechungsraum', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('55', '1', '1', NULL, 'Garten G KK', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('56', '1', '1', NULL, 'Geräte', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('57', '1', '1', NULL, 'Marktplatz', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('58', '1', '1', NULL, 'Nebenraum', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('59', '1', '1', NULL, 'WC A', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('60', '1', '1', NULL, 'WC B', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('61', '1', '1', NULL, 'WC G1/2', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('62', '1', '1', NULL, 'WC G3/4', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('63', '1', '1', NULL, 'Stellplatz+', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('64', '1', '1', NULL, 'Stellplatz', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('65', '1', '1', NULL, 'Vereine', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('66', '1', '1', NULL, 'WC D/B', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('67', '1', '1', NULL, 'WC H', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('68', '1', '1', NULL, 'Bad', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('69', '1', '1', NULL, 'Schlafzimmer', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('70', '1', '1', NULL, 'Wohnen', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('71', '1', '1', NULL, 'KA01', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('72', '1', '1', NULL, 'KA02', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('73', '1', '1', NULL, 'Kabinett', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('74', '1', '1', NULL, 'KA03', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('75', '1', '1', NULL, 'KA04', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('76', '1', '1', NULL, 'KA05', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('77', '1', '1', NULL, 'KA06', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('78', '1', '1', NULL, 'KA07', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('79', '1', '1', NULL, 'KA08', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('80', '1', '1', NULL, 'KA09', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('81', '1', '1', NULL, 'KA10', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('82', '1', '1', NULL, 'KA11', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('83', '1', '1', NULL, 'KA12', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58'),
- ('84', '1', '1', NULL, 'KA13', '0.00', '2025-10-27 08:18:00', '2025-10-27 08:18:58');
- ";
-
- DB::unprepared($sql);
-
- $sql = "INSERT INTO `projekt_objektes` (`id`, `projekte_id`, `orientierung_id`, `nicht_in_orientierung`, `top_nummer`, `type`, `geschoss`, `nutzwert`, `a`, `b`, `c`, `d`, `e`, `f`, `g`, `h`, `i`, `j`, `created_at`, `updated_at`)
- VALUES
- ('1', '1', '0', '1', 'KG', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
- ('2', '1', '0', '1', 'KG/KK', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
- ('3', '1', '0', '1', 'KK', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
- ('4', '1', '0', '1', 'P01', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
- ('5', '1', '0', '1', 'P02', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
- ('6', '1', '0', '1', 'P03', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
- ('7', '1', '0', '1', 'P04', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
- ('8', '1', '0', '1', 'P05', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
- ('9', '1', '0', '1', 'P06', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
- ('10', '1', '0', '1', 'P07', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:28'),
- ('11', '1', '0', '1', 'P08', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
- ('12', '1', '0', '1', 'P09', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
- ('13', '1', '0', '1', 'P10', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
- ('14', '1', '0', '1', 'P11', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
- ('15', '1', '0', '1', 'P12', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
- ('16', '1', '0', '1', 'P13', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
- ('17', '1', '0', '1', 'P14', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
- ('18', '1', '0', '1', 'P15', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
- ('19', '1', '0', '1', 'P16', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
- ('20', '1', '0', '1', 'P17', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:41'),
- ('21', '1', '0', '1', 'P18', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
- ('22', '1', '0', '1', 'P19', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
- ('23', '1', '0', '1', 'P20', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
- ('24', '1', '0', '1', 'P21', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
- ('25', '1', '0', '1', 'P22', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
- ('26', '1', '0', '1', 'P23', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
- ('27', '1', '0', '1', 'P24', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
- ('28', '1', '0', '1', 'P25', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
- ('29', '1', '0', '1', 'P26', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
- ('30', '1', '0', '1', 'P27', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:47'),
- ('31', '1', '0', '1', 'P28', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
- ('32', '1', '0', '1', 'P29', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
- ('33', '1', '0', '1', 'P30', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
- ('34', '1', '0', '1', 'P31', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
- ('35', '1', '0', '1', 'P32', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
- ('36', '1', '0', '1', 'P33', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
- ('37', '1', '0', '1', 'P34', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
- ('38', '1', '0', '1', 'P35', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
- ('39', '1', '0', '1', 'P36', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:14:59'),
- ('40', '1', '0', '1', 'VL', NULL, NULL, '0', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:15:14'),
- ('41', '1', '14', '0', 'W01', '2-Zi', NULL, '2', '2.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:29'),
- ('42', '1', '14', '0', 'W02', '2-Zi', NULL, '-1', '2.00', '-3.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:37'),
- ('43', '1', '14', '0', 'W03', '2-Zi', NULL, '2', '2.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:29'),
- ('44', '1', '14', '0', 'W04', '2-Zi', NULL, '-1', '2.00', '-3.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:38'),
- ('45', '1', '14', '0', 'W05', '2-Zi', NULL, '2', '2.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:29'),
- ('46', '1', '14', '0', 'W06', '2-Zi', NULL, '-1', '2.00', '-3.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:40'),
- ('47', '1', '14', '0', 'W07', '2-Zi', NULL, '2', '2.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:29'),
- ('48', '1', '14', '0', 'W08', '2-Zi', NULL, '2', '2.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:29'),
- ('49', '1', '14', '0', 'W09', '2-Zi', NULL, '-1', '2.00', '-3.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:42'),
- ('50', '1', '14', '0', 'W10', '2-Zi', NULL, '2', '2.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:29'),
- ('51', '1', '14', '0', 'W11', '2-Zi', NULL, '2', '2.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:29'),
- ('52', '1', '14', '0', 'W12', '2-Zi', NULL, '-1', '2.00', '-3.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:44'),
- ('53', '1', '14', '0', 'W13', '2-Zi', NULL, '-1', '2.00', '-3.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '2025-10-27 05:44:34', '2025-10-27 08:16:45');
- ";
-
- DB::unprepared($sql);
-
$sql = "INSERT INTO `projekt_platzhalters` (`id`, `projekte_id`, `platzhalter`, `platzhaltertext`, `controll`, `created_at`, `updated_at`)
VALUES
('1', '1', '###GUTACHTEN_P_NR###', '337', '0', '2025-10-27 08:18:27', '2025-10-27 08:22:08'),
@@ -424,7 +424,6 @@ class TestProjektSeeder extends Seeder
DB::unprepared($sql);
-
$sql = "INSERT INTO `projekt_inhaltsverzeichnis` (`id`, `projekte_id`, `name`, `name2`, `ueberschrift_anzeigen`, `tabellen_id`, `textblock_id`, `konto_textblock_id`, `sort`, `ordnungszahl`, `part`, `seite`, `neue_seite`, `seitenzahl_anzeige`, `no_edit`, `textblock`, `created_at`, `updated_at`)
VALUES
('1', '1', 'DECKBLATT', NULL, '0', '0', '11', '0', '1', '0', '1', '0', '1', '0', '0', 'P ###GUTACHTEN_P_NR### WEG 2002
EZ ###EINLAGEZAHL### des GB ###GRUNDBUCH###
', '2025-10-27 08:18:22', '2025-10-27 08:18:22'),
diff --git a/resources/css/pdf-download.css b/resources/css/pdf-download.css
index 1768fd6..f70bdee 100644
--- a/resources/css/pdf-download.css
+++ b/resources/css/pdf-download.css
@@ -160,20 +160,12 @@ p {
/**
GUTACHTEN TABELLEN
*/
-
-table {
- margin-top: 20mm;
-}
-
-.table-striped tr:nth-child(2n-1) td {
- background-color: #f3f4f6;
-}
-
-table.table-striped td.head,
-td.head {
- font-weight: bold;
- vertical-align: bottom;
- background-color: #f3f4f6 !important;
+.rotated {
+ -moz-transform: rotate(30deg);
+ -ms-transform: rotate(30deg);
+ -o-transform: rotate(30deg);
+ -webkit-transform: rotate(30deg);
+ transform: rotate(30deg);
}
table {
@@ -181,8 +173,22 @@ table {
border-spacing: 0;
empty-cells: show;
width: 100% !important;
+ margin-top: 20mm;
}
+.table-striped tr:nth-child(2n-1) td {
+ background-color: #f9fafb;
+}
+
+td.head {
+ font-weight: bold;
+ vertical-align: center;
+ text-align: left;
+ background-color: #eff6ff !important;
+}
+
+
+
td {
padding: 0.5rem;
}
@@ -204,21 +210,21 @@ td {
}
.border {
- border: 0.3mm solid #e5e7eb;
+ border: 0.3mm solid #f3f4f6;
}
.bt {
- border-top: 0.3mm solid #e5e7eb;
+ border-top: 0.3mm solid #f3f4f6;
}
.bb {
- border-bottom: 0.3mm solid #e5e7eb;
+ border-bottom: 0.3mm solid #f3f4f6;
}
.bl {
- border-left: 0.3mm solid #e5e7eb;
+ border-left: 0.3mm solid #f3f4f6;
}
.br {
- border-right: 0.3mm solid #e5e7eb;
+ border-right: 0.3mm solid #f3f4f6;
}
\ No newline at end of file
diff --git a/test.html b/test.html
index 6f2e830..880213c 100644
--- a/test.html
+++ b/test.html
@@ -1,230 +1,102 @@
-
-
-"<h1 style="text-align: end;"><img src="http://nutzwerte_fi4.test/storage/gutachter-logos/BlmRdvtNg6YnwfYoQawtqkcLQTXGljzH9lXCz4li.png" alt="Logo" data-id="gutachter-logos/BlmRdvtNg6YnwfYoQawtqkcLQTXGljzH9lXCz4li.png"></h1><h1 style="text-align: end;"><span data-color="#2b7fff" class="color" style="--color: #2b7fff; --dark-color: #2b7fff">Nikolic</span></h1><p style="text-align: end;">9170 Bad Leonfelden / Simone-Wittmann-Weg 3</p><p style="text-align: end;">UID: ATU68008336 . Firmenbuchnummer 23456</p><p style="text-align: end;">Telefon: +43 699 4727182 / Fax: +43 699 4727182-3</p><p style="text-align: end;"><a target="_blank" rel="noopener noreferrer nofollow" href="mailto:gpetrovic@gmx.at">gpetrovic@gmx.at</a></p>" // app/Actions/Generate/Gutachten/Deckblatt.php:20
-
-
\ No newline at end of file
+
+
+
+
+ | Top Nummer
+ |
+ Geschoß |
+ Typ |
+ Nutzfläche
+ |
+ Loggia /
+ sonst. Zusatzflächen |
+
+ Gesamtnutzfläche |
+ Sonne |
+ Mond |
+ Sterne |
+ Summe
+ Merkmale |
+
+ Wohnungsbewertung |
+
+
+
+ | W01 |
+ UG |
+ 2-Zi |
+ 62,27 |
+
+
+ | W02 |
+ UG |
+ 2-Zi |
+ 67,03 |
+
+
+ | W03 |
+ UG |
+ 2-Zi |
+ 75,24 |
+
+
+ | W04 |
+ UG |
+ 2-Zi |
+ 73,94 |
+
+
+ | W05 |
+ UG |
+ 2-Zi |
+ 72,08 |
+
+
+ | W06 |
+ UG |
+ 2-Zi |
+ 75,42 |
+
+
+ | W07 |
+ UG |
+ 2-Zi |
+ 56,00 |
+
+
+ | W08 |
+ UG |
+ 2-Zi |
+ 54,57 |
+
+
+ | W09 |
+ UG |
+ 2-Zi |
+ 54,51 |
+
+
+ | W10 |
+ UG |
+ 2-Zi |
+ 75,29 |
+
+
+ | W11 |
+ UG |
+ 2-Zi |
+ 72,08 |
+
+
+ | W12 |
+ UG |
+ 2-Zi |
+ 72,45 |
+
+
+ | W13 |
+ UG |
+ 2-Zi |
+ 71,69 |
+
+
\ No newline at end of file