Sections dropdown is updated when changing network

This commit is contained in:
Frank Schubert
2021-07-20 22:25:02 +02:00
parent 329941faae
commit 2b936102f8
4 changed files with 93 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ class BuildingController extends mfBaseController {
$this->layout()->set("statuses", BuildingstatusModel::getAll());
$this->layout()->set("pipeworkers", AddressModel::search(["addresstype" => ["pipeworker"]]));
$this->layout()->set("lineworkers", AddressModel::search(["addresstype" => ["lineworker"]]));
$this->layout()->set("networksections", NetworksectionModel::getAll());
}
protected function editAction() {