Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

Commit

Permalink
Add payment_amount_iso to admin registration route (#645)
Browse files Browse the repository at this point in the history
  • Loading branch information
FinnIckler authored Aug 19, 2024
1 parent 5626316 commit 60fcde6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/registration_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ def get_registrations(competition_id, only_attending: false)
},
payment: {
payment_status: x.payment_status,
payment_amount_iso: x.payment_amount,
payment_amount_human_readable: x.payment_amount_human_readable,
updated_at: x.payment_date,
},
Expand Down

0 comments on commit 60fcde6

Please sign in to comment.