Added pipework/linework comments to each page

This commit is contained in:
Frank Schubert
2022-05-03 17:09:14 +02:00
parent b5983b27f1
commit ed2dda4443
6 changed files with 48 additions and 19 deletions

View File

@@ -214,6 +214,13 @@ class LineworkController extends mfBaseController {
$termination->save();
}
if($termination->building->workflow_comment != $r->workflow_comment_building) {
$termination->building->workflow_comment = $r->workflow_comment_building;
$termination->building->workflow_comment_changed = date('U');
$termination->building->workflow_comment_changed_by = $this->me->id;
$termination->building->save();
}
$items = [];
// get workflow values from request