Skip to content

Commit

Permalink
Issue sentier-dev#129: Some comments for the existing code.
Browse files Browse the repository at this point in the history
  • Loading branch information
lilliputten committed Apr 6, 2024
1 parent a7c9fb3 commit 17fbea5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dds_registration/fixtures/test-options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
fields:
id: 2
item: 'T-Shirt'
price: 19
price: 10
currency: 'USD'
event_id: 1
2 changes: 2 additions & 0 deletions dds_registration/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ class Payment(Model):
("INVOICE", "Bank Transfer (Invoice)"),
# ("WISE", "Wise"), # Not yet implemented
]
# # I'd suggest using this, at least (or smth similar):
# METHOD_LABELS = dict(METHODS)
METHOD_LABELS = {
"STRIPE": "Credit Card via Stripe",
"INVOICE": "Bank Transfer"
Expand Down

0 comments on commit 17fbea5

Please sign in to comment.