From 72bdca9cf227c24a081801bcf859191f6b896b26 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Thu, 13 Jun 2024 08:55:42 +0200 Subject: [PATCH] aa --- app/CustomFuncPao.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index 924180f5..cf445550 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -239,7 +239,7 @@ function loadArticleByIdArticle($id, $checkprevendita = false) function showOrdini() { - $orders = Order::all(); + $orders = Order::orderBy('DataOra', 'desc')->take(20)->get(); $str = "";