wip
This commit is contained in:
1 parent
17ed7b7f8f
commit
c9cac0903a
24 files changed
+122
-4431
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Actions\Generate\Tabellen;
|
||||
|
||||
use App\Actions\Generate\Pdf;
|
||||
use App\Actions\Generate\PdfGenerator;
|
||||
use App\Actions\Generate\Utilities\Html;
|
||||
use App\Models\ProjektMethode;
|
||||
use App\Models\ProjektObjekte;
|
||||
@@ -142,7 +142,7 @@ class Nutzwertberechnung
|
||||
$html .= Html::table_footer($summe_nutzwert);
|
||||
$html .= '</table>';
|
||||
|
||||
Pdf::$zusammenstellung[$komponente['id']] = $summe_nutzwert;
|
||||
PdfGenerator::$zusammenstellung[$komponente['id']] = $summe_nutzwert;
|
||||
}
|
||||
|
||||
$objekte = self::laod_project(true);
|
||||
@@ -175,7 +175,7 @@ class Nutzwertberechnung
|
||||
|
||||
$html .= Html::table_footer($nutzwert, 8);
|
||||
$html .= '</table>';
|
||||
Pdf::$zusammenstellung[$komponente['id']] = $nutzwert;
|
||||
PdfGenerator::$zusammenstellung[$komponente['id']] = $nutzwert;
|
||||
}
|
||||
|
||||
return $html;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Actions\Generate\Tabellen;
|
||||
|
||||
use App\Actions\Generate\Pdf;
|
||||
use App\Actions\Generate\PdfGenerator;
|
||||
use App\Actions\Generate\Utilities\Format;
|
||||
use App\Actions\Generate\Utilities\Html;
|
||||
use App\Models\ProjektObjekte;
|
||||
@@ -15,7 +15,7 @@ class Zusammenstellung
|
||||
$summe_prozent = [];
|
||||
$summe_nutzwert = [];
|
||||
|
||||
$nutzwert_gesammt = array_sum(Pdf::$zusammenstellung);
|
||||
$nutzwert_gesammt = array_sum(PdfGenerator::$zusammenstellung);
|
||||
|
||||
$html = Html::table_header(['Top', 'Geschoß', 'Orientierung', 'Typ', 'Nutzwert', 'x2 *', '%']);
|
||||
|
||||
@@ -35,7 +35,7 @@ class Zusammenstellung
|
||||
$html .= Html::td($objekt->orientierung?->name, 'center br bb');
|
||||
$html .= Html::td($objekt?->type, 'center br bb');
|
||||
|
||||
$nutzwert = Pdf::$zusammenstellung[$objekt->id];
|
||||
$nutzwert = PdfGenerator::$zusammenstellung[$objekt->id];
|
||||
$summe_nutzwert[] = $nutzwert;
|
||||
$html .= Html::td(round($nutzwert), 'center bb br');
|
||||
|
||||
|
||||
Reference in new issue
Block a user