From cd801efce956ffcc5ea3ae3f9f39ed4f2d8aaf80 Mon Sep 17 00:00:00 2001 From: Pek5892 Date: Fri, 1 Mar 2024 16:17:00 +0100 Subject: [PATCH] Fix minore --- include/common/importa.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/common/importa.php b/include/common/importa.php index 470b0ca76..d2ea72486 100755 --- a/include/common/importa.php +++ b/include/common/importa.php @@ -158,7 +158,7 @@ if (!empty($options['create_document'])) { echo '
- {[ "type": "select", "label": "'.tr('Stato').'", "name": "id_stato", "required": 1, "values": "query=SELECT * FROM `or_statiordine` LEFT JOIN `or_statiordine_lang` ON (`or_statiordine`.`id` = `or_statiordine_lang`.`id_record` AND `or_statiordine_lang`.`id_lang` = '.prepare(setting('Lingua')).') WHERE `name` IN(\'Bozza\', \'Accettato\', \'In attesa di conferma\', \'Annullato\')", "value": "'.$stato_predefinito['id'].'" ]} + {[ "type": "select", "label": "'.tr('Stato').'", "name": "id_stato", "required": 1, "values": "query=SELECT * ,`or_statiordine`.`id`, `or_statiordine_lang`.`name` AS descrizione FROM `or_statiordine` LEFT JOIN `or_statiordine_lang` ON (`or_statiordine`.`id` = `or_statiordine_lang`.`id_record` AND `or_statiordine_lang`.`id_lang` = '.prepare(setting('Lingua')).') WHERE `name` IN(\'Bozza\', \'Accettato\', \'In attesa di conferma\', \'Annullato\')", "value": "'.$stato_predefinito.'" ]}
'; }