diff --git a/uber/payments.py b/uber/payments.py index 52cc73c1c..7a446bd0c 100644 --- a/uber/payments.py +++ b/uber/payments.py @@ -1083,6 +1083,9 @@ def mark_paid_from_ids(intent_id, charge_id): session.add(txn) txn_receipt = txn.receipt + if txn.cancelled != None: + txn.cancelled == None + for item in txn.receipt_items: item.closed = datetime.now() session.add(item) diff --git a/uber/templates/reg_admin/receipt_items.html b/uber/templates/reg_admin/receipt_items.html index 0419902c7..cd6c5df37 100644 --- a/uber/templates/reg_admin/receipt_items.html +++ b/uber/templates/reg_admin/receipt_items.html @@ -568,7 +568,7 @@