Two new multi-column balance report modes show ending balance per period: `--cumulative`, starting from 0, and `--historical`, starting from the historical starting balance. The balance command's specification has been clarified and consolidated in the Balance.hs haddock. Reports.hs has also had haddock updates. The old AccountsReport type is now BalanceReport, still used by single-column balance report. The new MultiBalanceReport type is used by the multi-column reports.
		
			
				
	
	
		
			20 lines
		
	
	
		
			284 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			284 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ; A sample journal for testing multi-column balance report. See tests/balance-multicol.test.
 | |
| 
 | |
| 2012/12/31
 | |
|   (assets:checking)  10
 | |
| 
 | |
| 2013/1/1
 | |
|   (assets:checking)  1
 | |
| 
 | |
| 2013/1/15
 | |
|    (assets:checking)  -1
 | |
| 
 | |
| 2013/2/1
 | |
|   (assets:cash)  1
 | |
| 
 | |
| 2013/2/2
 | |
|   (assets)  1
 | |
| 
 | |
| 2013/3/1
 | |
|   (assets:checking)  1
 |