added export feature constr consent

This commit is contained in:
Luca Haid
2025-05-07 14:07:08 +02:00
parent 4db4577c28
commit 5061255a01
3 changed files with 107 additions and 1 deletions
@@ -115,7 +115,7 @@ class ConstructionConsent extends mfBaseModel {
public function getProperty($name) {
if($this->$name == null) {
if($this->$name == null && $name !== 'netzgebiet_id') {
if($name == "journal") {
$journal = ConstructionConsentJournal::search(["constructionconsent_id" => $this->id], false, "id DESC");