minor changes to support correct reporting.

This commit is contained in:
Bryce Covert
2019-04-23 14:04:28 -07:00
parent 5317310cc7
commit 0b73b076a6
2 changed files with 6 additions and 4 deletions

View File

@@ -57,8 +57,10 @@
:location location
:id (str (:db/id account) "-" location)
:numeric-code (or (:account/numeric-code account)
(and (:bank-account/type account)
1100))
(and (#{:bank-account-type/check} (:db/ident (:bank-account/type account)))
1100)
(and (#{:bank-account-type/credit} (:db/ident (:bank-account/type account)))
2800))
:account-type (or (:db/ident (:account/type account))
({:bank-account-type/check :asset
:bank-account-type/credit :liability}

View File

@@ -143,8 +143,8 @@
["7100 Ops Related DirGMC Exp" 7100 7199]
["7200 Customer Related DirGMC Exp" 7200 7299]
["7300 Employee Related DirGMC Exp" 7300 7399]
["7400 Building and Equipment Related DirGMC Exp" 7400 7399]
["7500 Office/ Management Related DirGMC Exp" 7500 7599]
["7400 Building and Equipment Related DirGMC Exp" 7400 7499]
["7500 Office/ Management Related DirGMC Exp" 7500 7999]
["8100 Operational" 8100 8199]
["8200 Occupancy Costs" 8200 8299]
["8300 Utilities" 8300 8399]