From 4a306f0c1534e233579385e83cf1995e0a8a5034 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Thu, 27 Jun 2024 09:15:40 +0200 Subject: [PATCH] aa --- routes/web.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/routes/web.php b/routes/web.php index 94b5ec34..a861b801 100644 --- a/routes/web.php +++ b/routes/web.php @@ -2156,6 +2156,11 @@ Route::post('/updatecreate', function (Request $request) { $productLogger = new ProductLogger(null, 'neworders'); $productLogger->addLog('', 'updatecreate: ARRIVATO ORDINE'); + try { + $productLogger->addLog('', json_encode($request->all())); + } catch (Exception $e) { + } + $changedest = false; if (($request->shipping['address_1'] != null && $request->shipping['address_1'] != '' && $request->shipping['address_1'] != $request->billing['address_1']) || ($request->shipping['first_name'] != null && $request->shipping['first_name'] != '' && $request->shipping['first_name'] != $request->billing['first_name'])) { $changedest = true;