mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
First full transaction list (again) and removed some google table references.
This commit is contained in:
@@ -8,13 +8,5 @@ $(function () {
|
||||
googleSankeyChart('chart/sankey/' + accountID + '/out', 'account-out-sankey');
|
||||
googleSankeyChart('chart/sankey/' + accountID + '/in', 'account-in-sankey');
|
||||
}
|
||||
if (typeof(googleTable) == 'function') {
|
||||
if (typeof accountID != 'undefined') {
|
||||
googleTable('table/account/' + accountID + '/transactions', 'account-transactions');
|
||||
}
|
||||
if (typeof what != 'undefined') {
|
||||
googleTable('table/accounts/' + what, 'account-list');
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@@ -7,14 +7,8 @@ $(function () {
|
||||
$('.updateIncome').on('click', updateIncome);
|
||||
|
||||
|
||||
if (typeof(googleTable) == 'function') {
|
||||
if (typeof componentID != 'undefined' && typeof repetitionID == 'undefined') {
|
||||
googleTable('table/component/' + componentID + '/0/transactions', 'transactions');
|
||||
googleColumnChart('chart/component/' + componentID + '/spending/' + year, 'componentOverview');
|
||||
|
||||
} else if (typeof componentID != 'undefined' && typeof repetitionID != 'undefined') {
|
||||
googleTable('table/component/' + componentID + '/' + repetitionID + '/transactions', 'transactions');
|
||||
}
|
||||
if (typeof componentID != 'undefined' && typeof repetitionID == 'undefined') {
|
||||
googleColumnChart('chart/component/' + componentID + '/spending/' + year, 'componentOverview');
|
||||
}
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user