diff --git a/packages/ep_products/Configuration/TCA/tx_epproducts_domain_model_snowreport.php b/packages/ep_products/Configuration/TCA/tx_epproducts_domain_model_snowreport.php index ff54d9f..90bd5be 100644 --- a/packages/ep_products/Configuration/TCA/tx_epproducts_domain_model_snowreport.php +++ b/packages/ep_products/Configuration/TCA/tx_epproducts_domain_model_snowreport.php @@ -109,6 +109,7 @@ return [ 'exclude' => 0, 'label' => 'Schneereport ID', 'config' => [ + 'readOnly' => true, 'type' => 'input', 'size' => 30, 'eval' => 'trim', @@ -119,6 +120,7 @@ return [ 'exclude' => 0, 'label' => 'Skigebiet', 'config' => [ + 'readOnly' => true, 'type' => 'input', 'size' => 30, 'eval' => 'trim', @@ -129,6 +131,7 @@ return [ 'exclude' => 0, 'label' => 'Gletscher', 'config' => [ + 'readOnly' => true, 'type' => 'check', ], ], @@ -136,6 +139,7 @@ return [ 'exclude' => 0, 'label' => 'Höhe max.', 'config' => [ + 'readOnly' => true, 'type' => 'number', 'size' => 30 ], @@ -144,6 +148,7 @@ return [ 'exclude' => 0, 'label' => 'Höhe min.', 'config' => [ + 'readOnly' => true, 'type' => 'number', 'size' => 30 ], @@ -152,6 +157,7 @@ return [ 'exclude' => 0, 'label' => 'Gebiet geöffnet', 'config' => [ + 'readOnly' => true, 'type' => 'check', ], ], @@ -159,6 +165,7 @@ return [ 'exclude' => 0, 'label' => 'Schneehöhe Berg', 'config' => [ + 'readOnly' => true, 'type' => 'number', 'size' => 30 ], @@ -167,6 +174,7 @@ return [ 'exclude' => 0, 'label' => 'Schneehöhe Tal', 'config' => [ + 'readOnly' => true, 'type' => 'number', 'size' => 30 ], @@ -175,6 +183,7 @@ return [ 'exclude' => 0, 'label' => 'Schneequalität', 'config' => [ + 'readOnly' => true, 'type' => 'input', 'size' => 30, 'eval' => 'trim' @@ -184,13 +193,11 @@ return [ 'exclude' => 0, 'label' => 'Letzter Schneefall', 'config' => [ + 'readOnly' => true, 'type' => 'datetime', 'size' => 13, 'checkbox' => 0, 'default' => 0, - 'range' => [ - 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')) - ], 'format' => 'date', ], ], @@ -198,6 +205,7 @@ return [ 'exclude' => 0, 'label' => 'Lifte gesamt', 'config' => [ + 'readOnly' => true, 'type' => 'number', 'size' => 30 ], @@ -206,6 +214,7 @@ return [ 'exclude' => 0, 'label' => 'Lifte geöffnet', 'config' => [ + 'readOnly' => true, 'type' => 'number', 'size' => 30 ], @@ -214,13 +223,11 @@ return [ 'exclude' => 0, 'label' => 'Letzte Aktualisierung', 'config' => [ + 'readOnly' => true, 'type' => 'datetime', 'size' => 13, 'checkbox' => 0, 'default' => 0, - 'range' => [ - 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')) - ], 'format' => 'date', ], ], @@ -237,13 +244,11 @@ return [ 'exclude' => 0, 'label' => 'Saison Anfang', 'config' => [ + 'readOnly' => true, 'type' => 'datetime', 'size' => 13, 'checkbox' => 0, 'default' => 0, - 'range' => [ - 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')) - ], 'format' => 'date', ], ], @@ -251,13 +256,11 @@ return [ 'exclude' => 0, 'label' => 'Saison Ende', 'config' => [ + 'readOnly' => true, 'type' => 'datetime', 'size' => 13, 'checkbox' => 0, 'default' => 0, - 'range' => [ - 'lower' => mktime(0, 0, 0, date('m'), date('d'), date('Y')) - ], 'format' => 'date', ], ],