This commit is contained in:
paoloar77
2024-06-13 09:09:40 +02:00
parent 8ee685e4a5
commit 6f38988eb9

View File

@@ -244,14 +244,14 @@ function showOrdini()
try {
$orders = Orderdetail::orderBy('id', 'desc')
$orders = Orderdetail::orderBy('Codice', 'desc')
->take(2)
->get();
// Show the fields of the orders
foreach ($orders as $order) {
$str .= "Ordine: ";
$str .= getvalstr("Id", $order->id);
$str .= getvalstr("Codice", $order->Codice);
//$str .= getvalstr("DataOra", $order->DataOra);
//$str .= getvalstr("Totale", $order->Totale);
}