diff --git a/plugins/pianificazione_interventi/pianificazione.php b/plugins/pianificazione_interventi/pianificazione.php index 6f4401cd0..f7f41025a 100755 --- a/plugins/pianificazione_interventi/pianificazione.php +++ b/plugins/pianificazione_interventi/pianificazione.php @@ -120,9 +120,18 @@ echo '
-
- {[ "type": "textarea", "label": "'.tr('Descrizione').'", "name": "richiesta", "id": "richiesta_", "readonly": '.intval($block_edit).', "value": "'.$record['richiesta'].'" ]} -
+
'; + echo input([ + 'type' => 'ckeditor', + 'label' => tr('Richiesta'), + 'name' => 'richiesta', + 'required' => 1, + 'readonly' => $record['flag_completato'], + 'extra' => 'rows="5"', + 'value' => $record['richiesta'], + ]); + echo ' +
';