1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-07-02 20:28:38 -04:00

OFX imports: Properly import 'trading' transaction splits

This commit is contained in:
2017-09-20 21:30:17 -04:00
parent 698d74d727
commit d0d6ea3a78
3 changed files with 19 additions and 19 deletions

View File

@ -26,8 +26,8 @@ const (
// Split.ImportSplitType
const (
Default int64 = 0
ImportAccount = 1
SubAccount = 2
ImportAccount = 1 // This split belongs to the main account being imported
SubAccount = 2 // This split belongs to a sub-account of that being imported
ExternalAccount = 3
TradingAccount = 4
Commission = 5
@ -35,6 +35,7 @@ const (
Fees = 7
Load = 8
IncomeAccount = 9
ExpenseAccount = 10
)
type Split struct {