aa
This commit is contained in:
@@ -245,7 +245,7 @@ function showOrdini()
|
|||||||
try {
|
try {
|
||||||
|
|
||||||
$orders = Order::orderBy('Codice', 'desc')
|
$orders = Order::orderBy('Codice', 'desc')
|
||||||
->take(2)
|
->take(10)
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
// Show the fields of the orders
|
// Show the fields of the orders
|
||||||
@@ -255,7 +255,7 @@ function showOrdini()
|
|||||||
$str .= getvalstr("DataOra", $order->DataOra);
|
$str .= getvalstr("DataOra", $order->DataOra);
|
||||||
$str .= getvalstr("Totale", $order->Totale);
|
$str .= getvalstr("Totale", $order->Totale);
|
||||||
$str .= '<br>';
|
$str .= '<br>';
|
||||||
|
|
||||||
}
|
}
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
return "Errore: " . $e->getMessage();
|
return "Errore: " . $e->getMessage();
|
||||||
|
|||||||
Reference in New Issue
Block a user