diff --git a/modules/causali/edit.php b/modules/causali/edit.php index f075774e2..809909d56 100755 --- a/modules/causali/edit.php +++ b/modules/causali/edit.php @@ -25,29 +25,30 @@ include_once __DIR__.'/../../core.php';
-
+
{[ "type": "text", "label": "", "name": "descrizione", "required": 1, "value": "$descrizione$" ]}
- -
- {[ "type": "checkbox", "label": "", "name": "predefined", "value": "$predefined$", "help":"." ]} -
- -
+
+
+

-
- {[ "type": "checkbox", "label": "", "name": "is_importabile", "value": "$is_importabile$", "help": "", "placeholder": "" ]} -
-
- {[ "type": "checkbox", "label": "", "name": "reversed", "value": "$reversed$", "help": "", "placeholder": "" ]} +
+ {[ "type": "checkbox", "label": "", "name": "predefined", "value": "$predefined$", "help":"." ]} +
+
+ {[ "type": "checkbox", "label": "", "name": "is_importabile", "value": "$is_importabile$", "help": "", "placeholder": "" ]} +
+
+ {[ "type": "checkbox", "label": "", "name": "reversed", "value": "$reversed$", "help": "", "placeholder": "" ]} +
diff --git a/modules/ddt/add.php b/modules/ddt/add.php index 96ce5cd3b..ef451aadf 100755 --- a/modules/ddt/add.php +++ b/modules/ddt/add.php @@ -36,7 +36,7 @@ if ($module['name'] == 'Ddt di vendita') { $tipo_anagrafica = tr('Fornitore'); $label = tr('Mittente'); } - +$id_causalet = $dbo->fetchOne('SELECT id FROM dt_causalet WHERE predefined=1')['id']; $id_anagrafica = !empty(get('idanagrafica')) ? get('idanagrafica') : ''; ?>
@@ -62,7 +62,7 @@ $id_anagrafica = !empty(get('idanagrafica')) ? get('idanagrafica') : '';
- {[ "type": "select", "label": "", "name": "idcausalet", "required": 1, "value": "$idcausalet$", "ajax-source": "causali", "icon-after": "add||||" ]} + {[ "type": "select", "label": "", "name": "idcausalet", "required": 1, "value": "", "ajax-source": "causali", "icon-after": "add||||" ]}