John's fix for bug #713 changes the way basis cost are calculated. The patch also fixes #712, which caused ledger to create automatic Equity:Capital Gains that were not correct. Update the test cases accordingly after verifying the new output.
26 lines
662 B
Text
26 lines
662 B
Text
i 2007/03/01 23:00:00 A
|
|
o 2007/03/02 01:00:00
|
|
i 2007/03/11 23:00:00 B
|
|
o 2007/03/12 01:00:00
|
|
|
|
2006/05/22 * Company
|
|
Assets:Receivable $4,000.00
|
|
Income:Contracts -40h @ $100.00
|
|
|
|
2006/05/22 * Company
|
|
Assets:Receivable $4,000.00
|
|
Income:Contracts -40h {$20} @ $100.00
|
|
Income:Gains $-3,200.00
|
|
|
|
test bal --base
|
|
7200s A
|
|
$8,000.00 Assets:Receivable
|
|
7200s B
|
|
$-3,200.00
|
|
-288000s Income
|
|
-288000s Contracts
|
|
$-3,200.00 Gains
|
|
--------------------
|
|
$4,800.00
|
|
-273600s
|
|
end test
|