set building status assigned when Baufreigabe is set
This commit is contained in:
@@ -138,6 +138,9 @@ class PipeworkController extends mfBaseController {
|
||||
if($this->me->is(["Admin", "netowner", "pipeplanner"])) {
|
||||
if($r->pipework_enabled == 1) {
|
||||
$building->pipework_enabled = 1;
|
||||
if($building->status_id < 3) {
|
||||
$building->status_id = 3;
|
||||
}
|
||||
} else {
|
||||
$building->pipework_enabled = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user