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,7 +606,8 @@ on_matcher_apply_clicked (GtkButton *button,
|
|||||||
{
|
{
|
||||||
/* Reconcile the matching transaction */
|
/* Reconcile the matching transaction */
|
||||||
xaccTransBeginEdit(transaction_info->selected_match_info->trans);
|
xaccTransBeginEdit(transaction_info->selected_match_info->trans);
|
||||||
xaccSplitSetReconcile(transaction_info->selected_match_info->split,CREC);
|
if (xaccSplitGetReconcile (transaction_info->selected_match_info->split) == NREC)
|
||||||
|
xaccSplitSetReconcile(transaction_info->selected_match_info->split,CREC);
|
||||||
/*Set reconcile date to today*/
|
/*Set reconcile date to today*/
|
||||||
xaccSplitSetDateReconciledSecs(transaction_info->selected_match_info->split,time(NULL));
|
xaccSplitSetDateReconciledSecs(transaction_info->selected_match_info->split,time(NULL));
|
||||||
/* Copy the online id to the reconciled transaction, so the match will be remembered */
|
/* Copy the online id to the reconciled transaction, so the match will be remembered */
|
||||||
|
Loading…
Reference in New Issue
Block a user