Merge pull request #3428 from sephrat/fix-reconcile-difference

Fix reconcile difference
This commit is contained in:
James Cole
2020-06-04 12:23:28 +02:00
committed by GitHub

View File

@@ -90,6 +90,10 @@ function selectAllReconcile(e) {
var identifier = 'checked_' + journalId;
console.log('in selectAllReconcile(' + journalId + ') with amount ' + amount + ' and selected amount ' + selectedAmount);
// do nothing if line is already in target state
if (check.prop('checked') === doCheck )
return;
check.prop('checked', doCheck);
// if checked, add to selected amount
if (doCheck === true && check.data('younger') === false) {