From 94b65b37374ee1158f11407d00825f607cb133f5 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Thu, 13 Jun 2024 09:10:48 +0200 Subject: [PATCH] aa --- app/CustomFuncPao.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();