Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add currency code to payment request table #4709

Conversation

bolatovumar
Copy link
Contributor

#4619

Some currencies have exactly the same formatting even though their values are different. Showing them with exactly the same formatting can be misleading even though it's technically correct for each of these currencies.

Not sure what the best way of dealing with this is but adding a column with the currency code seems like the most straightforward way to deal with this even though the currency code display can be redundant in many cases.

Before After
before Capture

@NicolasDorier NicolasDorier force-pushed the add-currency-code-to-payment-request-table branch from c564d60 to 19cfd86 Compare March 1, 2023 06:36
@NicolasDorier NicolasDorier force-pushed the add-currency-code-to-payment-request-table branch from 19cfd86 to 470fc6c Compare March 1, 2023 06:42
@NicolasDorier
Copy link
Member

I changed your PR to just add (USD) suffix. That said, your way of doing a new column is more in line with what we did in pull payments page.
Maybe we should change it as well there later.

@NicolasDorier NicolasDorier marked this pull request as ready for review March 1, 2023 06:46
@NicolasDorier NicolasDorier merged commit 040d767 into btcpayserver:master Mar 1, 2023
@dennisreimann dennisreimann deleted the add-currency-code-to-payment-request-table branch March 1, 2023 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants