wip
This commit is contained in:
1 parent
30563ee98d
commit
622b37bb90
12 files changed
+56
-56
No files matched your search
+5
-5
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Actions\Generate\Nutzwerte;
|
||||
namespace App\Actions\Generate\Tabellen;
|
||||
|
||||
use App\Actions\Generate\Utilities\Format;
|
||||
use App\Actions\Generate\Utilities\Html;
|
||||
use App\Models\Merkmale;
|
||||
use App\Models\ProjektMerkmale;
|
||||
use App\Models\ProjektMethode;
|
||||
use App\Models\ProjektObjekte;
|
||||
|
||||
@@ -29,14 +29,14 @@ class ZuUndAbschlaege
|
||||
$header_row = ['Top Nummer', 'Geschoß', 'Typ', 'Nutzfläche'];
|
||||
}
|
||||
|
||||
$merkmale = Merkmale::where('projekte_id', $projekte_id)->pluck('name', 'code');
|
||||
$projekt_merkmale = ProjektMerkmale::where('projekte_id', $projekte_id)->pluck('name', 'code');
|
||||
|
||||
$markmale_codes = [];
|
||||
foreach ($merkmale as $key => $value) {
|
||||
foreach ($projekt_merkmale as $key => $value) {
|
||||
$markmale_codes[] = $key;
|
||||
$header_row[] = $value;
|
||||
}
|
||||
$header_row[] = 'Summe Merkmale';
|
||||
$header_row[] = 'Summe ProjektMerkmale';
|
||||
$header_row[] = 'Wohnungsbewertung';
|
||||
|
||||
$html = '<table class="table-striped">';
|
||||
Reference in new issue
Block a user