From ada35fd5b3354afbdb69a02124e24d0da621c9fc Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Fri, 17 May 2024 12:24:50 +0200 Subject: [PATCH] test --- app/Console/Commands/TestPao.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();