From 6a7ab3ec86ab0ad3a6a83a0eafccc4375f5476dc Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Tue, 3 Sep 2024 12:05:34 +0200 Subject: [PATCH] aa --- routes/web.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/routes/web.php b/routes/web.php index ad07e63a..16ce2046 100644 --- a/routes/web.php +++ b/routes/web.php @@ -40,6 +40,7 @@ Route::get('/woocommerce/test', [WooCommerceController::class, 'index']); | contains the "web" middleware group. Now create something great! | */ + use Illuminate\Support\Facades\DB; use Codexshaper\WooCommerce\Facades\Product; @@ -2423,7 +2424,7 @@ Route::post('/updatecreate', function (Request $request) { // $productLogger->addLog('', 'updatecreate: CHECK ORDINE... '); try { - // $productLogger->addLog('', json_encode($request->all())); + // $productLogger->addLog('', json_encode($request->all())); } catch (Exception $e) { } @@ -2524,7 +2525,7 @@ Route::get('/riprendiordine', function () { $prodotti = $line_items; foreach ($prodotti as $prodotto) { // $myexistorder = getOrderByIdInternet($myidInternet); - if (true) { + if (true) { $orderdetail = new Orderdetail(); $orderdetail->IdInternet = $myidInternet; @@ -6350,7 +6351,7 @@ Route::get('/handle-article-action-pao/{id}/{action}', function ($id, $action) { if ($action == 'search') { // Logica di ricerca dell'articolo return loadArticleByIdArticle($id); - if ($action == 'search_isbn') { + } elseif ($action == 'search_isbn') { // Logica di ricerca dell'articolo return loadArticleByISBN($id); } elseif ($action == 'updateArtFromGM') {