WIP Contract Form

This commit is contained in:
Frank Schubert
2022-06-09 17:05:34 +02:00
parent b2e72c35b0
commit 121312cdc3
11 changed files with 382 additions and 115 deletions

View File

@@ -121,6 +121,20 @@ class Address extends mfBaseModel {
return $spin;
}
public function toArray() {
if(!$this->id) {
return [];
}
$a = [];
$a['id'] = $this->id;
foreach($this->data as $key => $value) {
$a[$key] = $value;
}
return $a;
}
public function getProperty($name) {
if($this->$name == null) {