diff --git a/modules/statistiche/edit.php b/modules/statistiche/edit.php index 4977a16ed..eb62bc1ee 100755 --- a/modules/statistiche/edit.php +++ b/modules/statistiche/edit.php @@ -534,17 +534,6 @@ echo '

'.tr('Ore di lavoro per tecnico').'

- -
-
'; -if ($_SESSION['superselect']['idtipiintervento']) { - echo ' - {["type": "select", "multiple": "1", "label": "'.tr('Tipi attività').'", "name": "idtipiintervento[]", "ajax-source": "tipiintervento", "value": "'.implode(',', (array) json_decode((string) $_SESSION['superselect']['idtipiintervento'])).'", "placeholder": "Tutti" ]}'; -} -echo ' -
-
-
+
+
'; + if ($_SESSION['superselect']['idanagrafica']) { + echo ' + {["type": "select", "multiple": "1", "label": "'.tr('Tipi attività').'", "name": "idtipiintervento[]", "ajax-source": "tipiintervento", "value": "'.implode(',', (array) json_decode((string) $_SESSION['superselect']['idtipiintervento'])).'", "placeholder": "Tutti" ]}'; + } + echo ' +
+
+