improve and add dashboard
This commit is contained in:
@@ -20,6 +20,7 @@ class WorkorderTenantConfigController extends TTCrud {
|
||||
$data['interventionTypes'] = json_encode($data['interventionTypes'] ?? []);
|
||||
$data['workorderCreationFilters'] ??= '{}';
|
||||
$data['workorderActiveFilters'] ??= '{}';
|
||||
$data['autoCompleteFilter'] ??= null;
|
||||
|
||||
if (empty($data['id'])) {
|
||||
$data['create'] = time();
|
||||
|
||||
@@ -8,6 +8,7 @@ class WorkorderTenantConfigModel extends TTCrudBaseModel {
|
||||
public string $documentationTypes; // JSON
|
||||
public string $workorderCreationFilters; // JSON
|
||||
public ?string $workorderActiveFilters; // JSON
|
||||
public ?string $autoCompleteFilter; // JSON
|
||||
public ?string $interventionTypes; // JSON
|
||||
public int $civilEngineeringDocsRequired;
|
||||
public int $requireCableLength;
|
||||
|
||||
Reference in New Issue
Block a user