fixed offline mode

This commit is contained in:
Luca Haid
2026-01-27 11:40:34 +01:00
parent 53d3f535f2
commit 8bfc639a44

View File

@@ -165,6 +165,7 @@ class WorkorderHandler extends MobileAppBaseHandler {
); );
$tenantConfigData = [ $tenantConfigData = [
'addressId' => $tenantConfig->addressId,
'documentationTypes' => $customTypes, 'documentationTypes' => $customTypes,
'civilEngineeringDocsRequired' => (bool)$tenantConfig->civilEngineeringDocsRequired, 'civilEngineeringDocsRequired' => (bool)$tenantConfig->civilEngineeringDocsRequired,
'interventionTypes' => json_decode($tenantConfig->interventionTypes, true) ?? [], 'interventionTypes' => json_decode($tenantConfig->interventionTypes, true) ?? [],