Added InvoiceJob
This commit is contained in:
@@ -108,7 +108,13 @@ XINON GmbH";
|
||||
return false;
|
||||
}
|
||||
|
||||
$pdf_filename = $pdf->getFullPath();
|
||||
$pdf_filename = false;
|
||||
try {
|
||||
$pdf_filename = $pdf->getFullPath();
|
||||
} catch(\Exception $e) {
|
||||
$this->log->error("File for Invoice ".$this->id." not found");
|
||||
}
|
||||
|
||||
if(!$pdf_filename || !file_exists($pdf_filename)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user