mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-22 14:04:01 +00:00
convert 1688 purchase order to po
This commit is contained in:
+1
-1
@@ -385,7 +385,7 @@ Route::get('/1688/fix', function(){
|
||||
foreach($purchaseOrderDocuments as $document){
|
||||
foreach($document->files as $file) {
|
||||
$parser = new \Smalot\PdfParser\Parser();
|
||||
$pdf = $parser->parseFile($file>file->file_info->original->file);
|
||||
$pdf = $parser->parseFile($file->file->file_info->original->file);
|
||||
|
||||
$text = $pdf->getText();
|
||||
$tables = explode('Amount (yuan)', $text);
|
||||
|
||||
Reference in New Issue
Block a user