From 68b4e68275f04d416b1b5d563f1e7cf33938c410 Mon Sep 17 00:00:00 2001 From: Pek5892 Date: Fri, 12 May 2023 09:53:26 +0200 Subject: [PATCH] Fix minore pianificazione interventi --- .../pianificazione_interventi/pianificazione.php | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) 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 ' +
';