Merge remote-tracking branch 'devcode-it/master'

This commit is contained in:
Thomas Zilio 2020-03-02 09:17:42 +01:00
commit 477f025f55
1 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,9 @@ function compile(btn) {
$("select[name^=iva]").each(function(){
var aliquota = $(this).closest("tr").find("[id^=aliquota]").text();
$(this).selectSet(data.iva[aliquota].id);
if (data.iva[aliquota] !== undefined){
$(this).selectSet(data.iva[aliquota].id);
}
});
$("select[name^=conto]").each(function(){