Baufreigabe checks for missing required fields
This commit is contained in:
@@ -25,6 +25,20 @@ class Building extends mfBaseModel {
|
||||
return $address;
|
||||
}
|
||||
|
||||
protected function afterSave() {
|
||||
$this->resetProperties();
|
||||
}
|
||||
|
||||
public function resetProperties() {
|
||||
$this->network = null;
|
||||
$this->pop = null;
|
||||
$this->type = null;
|
||||
$this->status = null;
|
||||
$this->pipeworder = null;
|
||||
$this->terminations = null;
|
||||
$this->workflowitems = null;
|
||||
$this->files = null;
|
||||
}
|
||||
|
||||
public function getNewObjectCode() {
|
||||
if(!$this->zip) {
|
||||
|
||||
Reference in New Issue
Block a user