diff --git a/modules/fatture/edit.php b/modules/fatture/edit.php index 13d4b73cf..17f267539 100755 --- a/modules/fatture/edit.php +++ b/modules/fatture/edit.php @@ -798,7 +798,7 @@ if ($dir == 'uscita' && $fattura->isFE()) { } ?> -{( "name": "filelist_and_upload", "id_module": "$id_module$", "id_record": "$id_record$" )} +{( "name": "filelist_and_upload", "id_module": "$id_module$", "id_record": "$id_record$", "abilita_genera": "" )} - - + '; + if (!$file->isFatturaElettronica() || $options['abilita_genera']) { + $result .= ' '; + } } $result .= '