1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2024-12-26 23:42:29 -05:00

Add more account types

This commit is contained in:
Aaron Lindsay 2016-02-19 19:45:42 -05:00
parent 330b124902
commit fcf6b2f1a4
2 changed files with 7 additions and 1 deletions

View File

@ -19,6 +19,9 @@ const (
Income = 6 Income = 6
Expense = 7 Expense = 7
Trading = 8 Trading = 8
Equity = 9
Receivable = 10
Payable = 11
) )
type Account struct { type Account struct {

View File

@ -134,7 +134,10 @@ const AccountType = {
Investment: 5, Investment: 5,
Income: 6, Income: 6,
Expense: 7, Expense: 7,
Trading: 8 Trading: 8,
Equity: 9,
Receivable: 10,
Payable: 11
} }
var AccountTypeList = []; var AccountTypeList = [];
for (var type in AccountType) { for (var type in AccountType) {