imp: lib: include adeclarationinfo, if present, in accounts JSON

Note that this does not add the declaration info if it is not already
present.
This commit is contained in:
S. Zeid 2023-10-11 22:37:50 -05:00 committed by Simon Michael
parent 0bfd7f66b0
commit 91d6f8c841

View File

@ -166,6 +166,7 @@ accountKV ::
=> Account -> [kv] => Account -> [kv]
accountKV a = accountKV a =
[ "aname" .= aname a [ "aname" .= aname a
, "adeclarationinfo" .= adeclarationinfo a
, "aebalance" .= aebalance a , "aebalance" .= aebalance a
, "aibalance" .= aibalance a , "aibalance" .= aibalance a
, "anumpostings" .= anumpostings a , "anumpostings" .= anumpostings a