mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-05 21:53:08 -06:00
Fixed something.
This commit is contained in:
parent
491298e1cb
commit
fcc3af6136
@ -148,11 +148,6 @@ class CategoryController extends Controller
|
||||
while ($start <= $end) {
|
||||
$spent = $repository->spentOnDaySumCorrected($category, $start);
|
||||
$earned = $repository->earnedOnDaySumCorrected($category, $start);
|
||||
if ($spent < 0) {
|
||||
$earned = $spent * -1;
|
||||
$spent = 0;
|
||||
}
|
||||
|
||||
$entries->push([clone $start, $spent, $earned]);
|
||||
$start->addDay();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user