mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 798208 - management fee transactions are ignored on OFX import
Treat INVBANKTRAN like BANKTRAN.
This commit is contained in:
@@ -586,7 +586,8 @@ int ofx_proc_transaction_cb(struct OfxTransactionData data, void *user_data)
|
|||||||
xaccTransSetCurrency(transaction, currency);
|
xaccTransSetCurrency(transaction, currency);
|
||||||
if (data.amount_valid)
|
if (data.amount_valid)
|
||||||
{
|
{
|
||||||
if (!data.invtransactiontype_valid)
|
if (!data.invtransactiontype_valid ||
|
||||||
|
data.invtransactiontype == OFX_INVBANKTRAN)
|
||||||
{
|
{
|
||||||
double amount = data.amount;
|
double amount = data.amount;
|
||||||
#ifdef HAVE_LIBOFX_VERSION_0_10
|
#ifdef HAVE_LIBOFX_VERSION_0_10
|
||||||
|
|||||||
Reference in New Issue
Block a user