mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-15 19:09:50 +00:00
All code for issue #38.
This commit is contained in:
7
public/assets/javascript/firefly/bills.js
Normal file
7
public/assets/javascript/firefly/bills.js
Normal file
@@ -0,0 +1,7 @@
|
||||
$(document).ready(function () {
|
||||
|
||||
if (typeof(googleComboChart) == 'function' && typeof(billID) != 'undefined') {
|
||||
googleComboChart('chart/bills/' + billID, 'bill-overview');
|
||||
}
|
||||
}
|
||||
);
|
||||
@@ -5,5 +5,5 @@ function drawChart() {
|
||||
googleLineChart('chart/home/account', 'accounts-chart');
|
||||
googleBarChart('chart/home/budgets','budgets-chart');
|
||||
googleColumnChart('chart/home/categories','categories-chart');
|
||||
googlePieChart('chart/home/recurring','recurring-chart')
|
||||
googlePieChart('chart/home/bills','bills-chart')
|
||||
}
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
$(document).ready(function () {
|
||||
|
||||
if (typeof(googleTable) == 'function') {
|
||||
googleTable('table/recurring', 'recurring-table');
|
||||
|
||||
if (typeof(recurringID) != 'undefined') {
|
||||
googleTable('table/recurring/' + recurringID + '/transactions', 'transaction-table');
|
||||
}
|
||||
}
|
||||
if (typeof(googleComboChart) == 'function' && typeof(recurringID) != 'undefined') {
|
||||
googleComboChart('chart/recurring/' + recurringID, 'recurring-overview');
|
||||
}
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user