agg
This commit is contained in:
@@ -115,7 +115,7 @@ class ProductUpdateQta extends Command
|
|||||||
$log .= ' *** ' . $stock->Codice . ' ' . $titolo . ' QTA=' . $stock->QtaDisponibile . "\n";
|
$log .= ' *** ' . $stock->Codice . ' ' . $titolo . ' QTA=' . $stock->QtaDisponibile . "\n";
|
||||||
|
|
||||||
if ($inprevendita_qtaneg && ($qtyinstock != QTA_IN_PREVENDITA)) {
|
if ($inprevendita_qtaneg && ($qtyinstock != QTA_IN_PREVENDITA)) {
|
||||||
setPreOrder($stock->Codice, true, false);
|
setPreOrder($stock->Codice, "1", false);
|
||||||
$log .= ' SEtTATO IN PREVENDITA ! <br>';
|
$log .= ' SEtTATO IN PREVENDITA ! <br>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1360,7 +1360,7 @@ function setProductFromGM($article, $initlog, ProductLogger &$passproductLogger)
|
|||||||
// Controlla se è in preordine
|
// Controlla se è in preordine
|
||||||
$inprevendita = isArticleInPrevendita($article->IdArticolo, true);
|
$inprevendita = isArticleInPrevendita($article->IdArticolo, true);
|
||||||
if ($inprevendita) {
|
if ($inprevendita) {
|
||||||
setPreOrder($article->IdArticolo, true, false);
|
setPreOrder($article->IdArticolo, "1", false);
|
||||||
$productLogger->addLog('pre_order', ' SEtTATO IN PREVENDITA ! <br>');
|
$productLogger->addLog('pre_order', ' SEtTATO IN PREVENDITA ! <br>');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user