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:
parent
330b124902
commit
fcf6b2f1a4
@ -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 {
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user