Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix range.
James Cole2056ba5e08b7
diff --git a/app/Http/Controllers/Chart/ReportController.php b/app/Http/Controllers/Chart/ReportController.phpindex 9c56053a4a..51c25230f6 100644--- a/app/Http/Controllers/Chart/ReportController.php+++ b/app/Http/Controllers/Chart/ReportController.php@@ -151,9 +151,8 @@ class ReportController extends Controller$cache->addProperty($end);$cache->addProperty($this->convertToPrimary);if ($cache->has()) {- // return response()->json($cache->get());+// return response()->json($cache->get());}-Log::debug('Going to do operations for accounts ', $accounts->pluck('id')->toArray());Log::debug(sprintf('Period: %s to %s', $start->toW3cString(), $end->toW3cString()));$format = Navigation::preferredCarbonFormat($start, $end);@@ -249,7 +248,7 @@ class ReportController extends Controller}// 2026-03-01 similar fix for monthly ranges.if ('1M' === $preferredRange) {- $currentEnd = Navigation::endOfPeriod($currentEnd, $preferredRange);+ // $currentEnd = Navigation::endOfPeriod($currentEnd, $preferredRange);}Log::debug(sprintf('Start of sub-loop, current end is %s', $currentEnd->toW3cString()));while ($currentStart <= $currentEnd) {