mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Set split to 'cleared' only if it was in 'not reconciled' beforehand.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7518 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
3d880f6399
commit
be7835304b
@ -606,6 +606,7 @@ on_matcher_apply_clicked (GtkButton *button,
|
||||
{
|
||||
/* Reconcile the matching transaction */
|
||||
xaccTransBeginEdit(transaction_info->selected_match_info->trans);
|
||||
if (xaccSplitGetReconcile (transaction_info->selected_match_info->split) == NREC)
|
||||
xaccSplitSetReconcile(transaction_info->selected_match_info->split,CREC);
|
||||
/*Set reconcile date to today*/
|
||||
xaccSplitSetDateReconciledSecs(transaction_info->selected_match_info->split,time(NULL));
|
||||
|
Loading…
Reference in New Issue
Block a user