added tiefbau flag

This commit is contained in:
Luca Haid
2026-01-27 11:20:25 +01:00
parent 4507b392bc
commit 60e3c7b765
5 changed files with 85 additions and 17 deletions

View File

@@ -193,6 +193,7 @@ class WorkorderCompanyController extends WorkorderBaseController {
'requireCableLength' => $tenantConfig->requireCableLength,
'requireCableType' => $tenantConfig->requireCableType,
'showTechnicalData' => (bool)$tenantConfig->showTechnicalData,
'tiefbauSeesNormalDocs' => (bool)$tenantConfig->tiefbauSeesNormalDocs,
];
if ($tenantConfig->showTechnicalData) {

View File

@@ -13,6 +13,7 @@ class WorkorderTenantConfigModel extends TTCrudBaseModel {
public int $requireCableLength;
public int $requireCableType;
public int $showTechnicalData = 0;
public int $tiefbauSeesNormalDocs = 0;
public int $enableWorkorder;
public int $enableWorkorderMph;
public int $create;