mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 01:42:19 +00:00
Fix for #1643
This commit is contained in:
7
public/js/ff/accounts/reconcile.js
vendored
7
public/js/ff/accounts/reconcile.js
vendored
@@ -76,7 +76,7 @@ function storeReconcile() {
|
|||||||
var cleared = [];
|
var cleared = [];
|
||||||
$.each($('input[class="cleared"]'), function (i, v) {
|
$.each($('input[class="cleared"]'), function (i, v) {
|
||||||
var obj = $(v);
|
var obj = $(v);
|
||||||
cleared.push(obj.data('id'));
|
//cleared.push(obj.data('id'));
|
||||||
});
|
});
|
||||||
|
|
||||||
var variables = {
|
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() {
|
function includeClearedTransactions() {
|
||||||
$.each($('input[class="cleared"]'), function (i, v) {
|
$.each($('input[class="cleared"]'), function (i, v) {
|
||||||
var obj = $(v);
|
var obj = $(v);
|
||||||
if (obj.data('younger') === false) {
|
if (obj.data('younger') === false) {
|
||||||
selectedAmount = selectedAmount - parseFloat(obj.val());
|
//selectedAmount = selectedAmount - parseFloat(obj.val());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user