test
This commit is contained in:
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user