We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1a30fc commit c0eb65fCopy full SHA for c0eb65f
2 files changed
modules/fatture/src/Fattura.php
@@ -541,7 +541,7 @@ public function isFE()
541
{
542
$file = $this->getFatturaElettronica();
543
544
- return !empty($this->progressivo_invio) && $file->directory && file_exists('files/'.$file->directory);
+ return !empty($this->progressivo_invio) && $file->attachments_directory && file_exists('files/'.$file->attachments_directory);
545
}
546
547
/**
plugins/exportFE/download.php
@@ -21,4 +21,4 @@
21
include_once __DIR__.'/init.php';
22
23
$file = $fattura->getFatturaElettronica();
24
-download(base_dir().'/files/'.$file->directory.'/'.$file->filename, $file->original_name);
+download(base_dir().'/files/'.$file->attachments_directory.'/'.$file->filename, $file->original_name);
0 commit comments