From ede8c293fc5f7a1c02c8d20f211b90536beb8515 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 31 Aug 2018 19:51:18 +0200 Subject: [PATCH] Fix for #1643 --- public/js/ff/accounts/reconcile.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/public/js/ff/accounts/reconcile.js b/public/js/ff/accounts/reconcile.js index 2a2571f338..fc3f28a256 100644 --- a/public/js/ff/accounts/reconcile.js +++ b/public/js/ff/accounts/reconcile.js @@ -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()); } }); }