btcpayserver/BTCPayServer/Models
rockstardev 9dcf8d3251
Display fiat amount previews in Transaction Details page (#6610)
* Code cleanup

* Preparing model to include data needed for fiat display

* Displaying fiat amount and allowing switching between it and BTC

* Restoring parts removed by vibe coding

* Making ToFiatAmount method work for in wider variety of cases

* Tweaks for display and negative values

* Calculating amounts on serverside and simplifying

* Fix warnings

---------

Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2025-03-08 21:33:19 +09:00
..
AccountViewModels Allow translations of BTCPay Server Backend by admins (#5662) 2024-07-24 20:16:20 +09:00
AppViewModels Archive stores and apps (#5296) 2023-09-11 09:59:17 +09:00
Authorization
InvoicingModels Rename more legacy fields 2024-10-07 21:22:03 +09:00
ManageViewModels Add more translations (#6302) 2024-10-17 22:51:40 +09:00
NotificationViewModels Refactoring: Remove StoreData object from view models (#6363) 2024-11-07 08:58:47 +09:00
PaymentRequestViewModels Cleanup useless code 2024-10-16 16:25:16 +09:00
ServerViewModels More Translations (#6318) 2024-10-25 22:48:53 +09:00
StoreReportsViewModels BlockExplorer links should be using payment method ids (#6273) 2024-10-04 16:58:13 +09:00
StoreViewModels Multisig/watchonly wallet transaction creation flow proof of concept (#5743) 2024-12-10 21:56:52 +09:00
WalletViewModels Display fiat amount previews in Transaction Details page (#6610) 2025-03-08 21:33:19 +09:00
AdditionalServiceViewModel.cs Lightning: Catch and display external service errors 2022-05-04 14:30:07 +02:00
BasePagingViewModel.cs Add list count to user preferences cookie (#4637) 2023-02-15 11:04:17 +09:00
BitpayCreateInvoiceRequest.cs Remove CheckoutV1 2024-04-05 16:58:13 +09:00
BitpayErrorsModel.cs
DataWrapper.cs
EmailsViewModel.cs Adding endpoint to set server email settings (#6601) 2025-02-27 15:59:17 +09:00
ErrorViewModel.cs
GetTokensResponse.cs Warning if not using 'simple using' 2022-01-14 17:50:29 +09:00
HomeViewModel.cs
IHasBackAndReturnUrl.cs Refactor: Remove cshtml duplication for back/url buttons in wizards 2025-02-07 16:57:50 +09:00
InvoiceResponse.cs Remove CheckoutV1 2024-04-05 16:58:13 +09:00
PostRedictViewModel.cs Dotnet reformat 2023-04-10 11:07:03 +09:00
SetupBoltcardViewModel.cs Boltcard integration (#5419) 2023-12-06 09:17:58 +09:00
StoreBrandingViewModel.cs Store Branding: Apply brand color to backend as well (#5992) 2024-09-13 21:39:21 +09:00
TokenRequest.cs
ViewPullPaymentModel.cs Refactor payouts processing (#6314) 2024-10-19 21:33:34 +09:00