diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index 1e2fe354..89f0ca45 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -300,6 +300,7 @@ function showDettOrdini() try { // $orders = Order::orderBy('DataOra', 'desc')->take(2)->get(); + /* $orders = Order::take(2)->get(); // Show the fields of the orders @@ -308,7 +309,7 @@ function showDettOrdini() $str .= getvalstr("Id", $order->id); //$str .= getvalstr("DataOra", $order->DataOra); //$str .= getvalstr("Totale", $order->Totale); - } + }*/ } catch (\Exception $e) { return "Errore: " . $e->getMessage(); }