Commit graph

18 commits

Author SHA1 Message Date
Nicolas Dorier
dc7733abcd
Merge pull request #1041 from Kukks/satscurrency
Add sats as a native currency
2020-02-03 08:42:35 +00:00
Andrew Camilleri
54c7c0d696 Add currency precision based on network (#1294) 2020-01-21 22:28:13 +09:00
Kukks
71671b9e16 Add sats as a native currency
This will allow you to create an invoice where its primary currency is denominated in sats
2020-01-21 13:33:59 +01:00
nicolas.dorier
15c3893aab
Make sure currency is in uppercase 2019-06-10 00:46:29 +09:00
nicolas.dorier
b4b4523193 Round currency up to significant decimal 2019-02-22 22:15:25 +09:00
nicolas.dorier
7e0f9f6e0d Inject HtmlSanitizer in AddBTCPayServer, remove AppHelpers deps when possible 2019-02-17 18:47:25 +09:00
nicolas.dorier
1a98bfba36 Fix formatting of currencies in Invoice detail page 2019-01-30 19:18:44 +09:00
nicolas.dorier
9db5c0f375 Hack tests to make currency formatting work on linux 2018-12-19 00:28:06 +09:00
nicolas.dorier
998472e463 Fix symbol display on linux 2018-12-19 00:11:15 +09:00
nicolas.dorier
cad602ad14 Fix several issues in cart
* Fix: Only USD currency with 2 decimals were properly handled for tips
* Fix: All PoS apps would were sharing the same basket
* Fix: Currency formatting was not using server side information
* Fix: Various bug of formatting for decimal 0 and more than 2.
2018-12-04 13:04:26 +09:00
nicolas.dorier
3d85dace38 Move currency display method into CurrencyNameTable 2018-10-09 23:30:26 +09:00
nicolas.dorier
3cf3aa63f6 CurrencyNameTable can use fallback 2018-05-20 23:37:18 +09:00
nicolas.dorier
011dd5574f Add a fallback currency format info 2018-05-20 23:22:20 +09:00
nicolas.dorier
eeb522fe7d Remove special case for showing crypto currency 2018-05-16 21:19:48 +09:00
nicolas.dorier
ecf03f90aa Fix UriAttribute bug, and currency formatting crash 2018-05-16 02:24:59 +09:00
nicolas.dorier
ca85095273 Move code into CurrencyNameTable 2017-10-27 18:58:43 +09:00
nicolas.dorier
4deb7c3270 Adopt dotnet core editorconfig, big reformating 2017-10-27 17:53:04 +09:00
NicolasDorier
f8baab8138 Renaming + fix invoice display when paid and expired 2017-09-15 16:06:57 +09:00
Renamed from BTCPayServer/RateProvider/CurrencyNameTable.cs (Browse further)