diff --git a/app/Actions/Generate/Tabellen/Zusammenstellung.php b/app/Actions/Generate/Tabellen/Zusammenstellung.php index d2c1d0e..fc81822 100644 --- a/app/Actions/Generate/Tabellen/Zusammenstellung.php +++ b/app/Actions/Generate/Tabellen/Zusammenstellung.php @@ -112,23 +112,18 @@ class Zusammenstellung if (!isset($arr[$objekt->projekt_objekte_id])) $arr[$objekt->projekt_objekte_id] = $objekt->geschoss; } + + // $arr = []; // foreach ($objekte as $objekt) { - // if ($objekt->top_nummer->nicht_in_orientierung == 1) - // $arr[$objekt->projekt_objekte_id][] = $objekt->geschoss; - // else - // $arr[$objekt->projekt_objekte_id] = $objekt->geschoss; + // $arr[$objekt->projekt_objekte_id][] = $objekt->geschoss; // } // foreach ($arr as $key => $value) { - // if (is_array($value)) { - // $value = array_unique($value); - // if (count($value) > 1) { - // $arr[$key] = implode('/', $value); - // } else { - // $arr[$key] = (string) array_first($value); - // } + // $value = array_unique($value); + // if (count($value) > 1) { + // $arr[$key] = implode('/', $value); // } else { - // $arr[$key] = (string) $value; + // $arr[$key] = (string) array_first($value); // } // }