aa
This commit is contained in:
@@ -478,12 +478,12 @@ function showOrdini()
|
||||
// $str = Schema::getColumnListing('Orderdetails');
|
||||
|
||||
$orders = Orderdetail::orderBy('DataOra', 'desc')
|
||||
->take(20)
|
||||
->take(100)
|
||||
->get();
|
||||
|
||||
// Show the fields of the orders
|
||||
foreach ($orders as $order) {
|
||||
// $product = Product::where('sku', $order->CodArticoloGM)->first();
|
||||
$product = Product::where('sku', $order->CodArticoloGM)->first();
|
||||
|
||||
$str .= getvalstr("", $order->Codice) . " ";
|
||||
$str .= getvalstr("", $order->DataOra);
|
||||
@@ -496,7 +496,7 @@ function showOrdini()
|
||||
if ($order->Descrizione)
|
||||
$str .= getvalstr("Descr", $order->Descrizione);
|
||||
|
||||
//$str .= $product;
|
||||
$str .= getarraystr($product) . "<br>";
|
||||
// $str .= $product;
|
||||
$str .= '<br>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user