This commit is contained in:
James Cole 2025-02-05 15:31:53 +01:00
parent fe57367a8c
commit edb201f210
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
2 changed files with 7 additions and 7 deletions

View File

@ -189,7 +189,7 @@ class ReconcileController extends Controller
if ($end->lt($start)) {
[$end, $start] = [$start, $end];
}
$start->startOfDay();
$start->endOfDay();
$end->endOfDay();
$startDate = clone $start;
$startDate->subDay();

View File

@ -83,7 +83,7 @@ class ReportController extends Controller
return view('error')->with('message', (string) trans('firefly.end_after_start_date'));
}
$this->repository->cleanupBudgets();
$start->startOfDay();
$start->endOfDay(); // end of day so the final balance is at the end of that day.
$end->endOfDay();
app('view')->share(
@ -116,7 +116,7 @@ class ReportController extends Controller
return view('error')->with('message', (string) trans('firefly.end_after_start_date'));
}
$this->repository->cleanupBudgets();
$start->startOfDay();
$start->endOfDay(); // end of day so the final balance is at the end of that day.
$end->endOfDay();
app('view')->share(
@ -150,7 +150,7 @@ class ReportController extends Controller
return view('error')->with('message', (string) trans('firefly.end_after_start_date'));
}
$this->repository->cleanupBudgets();
$start->startOfDay();
$start->endOfDay(); // end of day so the final balance is at the end of that day.
$end->endOfDay();
app('view')->share(
@ -185,7 +185,7 @@ class ReportController extends Controller
}
$this->repository->cleanupBudgets();
$start->startOfDay();
$start->endOfDay(); // end of day so the final balance is at the end of that day.
$end->endOfDay();
app('view')->share(
@ -219,7 +219,7 @@ class ReportController extends Controller
}
$this->repository->cleanupBudgets();
$start->startOfDay();
$start->endOfDay(); // end of day so the final balance is at the end of that day.
$end->endOfDay();
app('view')->share(
@ -377,7 +377,7 @@ class ReportController extends Controller
return view('error')->with('message', (string) trans('firefly.end_after_start_date'));
}
$this->repository->cleanupBudgets();
$start->startOfDay();
$start->endOfDay(); // end of day so the final balance is at the end of that day.
$end->endOfDay();
app('view')->share(