doc: Remove references to old limitations of boring parent ellision.
This commit is contained in:
		
							parent
							
								
									7833586d14
								
							
						
					
					
						commit
						df84a417d7
					
				@ -86,11 +86,11 @@ type ClippedAccountName = AccountName
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
-- | Generate a multicolumn balance report for the matched accounts,
 | 
					-- | Generate a multicolumn balance report for the matched accounts,
 | 
				
			||||||
-- showing the change of balance, accumulated balance, or historical balance
 | 
					-- showing the change of balance, accumulated balance, or historical balance
 | 
				
			||||||
-- in each of the specified periods. Does not support tree-mode boring parent eliding.
 | 
					-- in each of the specified periods. If the normalbalance_ option is set, it
 | 
				
			||||||
-- If the normalbalance_ option is set, it adjusts the sorting and sign of amounts
 | 
					-- adjusts the sorting and sign of amounts (see ReportOpts and
 | 
				
			||||||
-- (see ReportOpts and CompoundBalanceCommand).
 | 
					-- CompoundBalanceCommand). hledger's most powerful and useful report, used
 | 
				
			||||||
-- hledger's most powerful and useful report, used by the balance
 | 
					-- by the balance command (in multiperiod mode) and (via compoundBalanceReport)
 | 
				
			||||||
-- command (in multiperiod mode) and (via multiBalanceReport') by the bs/cf/is commands.
 | 
					-- by the bs/cf/is commands.
 | 
				
			||||||
multiBalanceReport :: Day -> ReportOpts -> Journal -> MultiBalanceReport
 | 
					multiBalanceReport :: Day -> ReportOpts -> Journal -> MultiBalanceReport
 | 
				
			||||||
multiBalanceReport today ropts j =
 | 
					multiBalanceReport today ropts j =
 | 
				
			||||||
    multiBalanceReportWith ropts q j (journalPriceOracle infer j)
 | 
					    multiBalanceReportWith ropts q j (journalPriceOracle infer j)
 | 
				
			||||||
@ -548,9 +548,9 @@ postprocessReport ropts displaynames =
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-- | Generates a simple non-columnar BalanceReport, but using multiBalanceReport,
 | 
					-- | Generates a simple non-columnar BalanceReport, but using multiBalanceReport,
 | 
				
			||||||
-- in order to support --historical. Does not support tree-mode boring parent eliding.
 | 
					-- in order to support --historical. If the normalbalance_ option is set, it
 | 
				
			||||||
-- If the normalbalance_ option is set, it adjusts the sorting and sign of amounts
 | 
					-- adjusts the sorting and sign of amounts (see ReportOpts and
 | 
				
			||||||
-- (see ReportOpts and CompoundBalanceCommand).
 | 
					-- CompoundBalanceCommand).
 | 
				
			||||||
balanceReportFromMultiBalanceReport :: ReportOpts -> Query -> Journal
 | 
					balanceReportFromMultiBalanceReport :: ReportOpts -> Query -> Journal
 | 
				
			||||||
    -> ([(AccountName, AccountName, Int, MixedAmount)], MixedAmount)
 | 
					    -> ([(AccountName, AccountName, Int, MixedAmount)], MixedAmount)
 | 
				
			||||||
balanceReportFromMultiBalanceReport ropts q j = (rows', total)
 | 
					balanceReportFromMultiBalanceReport ropts q j = (rows', total)
 | 
				
			||||||
 | 
				
			|||||||
@ -309,10 +309,6 @@ Balance changes in 2008:
 | 
				
			|||||||
(Average is rounded to the dollar here since all journal amounts are)
 | 
					(Average is rounded to the dollar here since all journal amounts are)
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
A limitation of multicolumn balance reports: eliding of boring parent
 | 
					 | 
				
			||||||
accounts in tree mode, as in the classic balance report, is not yet
 | 
					 | 
				
			||||||
supported.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
The `--transpose` flag can be used to exchange the rows and columns of
 | 
					The `--transpose` flag can be used to exchange the rows and columns of
 | 
				
			||||||
a multicolumn report.
 | 
					a multicolumn report.
 | 
				
			||||||
     
 | 
					     
 | 
				
			||||||
 | 
				
			|||||||
@ -105,6 +105,7 @@ compoundBalanceCommand CompoundBalanceCommandSpec{..} opts@CliOpts{reportopts_=r
 | 
				
			|||||||
      -- are used in single column mode, since in that situation we will be using
 | 
					      -- are used in single column mode, since in that situation we will be using
 | 
				
			||||||
      -- balanceReportFromMultiBalanceReport which does not support eliding boring parents,
 | 
					      -- balanceReportFromMultiBalanceReport which does not support eliding boring parents,
 | 
				
			||||||
      -- and tree mode hides this.. or something.. XXX
 | 
					      -- and tree mode hides this.. or something.. XXX
 | 
				
			||||||
 | 
					      -- This limitation on longer exists. Should this be changed?
 | 
				
			||||||
      ropts' = ropts{
 | 
					      ropts' = ropts{
 | 
				
			||||||
        balancetype_=balancetype,
 | 
					        balancetype_=balancetype,
 | 
				
			||||||
        accountlistmode_=if not (flat_ ropts) && interval_==NoInterval && balancetype `elem` [CumulativeChange, HistoricalBalance] then ALTree else accountlistmode_,
 | 
					        accountlistmode_=if not (flat_ ropts) && interval_==NoInterval && balancetype `elem` [CumulativeChange, HistoricalBalance] then ALTree else accountlistmode_,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user