mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-17 09:24:38 -04:00
Bugfixes
This commit is contained in:
parent
19fcab3b35
commit
7fada967f3
@ -55,8 +55,14 @@ class MergeEInvoice implements ShouldQueue
|
|||||||
else {
|
else {
|
||||||
$realpath_pdf = Storage::disk($disk)->path($filepath_pdf);
|
$realpath_pdf = Storage::disk($disk)->path($filepath_pdf);
|
||||||
}
|
}
|
||||||
$pdfBuilder = new ZugferdDocumentPdfBuilder($e_rechnung, $realpath_pdf);
|
if (file_exists($realpath_pdf)){
|
||||||
$pdfBuilder->generateDocument();
|
$pdfBuilder = new ZugferdDocumentPdfBuilder($e_rechnung, $realpath_pdf);
|
||||||
$pdfBuilder->saveDocument($realpath_pdf);
|
$pdfBuilder->generateDocument();
|
||||||
|
$pdfBuilder->saveDocument($realpath_pdf);
|
||||||
|
}
|
||||||
|
else{
|
||||||
|
nlog("E_Invoice Merge failed - file to merge not found");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user