wip zusammmenstellung
This commit is contained in:
1 parent
f0e1e801c0
commit
2f6ae7e4a1
9 files changed
+163
-118
No files matched your search
@@ -131,7 +131,7 @@ class GutachtenValidation
|
||||
/**
|
||||
* ProjektObjekte & ProjektObjekteImDetail
|
||||
*/
|
||||
$res = ProjektObjekte::with('ProjektObjekteImDetail')->where('projekte_id', $record->id)->get();
|
||||
$res = ProjektObjekte::with('projektobjekteimdetail')->where('projekte_id', $record->id)->get();
|
||||
if (! $res->count()) {
|
||||
Notification::make()
|
||||
->title('Tabelle Objekte im Detail')
|
||||
@@ -146,8 +146,7 @@ class GutachtenValidation
|
||||
|
||||
foreach ($res as $value) {
|
||||
|
||||
$raeume = $value->ProjektObjekteImDetail->toArray();
|
||||
$raeume = $raeume[0] ?? [];
|
||||
$raeume = $value->projektobjekteimdetail->toArray();
|
||||
|
||||
if (! count($raeume)) {
|
||||
Notification::make()
|
||||
|
||||
Reference in new issue
Block a user