budget: note some todos
[ci skip]
This commit is contained in:
parent
5e725ff36e
commit
1c6702d598
@ -212,6 +212,7 @@ multiBalanceReport opts q j =
|
|||||||
sortedrows = concatMap (\a -> maybe [] (:[]) $ lookup (aname a) anamesandrows) sortedaccounts
|
sortedrows = concatMap (\a -> maybe [] (:[]) $ lookup (aname a) anamesandrows) sortedaccounts
|
||||||
|
|
||||||
-- Sort the report rows by account code if any, with the empty account code coming last, then account name.
|
-- Sort the report rows by account code if any, with the empty account code coming last, then account name.
|
||||||
|
-- TODO keep children below their parent. Have to convert to tree ?
|
||||||
sortFlatMultiBalanceReportRowsByAccountCodeAndName = sortBy (comparing acodeandname)
|
sortFlatMultiBalanceReportRowsByAccountCodeAndName = sortBy (comparing acodeandname)
|
||||||
where
|
where
|
||||||
acodeandname r = (acode', aname)
|
acodeandname r = (acode', aname)
|
||||||
|
|||||||
@ -310,3 +310,9 @@ Budget performance in 2018/01/01:
|
|||||||
c || 1 [ 100% of 1]
|
c || 1 [ 100% of 1]
|
||||||
-------++--------------------------
|
-------++--------------------------
|
||||||
|| 2 [ 2% of 101]
|
|| 2 [ 2% of 101]
|
||||||
|
|
||||||
|
# TODO
|
||||||
|
# 14. respect hierarchy when sorting in tree mode
|
||||||
|
|
||||||
|
# TODO
|
||||||
|
# 15. respect --sort-amount
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user