stats: show account tree depth
This commit is contained in:
		
							parent
							
								
									4cd2364154
								
							
						
					
					
						commit
						2b49c4d772
					
				@ -38,6 +38,7 @@ showStats _ _ l today =
 | 
				
			|||||||
        ,("Transactions last 7 days", printf "%d (%0.1f per day)" tnum7 txnrate7)
 | 
					        ,("Transactions last 7 days", printf "%d (%0.1f per day)" tnum7 txnrate7)
 | 
				
			||||||
--        ,("Payees/descriptions", show $ length $ nub $ map tdescription ts)
 | 
					--        ,("Payees/descriptions", show $ length $ nub $ map tdescription ts)
 | 
				
			||||||
        ,("Accounts", show $ length $ accounts l)
 | 
					        ,("Accounts", show $ length $ accounts l)
 | 
				
			||||||
 | 
					        ,("Account tree depth", show $ maximum $ map (accountNameLevel.aname) $ accounts l)
 | 
				
			||||||
        ,("Commodities", show $ length $ commodities l)
 | 
					        ,("Commodities", show $ length $ commodities l)
 | 
				
			||||||
      -- Transactions this month     : %(monthtxns)s (last month in the same period: %(lastmonthtxns)s)
 | 
					      -- Transactions this month     : %(monthtxns)s (last month in the same period: %(lastmonthtxns)s)
 | 
				
			||||||
      -- Uncleared transactions      : %(uncleared)s
 | 
					      -- Uncleared transactions      : %(uncleared)s
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user