Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Line chart
James Cole68be58c9f2f4
diff --git a/public/js/ff/budgets/show.js b/public/js/ff/budgets/show.jsindex 07cf18ed9e..5831c82031 100644--- a/public/js/ff/budgets/show.js+++ b/public/js/ff/budgets/show.js@@ -8,11 +8,15 @@* See the LICENSE file for details.*/-/** global: budgetChartUri */+/** global: budgetChartUri,budgetLimitID */$(function () {"use strict";-- columnChart(budgetChartUri, 'budgetOverview');+ if (budgetLimitID > 0) {+ lineChart(budgetChartUri, 'budgetOverview');+ }+ if (budgetLimitID == 0) {+ columnChart(budgetChartUri, 'budgetOverview');+ }});