mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-23 22:35:03 +00:00
Small bug fix in budget chart.
This commit is contained in:
@@ -171,7 +171,7 @@ class GoogleChartController extends Controller
|
|||||||
|
|
||||||
foreach ($allEntries as $entry) {
|
foreach ($allEntries as $entry) {
|
||||||
if ($entry[2] > 0) {
|
if ($entry[2] > 0) {
|
||||||
$left = $entry[1] - $entry[0];
|
$left = $entry[1] - $entry[2];
|
||||||
$chart->addRow($entry[0], $left);
|
$chart->addRow($entry[0], $left);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user