mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fine tune chart. [skip ci]
This commit is contained in:
parent
d9da2a57b6
commit
b5a5a216cd
@ -470,8 +470,8 @@ class CategoryController extends Controller
|
|||||||
$currentStart = clone $current;
|
$currentStart = clone $current;
|
||||||
$currentEnd = Navigation::endOfPeriod($currentStart, $viewRange);
|
$currentEnd = Navigation::endOfPeriod($currentStart, $viewRange);
|
||||||
|
|
||||||
$spent = strval(array_sum($repository->spentPerDay($category, $currentStart, $currentEnd, new Collection)));
|
$spent = strval(array_sum($repository->spentPerDay($category, $currentStart, $currentEnd, $accounts)));
|
||||||
$earned = strval(array_sum($repository->earnedPerDay($category, $currentStart, $currentEnd, new Collection)));
|
$earned = strval(array_sum($repository->earnedPerDay($category, $currentStart, $currentEnd, $accounts)));
|
||||||
|
|
||||||
$entry = [
|
$entry = [
|
||||||
$category->name,
|
$category->name,
|
||||||
|
Loading…
Reference in New Issue
Block a user