summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-02-15 11:06:34 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:02 -0400
commit720042084db3928fcf919b973bc9fe85b11ab66a (patch)
tree2b035204aad1390df3aa9ba007dd40ed8f9b9aa7
parent2d3e852d30e5ee5939e4d9900959ee5eb58d6280 (diff)
downloadfork-ledger-720042084db3928fcf919b973bc9fe85b11ab66a.tar.gz
fork-ledger-720042084db3928fcf919b973bc9fe85b11ab66a.tar.bz2
fork-ledger-720042084db3928fcf919b973bc9fe85b11ab66a.zip
Added code for using reconcile_transactions, but it still need som
eporting.
-rw-r--r--main.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/main.py b/main.py
index a681e1e0..34223ae9 100644
--- a/main.py
+++ b/main.py
@@ -247,6 +247,21 @@ else:
handler = CalcTransactions (handler)
+ #if config.reconcile_balance:
+ # reconcilable = False
+ # if config.reconcile_balance == "<all>"
+ # reconcilable = True
+ # else
+ # target_balance = Value (config.reconcile_balance)
+ #
+ # cutoff = time.time ()
+ # # jww (2005-02-15): needs conversion
+ # #if config.reconcile_date:
+ # # cutoff = parse_date (config.reconcile_date)
+ #
+ # handler = ReconcileTransactions (handler, target_balance,
+ # cutoff, reconcilable)
+
if config.sort_string:
handler = SortTransactions (handler, config.sort_string)