mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix reconciliation.
This commit is contained in:
8
public/v1/js/ff/accounts/reconcile.js
vendored
8
public/v1/js/ff/accounts/reconcile.js
vendored
@@ -77,9 +77,9 @@ function storeReconcile() {
|
||||
var ids = [];
|
||||
$.each($('.reconcile_checkbox:checked'), function (i, v) {
|
||||
var obj = $(v);
|
||||
if(obj.data('inrange') === true){
|
||||
console.log('Added item with amount to list of checked ' + obj.val());
|
||||
ids.push(obj.data('id'));
|
||||
if (obj.data('inrange') === true) {
|
||||
console.log('Added item with amount to list of checked ' + obj.val());
|
||||
ids.push(obj.data('id'));
|
||||
} else {
|
||||
console.log('Ignored item with amount because is not in range ' + obj.val());
|
||||
}
|
||||
@@ -97,7 +97,7 @@ function storeReconcile() {
|
||||
endBalance: parseFloat($('input[name="end_balance"]').val()),
|
||||
startDate: $('input[name="start_date"]').val(),
|
||||
startEnd: $('input[name="end_date"]').val(),
|
||||
transactions: ids,
|
||||
journals: ids,
|
||||
cleared: cleared,
|
||||
};
|
||||
var uri = overviewUri.replace('%start%', $('input[name="start_date"]').val()).replace('%end%', $('input[name="end_date"]').val());
|
||||
|
Reference in New Issue
Block a user