btcpayserver/BTCPayServer/Views/UIPaymentRequest
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
..
_ViewImports.cshtml Rename UI controllers 2022-01-14 13:46:03 +09:00
_ViewStart.cshtml Rename UI controllers 2022-01-14 13:46:03 +09:00
EditPaymentRequest.cshtml Fix cart receipt + fix pos email form forwarding (#4917) 2023-04-26 16:45:35 +09:00
GetPaymentRequests.cshtml Feature Descriptor (#3831) 2023-02-13 09:25:24 +01:00
PaymentRequestsNavPages.cs Rename UI controllers 2022-01-14 13:46:03 +09:00
ViewPaymentRequest.cshtml Checkout v2: Minor UI updates (#4734) 2023-03-08 21:39:03 +09:00