resolve conflicts (Add: --no-new-accounts: don't allow to create new accounts)

This commit is contained in:
Simon Michael 2010-02-03 22:49:02 +00:00
parent acecc28ce5
commit 8274de5e92

View File

@ -57,7 +57,7 @@ getTransaction l args = do
if NoNewAccts `elem` opts
then isJust $ Foldable.find (== x) ant
else True
where (ant,_,_,_) = groupTransactions . rawLedgerTransactions . rawledger $ l
where (ant,_,_,_) = groupPostings . journalPostings . journal $ l
getpostingsandvalidate = do
ps <- getPostings accept bestmatchpostings []
let t = nulltransaction{tdate=date