This commit is contained in:
cgfhtw
2023-01-16 10:32:24 +01:00
parent ebc7b5a3d9
commit 2f2f19306b
19 changed files with 1447 additions and 0 deletions
@@ -188,4 +188,18 @@ class Organisationseinheit_model extends DB_Model
}
return $this->loadWhere($condition);
}
/**
* @param string $oe_kurzbz
*
* @return stdClass
*/
public function getWithType($oe_kurzbz)
{
$this->addSelect($this->dbTable . '.*, t.bezeichnung AS organisationseinheittyp');
$this->addJoin('public.tbl_organisationseinheittyp t', 'organisationseinheittyp_kurzbz');
return $this->load($oe_kurzbz);
}
}