diff --git a/plugins/importFE/buttons.php b/plugins/importFE/buttons.php index f0f04815f..e286b80f8 100755 --- a/plugins/importFE/buttons.php +++ b/plugins/importFE/buttons.php @@ -59,7 +59,10 @@ function compile(btn) { return; } - $("#id_tipo").selectSet(response.id_tipo); + if(!$("#id_tipo").val()) { + $("#id_tipo").selectSet(response.id_tipo); + } + $("#pagamento").selectSetNew(response.pagamento.id, response.pagamento.descrizione); $("select[name^=iva]").each(function(){