From 042c84cecca5d67ce1c0f7a0494b6d22de43e3b1 Mon Sep 17 00:00:00 2001 From: Luca Haid Date: Tue, 2 Sep 2025 11:25:37 +0000 Subject: [PATCH] Update WorkorderCompanyController.php --- application/WorkorderCompany/WorkorderCompanyController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/WorkorderCompany/WorkorderCompanyController.php b/application/WorkorderCompany/WorkorderCompanyController.php index 38273e7e9..646f0909c 100644 --- a/application/WorkorderCompany/WorkorderCompanyController.php +++ b/application/WorkorderCompany/WorkorderCompanyController.php @@ -126,7 +126,7 @@ class WorkorderCompanyController extends WorkorderBaseController { self::returnJson(['success' => false, 'message' => 'Keine Mandantenkonfiguration gefunden.']); return; } - self::returnJson(['success' => true, 'documentationTypes' => json_decode($tenantConfig->documentationTypes, true), 'civilEngineeringDocsRequired' => $tenantConfig->civilEngineeringDocsRequired]); + self::returnJson(['success' => true, 'documentationTypes' => json_decode($tenantConfig->documentationTypes, true), 'civilEngineeringDocsRequired' => $tenantConfig->civilEngineeringDocsRequired, 'interventionTypes' => json_decode($tenantConfig->interventionTypes, true)]); } protected function uploadDocumentationAction() { @@ -192,4 +192,4 @@ class WorkorderCompanyController extends WorkorderBaseController { self::returnJson(['success' => true, 'message' => 'Tiefbau erfolgreich abgeschlossen.']); } //endregion -} \ No newline at end of file +}