diff --git a/routes/web.php b/routes/web.php index 391c050f..3dce815b 100644 --- a/routes/web.php +++ b/routes/web.php @@ -6063,7 +6063,7 @@ Route::get('/ordineclientegm/{id}', function ($id) { Route::get('/provapao', [TestPaoController::class, 'provapao']); -Route::get('/aggiornapreorder/{idarticolo}/{postid}', function ($idarticolo, $postid) { +Route::get('/aggiornapreorder/{idarticolo}/{postid}/{aggiornapreordine}', function ($idarticolo, $postid, $aggiornapreordine) { try { // Aggiorna Preorder $product = Product::where('sku', $idarticolo)->first(); @@ -6104,8 +6104,6 @@ Route::get('/aggiornapreorder/{idarticolo}/{postid}', function ($idarticolo, $po } }*/ - $aggiornapreordine = false; - if ($aggiornapreordine) { $data = []; $data['stock_quantity'] = '1000';