mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-22 17:06:39 -06:00
Fix for #1643
This commit is contained in:
parent
0cfe991482
commit
ede8c293fc
7
public/js/ff/accounts/reconcile.js
vendored
7
public/js/ff/accounts/reconcile.js
vendored
@ -76,7 +76,7 @@ function storeReconcile() {
|
||||
var cleared = [];
|
||||
$.each($('input[class="cleared"]'), function (i, v) {
|
||||
var obj = $(v);
|
||||
cleared.push(obj.data('id'));
|
||||
//cleared.push(obj.data('id'));
|
||||
});
|
||||
|
||||
var variables = {
|
||||
@ -139,14 +139,15 @@ function getTransactionsForRange() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Loop over all transactions that have already been cleared (in the range) and add this to the selectedAmount.
|
||||
* Loop over all transactions that have already been cleared (in the range)
|
||||
* and add this to the selectedAmount.
|
||||
*
|
||||
*/
|
||||
function includeClearedTransactions() {
|
||||
$.each($('input[class="cleared"]'), function (i, v) {
|
||||
var obj = $(v);
|
||||
if (obj.data('younger') === false) {
|
||||
selectedAmount = selectedAmount - parseFloat(obj.val());
|
||||
//selectedAmount = selectedAmount - parseFloat(obj.val());
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user