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