diff --git a/app/Jobs/Vendor/CreatePurchaseOrderPdf.php b/app/Jobs/Vendor/CreatePurchaseOrderPdf.php index e4a360079246..d11f62e64f0e 100644 --- a/app/Jobs/Vendor/CreatePurchaseOrderPdf.php +++ b/app/Jobs/Vendor/CreatePurchaseOrderPdf.php @@ -65,6 +65,10 @@ class CreatePurchaseOrderPdf implements ShouldQueue public $vendor; + private string $path = ''; + + private string $file_path = ''; + /** * Create a new job instance. * @@ -110,7 +114,7 @@ class CreatePurchaseOrderPdf implements ShouldQueue } } - return $file_path; + return $this->file_path; } public function rawPdf()