This commit is contained in:
paoloar77
2024-06-15 17:16:16 +02:00
parent 65ffbb7076
commit 8d8fa1d024

View File

@@ -300,6 +300,7 @@ function showDettOrdini()
try {
// $orders = Order::orderBy('DataOra', 'desc')->take(2)->get();
/*
$orders = Order::take(2)->get();
// Show the fields of the orders
@@ -308,7 +309,7 @@ function showDettOrdini()
$str .= getvalstr("Id", $order->id);
//$str .= getvalstr("DataOra", $order->DataOra);
//$str .= getvalstr("Totale", $order->Totale);
}
}*/
} catch (\Exception $e) {
return "Errore: " . $e->getMessage();
}