From 52974fd5149249943d6074970ff4c643dfd6e467 Mon Sep 17 00:00:00 2001 From: Omair Saleh Date: Thu, 29 Sep 2022 05:01:45 +0800 Subject: [PATCH] convert 1688 purchase orders to po --- routes/web.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/routes/web.php b/routes/web.php index 811a6712..84980320 100644 --- a/routes/web.php +++ b/routes/web.php @@ -394,6 +394,8 @@ Route::get('/1688/fix', function(){ } $text = $pdf->getText(); + if(str_contains($text, '订单详情单')) continue; + $tables = explode('Amount (yuan)', $text); array_shift($tables);