diff --git a/app/Console/Commands/TestPao.php b/app/Console/Commands/TestPao.php index 0cefa4f8..80194e5a 100644 --- a/app/Console/Commands/TestPao.php +++ b/app/Console/Commands/TestPao.php @@ -121,7 +121,8 @@ class TestPao extends Command if ($mostra) { echo "Articolo: " . $strarticolo; - echo "\r\n QTA = " . $article->stock . "\r\n"; + if ($article->stock) + echo "\r\n QTA = " . $article->stock . "\r\n"; } $productsku = Product::where('sku', $article->IdArticolo)->first();