. */ include_once __DIR__.'/../../core.php'; use Modules\Interventi\Stato; use Models\Module; $stato = Stato::find($id_record); if ($record['can_delete']) { $attr = ''; } else { $attr = 'readonly'; echo '
'.tr('Alcune impostazioni non possono essere modificate per questo stato attività.').'
'; } ?>
{[ "type": "text", "label": "", "name": "codice", "value": "$codice$", "extra": "", "required":1 ]}
{[ "type": "text", "label": "", "name": "descrizione", "required": 1, "value": "getTranslation('name'); ?>" ]}
{[ "type": "text", "label": "", "name": "colore", "required": 1, "class": "colorpicker text-center", "value": "$colore$", "extra": "maxlength='7'", "icon-after": "
" ]}
{[ "type": "checkbox", "label": "", "name": "notifica", "help": ".", "value": "$notifica$" ]}

{[ "type": "select", "label": "", "name": "email", "value": "$id_email$", "values": "query=SELECT `em_templates`.`id`, `em_templates_lang`.`name` AS descrizione FROM `em_templates` LEFT JOIN `em_templates_lang` ON (`em_templates`.`id` = `em_templates_lang`.`id_record` AND `em_templates_lang`.`id_lang` = id); ?>) WHERE `id_module` = getByField('name', 'Interventi'); ?> AND `deleted_at` IS NULL", "disabled": , "required":1 ]}
{[ "type": "text", "label": "", "name": "destinatari", "value": "$destinatari$", "icon-before": "", "disabled": ]}
{[ "type": "checkbox", "label": "", "name": "notifica_cliente", "help": ".", "value": "$notifica_cliente$" ]}
{[ "type": "checkbox", "label": "", "name": "notifica_tecnico_sessione", "help": ".", "value": "$notifica_tecnico_sessione$" ]}
{[ "type": "checkbox", "label": "", "name": "notifica_tecnico_assegnato", "help": ".", "value": "$notifica_tecnico_assegnato$" ]}

{[ "type": "checkbox", "label": "", "name": "is_completato", "value": "$is_completato$", "help": "", "placeholder": "", "extra": "" ]} {[ "type": "checkbox", "label": "", "name": "is_fatturabile", "value": "$is_fatturabile$", "help": "", "placeholder": "", "extra": "" ]}