mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[qif-to-gnc] properly mark intra-QIF internal transfers.
Unfortunately d6de324b
had a copy-and-paste bug, and the (if)
conditional has failed to mark internal transfers.
This commit fixes the parens so that splits with matching accounts are
now marked for skipping during import.
This commit is contained in:
parent
2329c1c508
commit
96980193bf
@ -907,8 +907,8 @@
|
||||
(if (not (and far-acct-name near-acct-name))
|
||||
(if errorproc
|
||||
(errorproc "Transaction with no or only one associated account."))
|
||||
(if (and (not (qif-xtn:mark (car xtns))))
|
||||
(string=? (qif-xtn:from-acct (car xtns)) far-acct-name)
|
||||
(if (and (not (qif-xtn:mark (car xtns)))
|
||||
(string=? (qif-xtn:from-acct (car xtns)) far-acct-name))
|
||||
(begin
|
||||
(set! how
|
||||
(qif-import:xtn-has-matches? (car xtns) near-acct-name
|
||||
|
Loading…
Reference in New Issue
Block a user