mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-15 19:09:50 +00:00
Fixed budget charts.
This commit is contained in:
@@ -7,11 +7,11 @@ $(function () {
|
||||
$('.updateIncome').on('click', updateIncome);
|
||||
|
||||
|
||||
if (typeof componentID != 'undefined' && typeof repetitionID == 'undefined') {
|
||||
googleColumnChart('chart/budget/' + componentID + '/spending/' + year, 'componentOverview');
|
||||
if (typeof budgetID != 'undefined' && typeof repetitionID == 'undefined') {
|
||||
googleColumnChart('chart/budget/' + budgetID + '/spending/' + year, 'budgetOverview');
|
||||
}
|
||||
if (typeof componentID != 'undefined' && typeof repetitionID != 'undefined') {
|
||||
googleLineChart('chart/budget/' + componentID + '/' + repetitionID, 'componentOverview');
|
||||
if (typeof budgetID != 'undefined' && typeof repetitionID != 'undefined') {
|
||||
googleLineChart('chart/budget/' + budgetID + '/' + repetitionID, 'budgetOverview');
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user