test
This commit is contained in:
@@ -101,14 +101,6 @@ class TestPao extends Command
|
||||
try {
|
||||
$ind++;
|
||||
echo "\nArticolo " . $ind;
|
||||
if (is_object($article)) {
|
||||
|
||||
$strarticolo = json_encode($article, JSON_PRETTY_PRINT);
|
||||
if ($strarticolo !== false) {
|
||||
echo $strarticolo;
|
||||
$log .= $strarticolo;
|
||||
}
|
||||
}
|
||||
|
||||
$mostra = false;
|
||||
if ($mostra_solo_qta_negative) {
|
||||
@@ -119,7 +111,16 @@ class TestPao extends Command
|
||||
$mostra = true;
|
||||
}
|
||||
if ($mostra) {
|
||||
echo "Articolo: " . $strarticolo;
|
||||
if (is_object($article)) {
|
||||
|
||||
if (false) {
|
||||
$strarticolo = json_encode($article, JSON_PRETTY_PRINT);
|
||||
if ($strarticolo !== false) {
|
||||
echo $strarticolo;
|
||||
$log .= $strarticolo;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($article->stock)
|
||||
echo "\r\n QTA = " . $article->stock . "\r\n";
|
||||
|
||||
Reference in New Issue
Block a user