mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Point of Sale: Improve merchant view (#4560)
* Point of Sale: Improve merchant view Closes #3843. * Trim bottom section * Display App Name and Display Title next to each other * Update views
This commit is contained in:
@@ -352,7 +352,6 @@ namespace BTCPayServer.Plugins.PointOfSale.Controllers
|
||||
RedirectUrl = settings.RedirectUrl,
|
||||
SearchTerm = app.TagAllInvoices ? $"storeid:{app.StoreDataId}" : $"orderid:{AppService.GetAppOrderId(app)}",
|
||||
RedirectAutomatically = settings.RedirectAutomatically.HasValue ? settings.RedirectAutomatically.Value ? "true" : "false" : "",
|
||||
RequiresRefundEmail = settings.RequiresRefundEmail,
|
||||
FormId = settings.FormId
|
||||
};
|
||||
if (HttpContext?.Request != null)
|
||||
@@ -440,8 +439,7 @@ namespace BTCPayServer.Plugins.PointOfSale.Controllers
|
||||
Description = vm.Description,
|
||||
EmbeddedCSS = vm.EmbeddedCSS,
|
||||
RedirectAutomatically =
|
||||
string.IsNullOrEmpty(vm.RedirectAutomatically) ? (bool?)null : bool.Parse(vm.RedirectAutomatically),
|
||||
RequiresRefundEmail = vm.RequiresRefundEmail
|
||||
string.IsNullOrEmpty(vm.RedirectAutomatically) ? (bool?)null : bool.Parse(vm.RedirectAutomatically)
|
||||
};
|
||||
|
||||
settings.FormId = vm.FormId;
|
||||
|
||||
Reference in New Issue
Block a user