diff --git a/modules/anagrafiche/import.php b/modules/anagrafiche/import.php index 21034cb73..179fc018b 100644 --- a/modules/anagrafiche/import.php +++ b/modules/anagrafiche/import.php @@ -95,6 +95,9 @@ return [ [ 'field' => 'codice', 'label' => 'Codice', + 'names' => [ + 'codice', + ], 'primary_key' => true, ], [ diff --git a/modules/articoli/edit.php b/modules/articoli/edit.php index cf12f4e7d..fdafefd10 100644 --- a/modules/articoli/edit.php +++ b/modules/articoli/edit.php @@ -26,13 +26,9 @@ $_SESSION['superselect']['id_categoria'] = $record['id_categoria']; {[ "type": "text", "label": "", "name": "codice", "required": 1, "value": "$codice$", "validation": "codice" ]} -
+
{[ "type": "text", "label": "", "name": "barcode", "value": "$barcode$" ]} -
- -
- {[ "type": "checkbox", "label": "", "name": "attivo", "value": "$attivo$", "placeholder": "" ]} -
+
@@ -57,8 +53,8 @@ $_SESSION['superselect']['id_categoria'] = $record['id_categoria']; {[ "type": "number", "label": "", "name": "qta", "required": 1, "value": "$qta$", "readonly": 1, "decimals": "qta", "min-value": "undefined" ]}
-
- {[ "type": "checkbox", "label": "", "name": "qta_manuale", "value": 0, "help": "", "placeholder": "", "extra": "" ]} +
+ {[ "type": "checkbox", "label": "", "name": "qta_manuale", "value": 0, "help": "", "placeholder": "", "extra": "" ]}