From c4c9ee6f95f6597951da316cd4a507eab0fcb82d Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Fri, 17 May 2024 12:28:02 +0200 Subject: [PATCH] t --- app/Console/Commands/TestPao.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/TestPao.php b/app/Console/Commands/TestPao.php index 3d89d319..237ab02c 100644 --- a/app/Console/Commands/TestPao.php +++ b/app/Console/Commands/TestPao.php @@ -125,7 +125,7 @@ class TestPao extends Command $productsku = Product::where('sku', $article->IdArticolo)->first(); //if(Gm_product::where('id_gm',$article->IdArticolo)->doesntExist()) - if ($productsku->count() == 0) { + if ($productsku->count() == 1110) { $titolo = null; $formato = null; $prodotti = null; @@ -133,7 +133,7 @@ class TestPao extends Command $titolo = $article->Titolo; switch ($article->DescrizioneTipologia) { - case 'LibriAA': + case 'Libri': $prodotti = $prodotti->where('name', $titolo)->get();