diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index 6c22eb48..67f1c344 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -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 .= '
'; - + } } catch (\Exception $e) { return "Errore: " . $e->getMessage();