This commit is contained in:
paoloar77
2024-06-13 10:08:26 +02:00
parent 829c8c64cd
commit 6f2ee60f4b

View File

@@ -253,7 +253,7 @@ function showOrdini()
// Show the fields of the orders
foreach ($orders as $order) {
$product = Product::where('sku', $order->CodArticoloGM)->pluck('name')->first();
$product = Product::where('sku', $order->CodArticoloGM)->first();
$str .= getvalstr("", $order->Codice) . " ";
$str .= getvalstr("", $order->DataOra);
@@ -267,7 +267,7 @@ function showOrdini()
$str .= getvalstr("Descr", $order->Descrizione);
//$str .= $product;
$str .= $product;
// $str .= $product;
$str .= '<br>';
}