2016-12-23 07:02:45 +01:00
|
|
|
/*
|
|
|
|
* multi-year.js
|
2017-10-21 08:40:00 +02:00
|
|
|
* Copyright (c) 2017 thegrumpydictator@gmail.com
|
2016-12-23 07:02:45 +01:00
|
|
|
*
|
2017-10-21 08:40:00 +02:00
|
|
|
* This file is part of Firefly III.
|
2016-12-23 07:02:45 +01:00
|
|
|
*
|
2017-10-21 08:40:00 +02:00
|
|
|
* Firefly III is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* Firefly III is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2017-12-17 14:43:13 +01:00
|
|
|
* along with Firefly III. If not, see <http://www.gnu.org/licenses/>.
|
2016-12-23 07:02:45 +01:00
|
|
|
*/
|
|
|
|
|
2017-01-02 10:34:01 +01:00
|
|
|
/** global: budgetPeriodReportUri, categoryExpenseUri, categoryIncomeUri, netWorthUri, opChartUri, sumChartUri */
|
|
|
|
|
2015-06-27 16:00:50 +02:00
|
|
|
$(function () {
|
|
|
|
"use strict";
|
2018-01-01 16:46:41 +01:00
|
|
|
lineChart(netWorthUri, 'net-worth');
|
|
|
|
columnChart(opChartUri, 'income-expenses-chart');
|
|
|
|
columnChart(sumChartUri, 'income-expenses-sum-chart');
|
2015-12-03 14:52:10 +01:00
|
|
|
|
2016-11-19 07:27:54 +01:00
|
|
|
loadAjaxPartial('budgetPeriodReport', budgetPeriodReportUri);
|
2016-12-06 09:07:50 +01:00
|
|
|
loadAjaxPartial('categoryExpense', categoryExpenseUri);
|
|
|
|
loadAjaxPartial('categoryIncome', categoryIncomeUri);
|
2015-06-27 16:00:50 +02:00
|
|
|
});
|
2015-03-04 20:47:00 +01:00
|
|
|
|