aa
This commit is contained in:
@@ -253,7 +253,7 @@ function showOrdini()
|
||||
|
||||
// Show the fields of the orders
|
||||
foreach ($orders as $order) {
|
||||
$product = Product::where('sku', $order->CodArticoloGM)->first();
|
||||
$product = Product::where('sku', $order->CodArticoloGM)->pluck('name')->first();
|
||||
|
||||
$str .= getvalstr("", $order->Codice) . " ";
|
||||
$str .= getvalstr("", $order->DataOra);
|
||||
@@ -267,7 +267,7 @@ function showOrdini()
|
||||
$str .= getvalstr("Descr", $order->Descrizione);
|
||||
|
||||
//$str .= $product;
|
||||
$str .= $product['name'];
|
||||
$str .= $product;
|
||||
$str .= '<br>';
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user