Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							69d72e8c48 
							
						 
					 
					
						
						
							
							;refactor amountValue  
						
						
						
					 
					
						2019-05-25 05:34:29 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							bba9c32607 
							
						 
					 
					
						
						
							
							;doc: journal: clarify commodity directive does not affect parsing  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2019-05-25 05:29:49 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							34a0ad00b1 
							
						 
					 
					
						
						
							
							;lib: encapsulate Prices db  
						
						
						
					 
					
						2019-05-25 05:29:34 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							aa99743096 
							
						 
					 
					
						
						
							
							make -V do --value=end in multiperiod reports ( #329 )  
						
						
						
					 
					
						2019-05-24 10:30:35 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ea5050963f 
							
						 
					 
					
						
						
							
							web: try to fix RegisterR warning  
						
						
						
					 
					
						2019-05-23 22:34:31 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							5e54920160 
							
						 
					 
					
						
						
							
							;regen embedded manuals  
						
						
						
					 
					
						2019-05-23 22:26:43 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							20bc386b80 
							
						 
					 
					
						
						
							
							restore TransactionsReport  
						
						... 
						
						
						
						hledger-web's register chart uses it, I didn't see it
because it's called from a hamlet template. 
						
					 
					
						2019-05-23 22:15:40 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7212b92079 
							
						 
					 
					
						
						
							
							cleanups ( #329 )  
						
						
						
					 
					
						2019-05-23 22:07:50 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							54c1529638 
							
						 
					 
					
						
						
							
							lib: drop TransactionsReport, BalanceHistoryReport  
						
						... 
						
						
						
						They seem unused. 
						
					 
					
						2019-05-23 21:55:19 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							04a30fa084 
							
						 
					 
					
						
						
							
							lib: TransactionsReport/AccountTransactionsReport cleanup  
						
						... 
						
						
						
						Split them into separate files, rename journalTransactionsReport to
transactionsReport. 
						
					 
					
						2019-05-23 21:55:19 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9977739c76 
							
						 
					 
					
						
						
							
							bal etc.: replace --value=transaction with --value=cost ( #329 )  
						
						
						
					 
					
						2019-05-23 21:55:18 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							adbce22152 
							
						 
					 
					
						
						
							
							bal: --budget: don't always convert to cost  
						
						... 
						
						
						
						And don't show a percentage when budgeted and actual amounts are in
different commodities. 
						
					 
					
						2019-05-23 21:55:18 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2355da0f93 
							
						 
					 
					
						
						
							
							reg: replace --value=transaction with --value=cost  
						
						
						
					 
					
						2019-05-23 21:55:18 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ace215f5f3 
							
						 
					 
					
						
						
							
							print: replace --value=transaction with --value=cost  
						
						
						
					 
					
						2019-05-23 21:55:18 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							37c0edb1f9 
							
						 
					 
					
						
						
							
							lib: drop postingValueAtDate  
						
						
						
					 
					
						2019-05-23 21:55:18 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4a75971c6d 
							
						 
					 
					
						
						
							
							lib: postingTransformAmount, postingToCost, postingValue  
						
						
						
					 
					
						2019-05-23 21:55:17 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e5cb082fb5 
							
						 
					 
					
						
						
							
							lib: amountToCost, mixedAmountToCost  
						
						
						
					 
					
						2019-05-23 13:11:34 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f999bf78e6 
							
						 
					 
					
						
						
							
							opts: new -B/--cost, -V/--market, --value flags ( #329 )  
						
						
						
					 
					
						2019-05-23 13:11:20 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e21afc466a 
							
						 
					 
					
						
						
							
							bal/bs/bse: -H or --cumulative now disables -T ( #329 )  
						
						... 
						
						
						
						To reduce confusion, multiperiod balance reports using -H/--historical
or --cumulative, which show end balances, no longer show a Totals
column since summing end balances generally doesn't make sense.
Also the underlying MultiBalanceReport now returns zero for those
totals when in cumulative or historical mode. 
						
					 
					
						2019-05-11 20:43:28 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							76342a3fd0 
							
						 
					 
					
						
						
							
							bal/bs/cf/is: mention valuation type in report title  
						
						
						
					 
					
						2019-05-09 15:39:43 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							e5339218f7 
							
						 
					 
					
						
						
							
							lib: valueTypeFromOpts helper  
						
						
						
					 
					
						2019-05-09 15:36:26 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d15869f855 
							
						 
					 
					
						
						
							
							;doc: typo  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2019-05-09 12:22:48 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d77fd5743d 
							
						 
					 
					
						
						
							
							bal/bs/cf/is: support --value-at with -H; fix row/col/grand totals  
						
						... 
						
						
						
						This also includes a big cleanup of multiBalanceReport, which got
accidentally mingled. 
						
					 
					
						2019-05-09 07:58:45 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2ffe7914be 
							
						 
					 
					
						
						
							
							;improve valuation code docs  
						
						
						
					 
					
						2019-05-07 16:19:49 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							74e653bfbc 
							
						 
					 
					
						
						
							
							;lib: declare Period exports  
						
						
						
					 
					
						2019-05-06 11:52:10 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							72214a5747 
							
						 
					 
					
						
						
							
							reg: fix --value-at=transaction with -M ( #329 )  
						
						
						
					 
					
						2019-05-06 08:07:16 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ad00da244b 
							
						 
					 
					
						
						
							
							reg: support --value-at with -H ( #329 )  
						
						
						
					 
					
						2019-05-05 17:47:38 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							2ba0281335 
							
						 
					 
					
						
						
							
							bal: fix --value-at for old-style single period balance reports ( #329 )  
						
						
						
					 
					
						2019-05-05 10:51:07 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							629b590de1 
							
						 
					 
					
						
						
							
							;lib: cleanup  
						
						
						
					 
					
						2019-05-05 10:38:13 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							76542458e6 
							
						 
					 
					
						
						
							
							lib: mapJournalTransactions, mapJournalPostings, mapTransactionPostings  
						
						
						
					 
					
						2019-05-05 10:35:49 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							5a13bc632d 
							
						 
					 
					
						
						
							
							;clarify ledgerFromJournal doc  
						
						
						
					 
					
						2019-05-05 10:09:40 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1ad82d5b77 
							
						 
					 
					
						
						
							
							;lib: balanceReport cleanup  
						
						
						
					 
					
						2019-05-05 09:57:03 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f4b0381043 
							
						 
					 
					
						
						
							
							;lib: more docs for balanceReport  
						
						
						
					 
					
						2019-05-05 09:50:29 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							8d7eacd73f 
							
						 
					 
					
						
						
							
							bal: support --value-at=p/t with multiperiod reports ( #329 )  
						
						
						
					 
					
						2019-05-05 09:30:01 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							74c381cc88 
							
						 
					 
					
						
						
							
							;lib: more docs for multiBalanceReport  
						
						
						
					 
					
						2019-05-04 17:46:52 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							66b1599058 
							
						 
					 
					
						
						
							
							;lib: postingsReport cleanup  
						
						
						
					 
					
						2019-05-04 17:09:16 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							cc05f48697 
							
						 
					 
					
						
						
							
							;lib: multiBalanceReport cleanup  
						
						
						
					 
					
						2019-05-04 12:34:59 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							12c0bfb39b 
							
						 
					 
					
						
						
							
							;lib: brValue cleanup  
						
						
						
					 
					
						2019-05-04 12:22:00 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ec1b98434c 
							
						 
					 
					
						
						
							
							reg: support --value-at=period with periodic reports ( #329 )  
						
						
						
					 
					
						2019-05-04 12:22:00 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							dd8c403c81 
							
						 
					 
					
						
						
							
							;cli: option help tweaks  
						
						
						
					 
					
						2019-05-04 12:22:00 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							cca0b7aec6 
							
						 
					 
					
						
						
							
							;update changelogs  
						
						
						
					 
					
						2019-05-04 12:21:54 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ebf5ed93f2 
							
						 
					 
					
						
						
							
							valuation: more thorough --value-at; document status ( #329 ,  #999 )  
						
						... 
						
						
						
						This feature turns out to be quite involved, as valuation interacts
with the many report variations. Various bugs/specs have been
fixed/clarified relating to register's running total, balance totals
etc. Eg register's total should now be the sum of the posting amount
values, not the values of the original sums. Current level of support
has been documented.
When valuing at transaction date, we once again do early valuation of
all posting amounts, to get more correct results. variants. This means
--value-at=t can be slower than other valuation modes when there are
many transactions and many prices. This could be revisited for
optimisation when things are more settled. 
						
					 
					
						2019-05-03 12:24:02 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							696e3098c8 
							
						 
					 
					
						
						
							
							reg: support --value-at in register reports; cleanups, tests  
						
						
						
					 
					
						2019-04-26 12:08:46 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							7306e61646 
							
						 
					 
					
						
						
							
							bal: support --value-at in single column balance reports  
						
						
						
					 
					
						2019-04-26 12:08:32 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							00975fb226 
							
						 
					 
					
						
						
							
							bal*: support --value-at in multicolumn balance reports  
						
						
						
					 
					
						2019-04-26 12:08:31 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							65934958f9 
							
						 
					 
					
						
						
							
							rename --value-date -> --value-at; --value-at implies -V  
						
						
						
					 
					
						2019-04-26 12:08:31 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6626778012 
							
						 
					 
					
						
						
							
							lib: amountValue, commodityValue doc cleanups  
						
						
						
					 
					
						2019-04-26 12:08:31 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9adae02973 
							
						 
					 
					
						
						
							
							print: add --value-date general option; implement for print -V  
						
						
						
					 
					
						2019-04-26 12:08:31 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9d3eb8c069 
							
						 
					 
					
						
						
							
							bal, reg, print: -V prefers non-future valuation dates again ( #999 )  
						
						
						
					 
					
						2019-04-24 08:31:21 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ef9c4a29c4 
							
						 
					 
					
						
						
							
							lib: save the current date in ReportOpts  
						
						... 
						
						
						
						We need this for choosing a valuation date, otherwise, report
functions would have to be in IO or we'd have to pass in yet another
argument.
It's optional because it's useful to be able to create report opts
purely (I think ?) This is not ideal but maybe not a problem. 
						
					 
					
						2019-04-24 08:25:55 -07:00