mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 795155 - CSV import does not distinguish between deposit and withdrawal
This commit is contained in:
parent
d567ee1049
commit
a8c17c2078
@ -624,7 +624,7 @@ void GncPreSplit::create_split (Transaction* trans)
|
||||
if (m_withdrawal)
|
||||
withdrawal = *m_withdrawal;
|
||||
|
||||
amount = deposit + withdrawal;
|
||||
amount = deposit - withdrawal;
|
||||
|
||||
/* Add a split with the cumulative amount value. */
|
||||
trans_add_split (trans, account, amount, m_action, m_memo, m_rec_state, m_rec_date, m_price);
|
||||
|
Loading…
Reference in New Issue
Block a user