2016-11-06 16:17:22 +01:00
|
|
|
/* globals google, categoryReportUri, budgetReportUri, balanceReportUri */
|
2015-12-04 06:56:59 +01:00
|
|
|
|
2015-06-27 16:00:50 +02:00
|
|
|
|
|
|
|
$(function () {
|
|
|
|
"use strict";
|
2015-08-01 07:22:48 +02:00
|
|
|
drawChart();
|
2016-10-26 16:46:43 +02:00
|
|
|
|
2016-11-06 16:17:22 +01:00
|
|
|
loadAjaxPartial('categoryReport', categoryReportUri);
|
|
|
|
loadAjaxPartial('budgetReport', budgetReportUri);
|
|
|
|
loadAjaxPartial('balanceReport',balanceReportUri);
|
2015-06-27 16:00:50 +02:00
|
|
|
});
|
2015-03-04 20:47:00 +01:00
|
|
|
|
2015-05-08 17:13:49 +02:00
|
|
|
function drawChart() {
|
2015-05-24 20:41:14 +02:00
|
|
|
"use strict";
|
2015-12-12 19:04:30 +01:00
|
|
|
|
2015-12-14 20:37:38 +01:00
|
|
|
// month view:
|
|
|
|
// draw account chart
|
2016-03-16 17:28:04 +01:00
|
|
|
lineChart('chart/account/report/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'account-balances-chart');
|
2015-12-03 14:52:10 +01:00
|
|
|
}
|