odd behavior on -A was bcause of missing parentheses around if statements
This commit is contained in:
		
							parent
							
								
									4794f5db36
								
							
						
					
					
						commit
						4b0ba0f011
					
				@ -133,8 +133,8 @@ balanceviewReport BalanceView{..} CliOpts{reportopts_=ropts, rawopts_=raw} j = d
 | 
				
			|||||||
                  mergedTabl
 | 
					                  mergedTabl
 | 
				
			||||||
                  +====+
 | 
					                  +====+
 | 
				
			||||||
                  row "Total"
 | 
					                  row "Total"
 | 
				
			||||||
                      (sumAmts ++ if row_total_ ropts' then [totsum] else []
 | 
					                      (sumAmts ++ (if row_total_ ropts' then [totsum] else [])
 | 
				
			||||||
                               ++ if average_ ropts'   then [totavg] else []
 | 
					                               ++ (if average_ ropts'   then [totavg] else [])
 | 
				
			||||||
                      )
 | 
					                      )
 | 
				
			||||||
        putStrLn bvtitle
 | 
					        putStrLn bvtitle
 | 
				
			||||||
        putStrLn $ renderBalanceReportTable totTabl
 | 
					        putStrLn $ renderBalanceReportTable totTabl
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user