pdf wip
This commit is contained in:
1 parent
a20893d527
commit
4b79874100
31 files changed
+549
-1535
No files matched your search
@@ -146,9 +146,7 @@ class GutachtenValidation
|
||||
|
||||
foreach ($res as $value) {
|
||||
|
||||
$raeume = $value->projektobjekteimdetail->toArray();
|
||||
|
||||
if (! count($raeume)) {
|
||||
if (! count($value->projektobjekteimdetail)) {
|
||||
Notification::make()
|
||||
->title('Tabelle Objekte')
|
||||
->info()
|
||||
@@ -170,18 +168,7 @@ class GutachtenValidation
|
||||
|
||||
return false;
|
||||
}
|
||||
if (! $raeume['geschoss']) {
|
||||
Notification::make()
|
||||
->title('Tabelle Objekte im Detail')
|
||||
->info()
|
||||
->icon('heroicon-o-exclamation-triangle')
|
||||
->duration(10000)
|
||||
->body('Beim Objekt Top Nummer <b>'.$value->top_nummer.'</b> fehlt die Angabe des <u>Geschoßes</u>.')
|
||||
->send();
|
||||
|
||||
return false;
|
||||
}
|
||||
if (! $raeume['raumart']) {
|
||||
if (! $value->projektobjekteimdetail->first()->raumart) {
|
||||
Notification::make()
|
||||
->title('Tabelle Objekte im Detail')
|
||||
->info()
|
||||
@@ -192,7 +179,7 @@ class GutachtenValidation
|
||||
|
||||
return false;
|
||||
}
|
||||
if (! $raeume['flaeche']) {
|
||||
if (! $value->projektobjekteimdetail->first()->flaeche) {
|
||||
Notification::make()
|
||||
->title('Tabelle Objekte im Detail')
|
||||
->info()
|
||||
@@ -232,18 +219,6 @@ class GutachtenValidation
|
||||
|
||||
return false;
|
||||
}
|
||||
// KANN 0 SEIN
|
||||
// if ($value->faktor == 0) {
|
||||
// Notification::make()
|
||||
// ->title('Tabelle Räume Methoden')
|
||||
// ->info()
|
||||
// ->icon('heroicon-o-exclamation-triangle')
|
||||
// ->duration(10000)
|
||||
// ->body('Für den Raum <b>'.$value->raumart.'</b> fehlt die Angabe des <u>Faktors</u>.')
|
||||
// ->send();
|
||||
|
||||
// return false;
|
||||
// }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user