convert 1688 purchase orders to po

This commit is contained in:
Omair Saleh
2022-09-29 03:48:59 +08:00
parent 15f695763d
commit 819bcb7f36
+2 -2
View File
@@ -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();