|
|
|
@ -927,6 +927,7 @@ void AcentryToJSON(const CAccountingEntry& acentry, const string& strAccount, Ar
@@ -927,6 +927,7 @@ void AcentryToJSON(const CAccountingEntry& acentry, const string& strAccount, Ar
|
|
|
|
|
Object entry; |
|
|
|
|
entry.push_back(Pair("account", acentry.strAccount)); |
|
|
|
|
entry.push_back(Pair("category", "move")); |
|
|
|
|
entry.push_back(Pair("time", (boost::int64_t)acentry.nTime)); |
|
|
|
|
entry.push_back(Pair("amount", ValueFromAmount(acentry.nCreditDebit))); |
|
|
|
|
entry.push_back(Pair("otheraccount", acentry.strOtherAccount)); |
|
|
|
|
entry.push_back(Pair("comment", acentry.strComment)); |
|
|
|
|