resolve conflicts (Add: --no-new-accounts: don't allow to create new accounts)
This commit is contained in:
parent
acecc28ce5
commit
8274de5e92
@ -57,7 +57,7 @@ getTransaction l args = do
|
|||||||
if NoNewAccts `elem` opts
|
if NoNewAccts `elem` opts
|
||||||
then isJust $ Foldable.find (== x) ant
|
then isJust $ Foldable.find (== x) ant
|
||||||
else True
|
else True
|
||||||
where (ant,_,_,_) = groupTransactions . rawLedgerTransactions . rawledger $ l
|
where (ant,_,_,_) = groupPostings . journalPostings . journal $ l
|
||||||
getpostingsandvalidate = do
|
getpostingsandvalidate = do
|
||||||
ps <- getPostings accept bestmatchpostings []
|
ps <- getPostings accept bestmatchpostings []
|
||||||
let t = nulltransaction{tdate=date
|
let t = nulltransaction{tdate=date
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user