mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Laravel Vapor - Debug approve purchase order issue
This commit is contained in:
@@ -66,7 +66,9 @@ class CreateInvoiceDocumentProcessor
|
||||
if($filesystemDriver === 's3'){
|
||||
Log::info('CreateInvoiceDocumentProcessor 1: ' . $currentFile);
|
||||
$fileContent = Storage::disk('s3')->get($currentFile);
|
||||
Storage::put('app/documents/' . $currentFile, $fileContent);
|
||||
$filepath = storage_path('app/documents/' . $currentFile);
|
||||
file_put_contents($filepath, $fileContent);
|
||||
// Storage::put('app/documents/' . $currentFile, $fileContent);
|
||||
}
|
||||
|
||||
$localFilePath = storage_path('app/documents/' . $currentFile);
|
||||
|
||||
Reference in New Issue
Block a user