mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-14 21:58:14 +00:00
Jump to year report if the period is too long.
This commit is contained in:
@@ -104,10 +104,11 @@ function preSelectDate(e) {
|
||||
|
||||
function drawChart() {
|
||||
"use strict";
|
||||
//if (typeof columnChart !== 'undefined' && typeof year !== 'undefined' && typeof month === 'undefined') {
|
||||
// columnChart('chart/report/in-out/' + year + shared, 'income-expenses-chart');
|
||||
// columnChart('chart/report/in-out-sum/' + year + shared, 'income-expenses-sum-chart');
|
||||
//}
|
||||
if (typeof columnChart !== 'undefined' && typeof year !== 'undefined' && typeof month === 'undefined') {
|
||||
|
||||
columnChart('chart/report/in-out/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'income-expenses-chart');
|
||||
columnChart('chart/report/in-out-sum/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'income-expenses-sum-chart');
|
||||
}
|
||||
//if (typeof stackedColumnChart !== 'undefined' && typeof year !== 'undefined' && typeof month === 'undefined') {
|
||||
// stackedColumnChart('chart/budget/year/' + year + shared, 'budgets');
|
||||
// stackedColumnChart('chart/category/spent-in-year/' + year + shared, 'categories-spent-in-year');
|
||||
|
||||
Reference in New Issue
Block a user