mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-28 17:04:06 +00:00
Merge branch 'dillon/34.3-jenkins-vapor' into vapor/development
This commit is contained in:
@@ -13,6 +13,7 @@ use Illuminate\Support\Facades\Validator;
|
||||
use Maatwebsite\Excel\Facades\Excel;
|
||||
use PhpOffice\PhpSpreadsheet\Shared\Date;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
class ImportPermitsReminderController
|
||||
{
|
||||
@@ -25,6 +26,8 @@ class ImportPermitsReminderController
|
||||
$object = new DocumentObject('', $request->input('files'), '', ApprovalStatus::APPROVED, 'imports');
|
||||
$file = json_decode($object->getFiles()[0])->file_info->original->file;
|
||||
|
||||
Log::info('ImportPermitsReminderController file' . $file);
|
||||
|
||||
$filesystemDriver = Storage::getDefaultDriver();
|
||||
if($filesystemDriver === 's3'){
|
||||
$file = Storage::disk('s3')->path('documents/' . $file);
|
||||
|
||||
Reference in New Issue
Block a user