This commit is contained in:
paoloar77
2024-08-14 15:30:25 +02:00
parent 4c72444b17
commit c943a355ef
4 changed files with 21 additions and 2043 deletions

View File

@@ -474,6 +474,24 @@ function loadArticleByIdArticle($id, $checkprevendita = false, $checkqtanegativa
}
}
function showTest()
{
$codarticolo = "16670";
$mystr = '*** TEST: codarticolo: ' . $codarticolo;
if ($codarticolo) {
try {
$product = Product::where('sku', $codarticolo)->first();
} catch (\Exception $e) {
return "Errore: " . $e->getMessage();
}
$mystr += getarraystr($product);
return $mystr;
}
}
function showOrdini()
{
$str = "";