From 6086868f2201a315bf15b5a5da2dc4627f291e2d Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Fri, 17 May 2024 13:46:34 +0200 Subject: [PATCH] test --- app/Console/Commands/TestPao.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/TestPao.php b/app/Console/Commands/TestPao.php index 0d51bb3f..33be10ef 100644 --- a/app/Console/Commands/TestPao.php +++ b/app/Console/Commands/TestPao.php @@ -227,7 +227,7 @@ class TestPao extends Command // get the last record of Stock echo "\nLast record Stock ..."; - $lastrecordStock = Stock::latest('DataOra')->take(10)->get(); + $lastrecordStock = Stock::latest('DataOra')->take(1)->get(); $log .= '\n';