Changeset - 80dace59b385
[Not reviewed]
1 0 1
Ben Sturmfels (bsturmfels) - 2 years ago 2022-02-22 21:18:52
ben@sturm.com.au
reconcile: Rename statement reconciler.
1 file changed with 7 insertions and 0 deletions:
0 comments (0 inline, 0 general)
conservancy_beancount/reconcile/statement_reconciler.py
Show inline comments
 
file renamed from conservancy_beancount/reconcile/prototype_amex_reconciler.py to conservancy_beancount/reconcile/statement_reconciler.py
...
 
@@ -220,2 +220,4 @@ def records_match(r1: Dict, r2: Dict) -> Tuple[bool, str]:
 
    payee_message = ''
 
    # Sometimes we get unrelated numbers in the statement column with check-ids,
 
    # so we can't match based on the existence of a statement check-id.
 
    if r2['check_id']:
...
 
@@ -257,2 +259,7 @@ def match_statement_and_books(statement_trans: list, books_trans: list):
 

	
 
    # We can delete the matched books trans, but seems not a good idea to delete
 
    # while iterating through statement_trans. Instead pushing onto a separate
 
    # list.
 
    remaining_statement_trans = []
 

	
 
    for r1 in statement_trans:
0 comments (0 inline, 0 general)