t
This commit is contained in:
@@ -125,7 +125,7 @@ class TestPao extends Command
|
|||||||
|
|
||||||
$productsku = Product::where('sku', $article->IdArticolo)->first();
|
$productsku = Product::where('sku', $article->IdArticolo)->first();
|
||||||
//if(Gm_product::where('id_gm',$article->IdArticolo)->doesntExist())
|
//if(Gm_product::where('id_gm',$article->IdArticolo)->doesntExist())
|
||||||
if ($productsku->count() == 0) {
|
if ($productsku->count() == 1110) {
|
||||||
$titolo = null;
|
$titolo = null;
|
||||||
$formato = null;
|
$formato = null;
|
||||||
$prodotti = null;
|
$prodotti = null;
|
||||||
@@ -133,7 +133,7 @@ class TestPao extends Command
|
|||||||
$titolo = $article->Titolo;
|
$titolo = $article->Titolo;
|
||||||
switch ($article->DescrizioneTipologia) {
|
switch ($article->DescrizioneTipologia) {
|
||||||
|
|
||||||
case 'LibriAA':
|
case 'Libri':
|
||||||
|
|
||||||
$prodotti = $prodotti->where('name', $titolo)->get();
|
$prodotti = $prodotti->where('name', $titolo)->get();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user