BalanceView wording, mention case insensitivity
This commit is contained in:
		
							parent
							
								
									422e0923f1
								
							
						
					
					
						commit
						5fca083ad2
					
				| @ -2,9 +2,9 @@ | ||||
| {-| | ||||
| 
 | ||||
| This module is used by the 'balancesheet', 'incomestatement', and | ||||
| 'cashflow' commands to print out acocunt balances based on a specific | ||||
| 'cashflow' commands to print out account balances based on a specific | ||||
| "view", which consists of a title and multiple named queries that are | ||||
| aggregated and totaled. | ||||
| aggregated and totalled. | ||||
| 
 | ||||
| -} | ||||
| 
 | ||||
| @ -26,7 +26,7 @@ import Hledger.Cli.Balance | ||||
| import Hledger.Cli.CliOptions | ||||
| 
 | ||||
| -- | Describes a view for the balance, which can consist of multiple | ||||
| -- separate named queries that are aggregated and totaled. | ||||
| -- separate named queries that are aggregated and totalled. | ||||
| data BalanceView = BalanceView { | ||||
|       bvmode     :: String,                        -- ^ command line mode of the view | ||||
|       bvaliases  :: [String],                      -- ^ command line aliases | ||||
|  | ||||
| @ -26,7 +26,7 @@ balancesheetBV = BalanceView { | ||||
| This command displays a simple balance sheet, showing historical ending | ||||
| balances of asset and liability accounts (ignoring any report begin date).  | ||||
| It assumes that these accounts are under a top-level `asset` or `liability` | ||||
| account (plural forms also  allowed). | ||||
| account (case insensitive, plural forms also  allowed). | ||||
|           |], | ||||
|          bvtitle    = "Balance Sheet", | ||||
|          bvqueries  = [ ("Assets"     , journalAssetAccountQuery), | ||||
|  | ||||
| @ -28,8 +28,8 @@ cashflowBV = BalanceView { | ||||
|          bvhelp     = [here| | ||||
| This command displays a simple cashflow statement, showing changes | ||||
| in "cash" accounts. It assumes that these accounts are under a top-level  | ||||
| `asset` account and do not contain `receivable` or `A/R` in their name  | ||||
| (plural forms also allowed).  | ||||
| `asset` account (case insensitive, plural forms also allowed) and do not  | ||||
| contain `receivable` or `A/R` in their name.  | ||||
|           |], | ||||
|          bvtitle    = "Cashflow Statement", | ||||
|          bvqueries  = [("Cash flows", journalCashAccountQuery)], | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| {-# LANGUAGE QuasiQuotes, TemplateHaskell, OverloadedStrings, NoCPP #-} | ||||
| {-| | ||||
| 
 | ||||
| The @incomestatement@ command prints a simple income statement (profit & loss) report. | ||||
| The @incomestatement@ command prints a simple income statement (profit & loss report). | ||||
| 
 | ||||
| -} | ||||
| 
 | ||||
| @ -25,9 +25,8 @@ incomestatementBV = BalanceView { | ||||
|          bvhelp     = [here| | ||||
| This command displays a simple income statement, showing revenues | ||||
| and expenses during a period. It assumes that these accounts are under a  | ||||
| top-level `revenue` or `income` or `expense` account (plural forms  | ||||
| also allowed). | ||||
| 
 | ||||
| top-level `revenue` or `income` or `expense` account (case insensitive, | ||||
| plural forms also allowed). | ||||
|           |], | ||||
|          bvtitle    = "Income Statement", | ||||
|          bvqueries  = [ ("Revenues", journalIncomeAccountQuery), | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user