From 76faf77a1c3b4c78e787a7d9ae628df26677dd41 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Fri, 16 Jun 2023 23:18:47 +0900 Subject: [PATCH] Fix keypad view broken by previous commit --- .../Plugins/PointOfSale/Controllers/UIPointOfSaleController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Plugins/PointOfSale/Controllers/UIPointOfSaleController.cs b/BTCPayServer/Plugins/PointOfSale/Controllers/UIPointOfSaleController.cs index 025709956..bb5af5aec 100644 --- a/BTCPayServer/Plugins/PointOfSale/Controllers/UIPointOfSaleController.cs +++ b/BTCPayServer/Plugins/PointOfSale/Controllers/UIPointOfSaleController.cs @@ -199,13 +199,13 @@ namespace BTCPayServer.Plugins.PointOfSale.Controllers if (!settings.ShowCustomAmount && currentView != PosViewType.Cart && currentView != PosViewType.Light) return NotFound(); - price = 0.0m; title = settings.Title; //if cart IS enabled and we detect posdata that matches the cart system's, check inventory for the items if (currentView == PosViewType.Cart && AppService.TryParsePosCartItems(jposData, out cartItems)) { + price = 0.0m; choices = AppService.Parse(settings.Template, false); foreach (var cartItem in cartItems) {