mirror of
				https://github.com/aclindsa/moneygo.git
				synced 2025-10-30 01:23:26 -04:00 
			
		
		
		
	Add more account types
This commit is contained in:
		| @@ -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) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user