mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-21 05:23:58 +00:00
Laravel Vapor - Debug approve purchase order issue
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user