mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-23 22:44:03 +00:00
convert 1688 purchase orders to po
This commit is contained in:
+2
-2
@@ -389,8 +389,8 @@ Route::get('/1688/fix', function(){
|
||||
$parser = new \Smalot\PdfParser\Parser();
|
||||
try {
|
||||
$pdf = $parser->parseFile(Storage::disk('documents')->path($file->file->file_info->original->file));
|
||||
} catch (Exception $e){
|
||||
dd($file);
|
||||
} catch (Exception $e) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$text = $pdf->getText();
|
||||
|
||||
Reference in New Issue
Block a user