From aba46874f2f4efe445d06b0be38bd2b0040f630c Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 25 Nov 2021 11:47:27 -1000 Subject: [PATCH] ;dev: is: code notes --- hledger/Hledger/Cli/Commands/Incomestatement.hs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/hledger/Hledger/Cli/Commands/Incomestatement.hs b/hledger/Hledger/Cli/Commands/Incomestatement.hs index 5c8d57bc6..5aec7feed 100644 --- a/hledger/Hledger/Cli/Commands/Incomestatement.hs +++ b/hledger/Hledger/Cli/Commands/Incomestatement.hs @@ -43,3 +43,20 @@ incomestatementmode = compoundBalanceCommandMode incomestatementSpec incomestatement :: CliOpts -> Journal -> IO () incomestatement = compoundBalanceCommand incomestatementSpec +{- +Summary of code flow, 2021-11: + +incomestatement + compoundBalanceCommand + compoundBalanceReport + compoundBalanceReportWith + colps = getPostingsByColumn + startps = startingPostings + generateSubreport + startbals = startingBalances (startps restricted to this subreport) + generateMultiBalanceReport startbals (colps restricted to this subreport) + matrix = calculateReportMatrix startbals colps + displaynames = displayedAccounts + buildReportRows displaynames matrix + -} + \ No newline at end of file