This commit is contained in:
paoloar77
2024-06-13 09:10:48 +02:00
parent a569040149
commit 94b65b3737

View File

@@ -245,7 +245,7 @@ function showOrdini()
try {
$orders = Order::orderBy('Codice', 'desc')
->take(2)
->take(10)
->get();
// Show the fields of the orders
@@ -255,7 +255,7 @@ function showOrdini()
$str .= getvalstr("DataOra", $order->DataOra);
$str .= getvalstr("Totale", $order->Totale);
$str .= '<br>';
}
} catch (\Exception $e) {
return "Errore: " . $e->getMessage();