Skip to content

Commit c0eb65f

Browse files
committed
fix: download xml
1 parent a1a30fc commit c0eb65f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

modules/fatture/src/Fattura.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ public function isFE()
541541
{
542542
$file = $this->getFatturaElettronica();
543543

544-
return !empty($this->progressivo_invio) && $file->directory && file_exists('files/'.$file->directory);
544+
return !empty($this->progressivo_invio) && $file->attachments_directory && file_exists('files/'.$file->attachments_directory);
545545
}
546546

547547
/**

plugins/exportFE/download.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
include_once __DIR__.'/init.php';
2222

2323
$file = $fattura->getFatturaElettronica();
24-
download(base_dir().'/files/'.$file->directory.'/'.$file->filename, $file->original_name);
24+
download(base_dir().'/files/'.$file->attachments_directory.'/'.$file->filename, $file->original_name);

0 commit comments

Comments
 (0)