Added icons in quick contract view

This commit is contained in:
Frank Schubert
2024-08-20 20:16:22 +02:00
parent 8025657842
commit bf0a5b727a
3 changed files with 25 additions and 17 deletions

View File

@@ -313,7 +313,8 @@ class PipeworkController extends mfBaseController {
if($r->pipework_enabled != 1 && $building->pipework_enabled == 1) {
$building->pipework_enabled = 0;
$building->pipework_enabled_date = 0;
$building->pipework_enabled_date = date('U');
$building->pipework_enabled_by = $this->me->id;
$building->save();
}