diff --git a/app/Classes/Modules/Transactions/Processors/CreateInvoiceDocumentProcessor.php b/app/Classes/Modules/Transactions/Processors/CreateInvoiceDocumentProcessor.php index 87e39013..899bff7b 100644 --- a/app/Classes/Modules/Transactions/Processors/CreateInvoiceDocumentProcessor.php +++ b/app/Classes/Modules/Transactions/Processors/CreateInvoiceDocumentProcessor.php @@ -72,7 +72,6 @@ class CreateInvoiceDocumentProcessor mkdir($directoryPath, 0755, true); } file_put_contents($filepath, $fileContent); - // Storage::put('app/documents/' . $currentFile, $fileContent); } $localFilePath = storage_path('app/documents/' . $currentFile); @@ -87,7 +86,7 @@ class CreateInvoiceDocumentProcessor $finalTempPdfPath = storage_path('app/documents/temp.pdf'); $filePathForS3 = 'documents/temp/temp.pdf'; $fileContent = file_get_contents($finalTempPdfPath); - Log::info('CreateInvoiceDocumentProcessor 2: ' . $filePathForS3); + Log::info('CreateInvoiceDocumentProcessor 2 filePathForS3: ' . $filePathForS3); Storage::disk('s3')->put($filePathForS3, $fileContent); } }