mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-03 12:45:20 +00:00
Fix some chart things. Again.
This commit is contained in:
@@ -147,7 +147,7 @@ class CategoryController extends Controller
|
||||
|
||||
while ($start <= $end) {
|
||||
$spent = $repository->spentOnDaySumCorrected($category, $start);
|
||||
$earned = 0;
|
||||
$earned = $repository->earnedOnDaySumCorrected($category, $start);
|
||||
if ($spent < 0) {
|
||||
$earned = $spent * -1;
|
||||
$spent = 0;
|
||||
|
||||
Reference in New Issue
Block a user