From d102d6badd672f8803cb17866e87eb4c3b5cc6f9 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Thu, 13 Jun 2024 14:49:48 +0200 Subject: [PATCH] aa --- app/CustomFuncPao.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index be1a2885..1782d809 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -356,7 +356,7 @@ function libriInPrevendita() '[Qta = ' . $article->QtaDisponibile . ']' . $sep . '[In Stock = ' . $qtyinstock . ']' . $sep; - if ($qtyinstock > 0) { + if ($qtyinstock < 0) { $myview .= 'Imposta in PRE-ORDINE!' . $sep; }