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:
d11n
2023-01-26 01:27:31 +01:00
committed by GitHub
parent 5089ec9826
commit 69e90b7ff1
9 changed files with 289 additions and 266 deletions

View File

@@ -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;