mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-29 13:22:27 +03:00
simplify
This commit is contained in:
parent
4679003b83
commit
18e3e4d34b
@ -20,7 +20,7 @@ showTransactionsWithBalances opts args l =
|
|||||||
where
|
where
|
||||||
ts = filter matchtxn $ ledgerTransactions l
|
ts = filter matchtxn $ ledgerTransactions l
|
||||||
matchtxn (Transaction _ _ desc acct _) = matchLedgerPatterns False apats acct
|
matchtxn (Transaction _ _ desc acct _) = matchLedgerPatterns False apats acct
|
||||||
pats@(apats,dpats) = parseAccountDescriptionArgs args
|
apats = fst $ parseAccountDescriptionArgs args
|
||||||
startingbalance = nullamt
|
startingbalance = nullamt
|
||||||
showTransactionsWithBalances' :: [Transaction] -> Transaction -> Amount -> [String]
|
showTransactionsWithBalances' :: [Transaction] -> Transaction -> Amount -> [String]
|
||||||
showTransactionsWithBalances' [] _ _ = []
|
showTransactionsWithBalances' [] _ _ = []
|
||||||
|
Loading…
Reference in New Issue
Block a user