diff --git a/routes/web.php b/routes/web.php index 6dbe70ef..e85c483d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -6204,9 +6204,8 @@ Route::get('/qtanegativa', function () { $sku = $article->IdArticolo; echo '[' . $ind . ']' . $sep . $mydatestr . $sep . $article->Id . $sep . $article->IdArticolo . $sep . $article->Titolo . $sep . $article->DescrizioneStatoProdotto . $sep . $article->DescrizioneFormato . '[Quantita = ' . $article->QtaDisponibile . ']
'; - $prodotto = Product::where('sku', $sku); + $prodotto = Product::where('sku', $sku)->first(); if ($prodotto) { - dd($prodotto); showarray($prodotto); }