+
+ {[ "type": "number", "label": "", "name": "prezzo_acquisto", "value": "$prezzo_acquisto$", "icon-after": "€" ]}
+
+
+
{[ "type": "number", "label": "", "name": "prezzo_vendita", "value": "$prezzo_vendita$", "icon-after": "€" ]}
{[ "type": "select", "label": "", "name": "idiva_vendita", "values": "query=SELECT * FROM co_iva ORDER BY descrizione ASC", "value": "$idiva_vendita$", "valore_predefinito": "Iva predefinita" ]}
+
+
+ {[ "type": "number", "label": "", "name": "gg_garanzia", "decimals": 0, "value": "$gg_garanzia$", "icon-after": "GG" ]}
+
-
- {[ "type": "checkbox", "label": "", "name": "attivo", "value": "$attivo$", "help": "", "placeholder": "" ]}
-
-
-
- {[ "type": "checkbox", "label": "", "name": "abilita_serial", "value": "$abilita_serial$", "help": "", "placeholder": "" ]}
-
-fetchArray("SELECT id FROM zz_plugins WHERE name='Serial'");
-
- echo '
- ';
- }
-?>
-
-
- {[ "type": "number", "label": "", "name": "prezzo_acquisto", "value": "$prezzo_acquisto$", "icon-after": "€" ]}
-
-
-
- {[ "type": "number", "label": "", "name": "threshold_qta", "value": "$threshold_qta$", "decimals": "qta" ]}
-
-
-
- {[ "type": "number", "label": "", "name": "gg_garanzia", "decimals": 0, "value": "$gg_garanzia$" ]}
-
+
-
+
+
{[ "type": "number", "label": "", "name": "peso_lordo", "value": "$peso_lordo$", "icon-after": "KG" ]}
-
+
{[ "type": "number", "label": "", "name": "volume", "value": "$volume$", "icon-after": "M3" ]}
diff --git a/modules/ddt/edit.php b/modules/ddt/edit.php
index 3069073d2..234668d17 100644
--- a/modules/ddt/edit.php
+++ b/modules/ddt/edit.php
@@ -183,6 +183,8 @@ include $docroot.'/modules/ddt/row-list.php';