btcpayserver/BTCPayServer/Components
Andrew Camilleri 45b74e1ce5
Fix cart receipt + fix pos email form forwarding (#4917)
* Show correct array regardless of size

fixes #4890

* Email provided to pos form was not forwarded to form

fixes #4810

* Make invoice receipt url redirect to the invoice redirect url if receipt is not enabled

When setting up a default email rule upon invoice settlement, you would link to the receipt page naturally. However, if using the payment requests, receipts are disabled as the payment request itself is the receipt.  This commit makes the receipt url redirect to the invoice redirect url if available, and in the case of payment requests, it would mean the receipt url is the payment request url. fixes #4895

* Set the email address in the form when configured in the payment request

* fix pay request email copy

* fix payouts nav link

fixes #4788

* Update BTCPayServer/Views/UIPaymentRequest/EditPaymentRequest.cshtml

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>

---------

Co-authored-by: Nicolas Dorier <nicolas.dorier@gmail.com>
2023-04-26 16:45:35 +09:00
..
AppSales Dotnet reformat 2023-04-10 11:07:03 +09:00
AppTopItems Refactor plugin apps (#4780) 2023-03-20 10:39:26 +09:00
Icon Add presets in the checkout appearance (#4756) 2023-04-04 10:45:40 +09:00
LabelManager Dotnet reformat 2023-04-10 11:07:03 +09:00
MainLogo Fix logos when rootPath is used (#4367) 2022-11-28 09:25:18 +01:00
MainNav Fix cart receipt + fix pos email form forwarding (#4917) 2023-04-26 16:45:35 +09:00
Notifications Fix invoice paid after expiration icon 2023-03-14 14:54:01 +01:00
Pager Improve pagination (#4828) 2023-04-04 10:54:04 +09:00
QRCode Dotnet reformat 2023-04-10 11:07:03 +09:00
StoreLightningBalance Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
StoreLightningServices Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
StoreNumbers Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
StoreRecentInvoices Update price display (#4736) 2023-03-13 10:12:58 +09:00
StoreRecentTransactions Dotnet reformat 2023-04-10 11:07:03 +09:00
StoreSelector Minor UI updates (#4530) 2023-01-19 18:08:34 +09:00
StoreWalletBalance Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
ThemeSwitch 1.4.0 Final Polish (#3335) 2022-01-25 11:07:52 +09:00
TruncateCenter Do not render the TruncateCenter if text null or empty 2023-04-10 11:17:29 +09:00
UiExtensionPoint Plugins: Pass the current Model to the Ui extension points 2021-09-27 14:16:38 +02:00
WalletNav Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00