aa
This commit is contained in:
@@ -247,6 +247,7 @@ function libriInPrevendita()
|
|||||||
->where('DescrizioneFormato', 'brossura')
|
->where('DescrizioneFormato', 'brossura')
|
||||||
->where('DescrizioneTipologia', 'Libri')
|
->where('DescrizioneTipologia', 'Libri')
|
||||||
->orderBy('DataPubblicazione', 'desc')
|
->orderBy('DataPubblicazione', 'desc')
|
||||||
|
|
||||||
->get();
|
->get();
|
||||||
$sep = ' | ';
|
$sep = ' | ';
|
||||||
|
|
||||||
@@ -258,7 +259,7 @@ function libriInPrevendita()
|
|||||||
|
|
||||||
$sku = $article->IdArticolo;
|
$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 . '] <br>';
|
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)->first();
|
$prodotto = Product::where('sku', $sku)->first();
|
||||||
if ($prodotto) {
|
if ($prodotto) {
|
||||||
|
|
||||||
@@ -277,5 +278,5 @@ function libriInPrevendita()
|
|||||||
$ind++;
|
$ind++;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $articles;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user