From fcf6b2f1a43eaec81760133952b6ef79500d0eaa Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Fri, 19 Feb 2016 19:45:42 -0500 Subject: [PATCH] Add more account types --- accounts.go | 3 +++ js/models.js | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/accounts.go b/accounts.go index e5a1c64..2c947e9 100644 --- a/accounts.go +++ b/accounts.go @@ -19,6 +19,9 @@ const ( Income = 6 Expense = 7 Trading = 8 + Equity = 9 + Receivable = 10 + Payable = 11 ) type Account struct { diff --git a/js/models.js b/js/models.js index e5eb6ba..665b3a6 100644 --- a/js/models.js +++ b/js/models.js @@ -134,7 +134,10 @@ const AccountType = { Investment: 5, Income: 6, Expense: 7, - Trading: 8 + Trading: 8, + Equity: 9, + Receivable: 10, + Payable: 11 } var AccountTypeList = []; for (var type in AccountType) {