Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Make sure that charts work when Firefly III is in a subdirectory. Thx to @xnyhps.
James Cole64f273120ea3
diff --git a/public/js/reports/default/month.js b/public/js/reports/default/month.jsindex be66324dff..22bb92dbc9 100644--- a/public/js/reports/default/month.js+++ b/public/js/reports/default/month.js@@ -17,7 +17,7 @@ function drawChart() {// month view:// draw account chart- lineChart('/chart/account/report/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'account-balances-chart');+ lineChart('chart/account/report/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'account-balances-chart');}diff --git a/public/js/reports/default/reports.js b/public/js/reports/default/reports.jsindex 8e7721e75b..8a42a47788 100644--- a/public/js/reports/default/reports.js+++ b/public/js/reports/default/reports.js@@ -116,7 +116,7 @@ function drawChart() {}if (typeof lineChart !== 'undefined' && typeof accountIds !== 'undefined') {- lineChart('/chart/account/report/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'account-balances-chart');+ lineChart('chart/account/report/' + reportType + '/' + startDate + '/' + endDate + '/' + accountIds, 'account-balances-chart');}}