New chart for budget-overview.

This commit is contained in:
Sander Dorigo
2014-11-09 08:42:09 +01:00
parent 7750b06476
commit f69b6f9b4e
4 changed files with 49 additions and 1 deletions

View File

@@ -10,6 +10,8 @@ $(function () {
if (typeof(googleTable) == 'function') {
if (typeof budgetID != 'undefined' && typeof repetitionID == 'undefined') {
googleTable('table/budget/' + budgetID + '/0/transactions', 'transactions');
googleColumnChart('chart/budgets/'+budgetID+'/spending/2014','budgetOverview');
} else if (typeof budgetID != 'undefined' && typeof repetitionID != 'undefined') {
googleTable('table/budget/' + budgetID + '/' + repetitionID + '/transactions', 'transactions');
}