firefly-iii/public/js/ff/reports/default/month.js
James Cole 5e480eca36
Clean up some report code.
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
2016-11-02 20:45:11 +01:00

19 lines
521 B
JavaScript

/* globals google, categoryReportUri, budgetReportUri, balanceReportUri */
$(function () {
"use strict";
drawChart();
loadAjaxPartial('categoryReport', categoryReportUri);
loadAjaxPartial('budgetReport', budgetReportUri);
loadAjaxPartial('balanceReport',balanceReportUri);
});
function drawChart() {
"use strict";
// month view:
// draw account chart
lineChart('chart/account/report/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'account-balances-chart');
}