mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-21 14:04:12 +01:00
Fix keypad view broken by previous commit
This commit is contained in:
parent
d8c0e5bf3a
commit
76faf77a1c
1 changed files with 1 additions and 1 deletions
|
@ -199,13 +199,13 @@ namespace BTCPayServer.Plugins.PointOfSale.Controllers
|
||||||
if (!settings.ShowCustomAmount && currentView != PosViewType.Cart && currentView != PosViewType.Light)
|
if (!settings.ShowCustomAmount && currentView != PosViewType.Cart && currentView != PosViewType.Light)
|
||||||
return NotFound();
|
return NotFound();
|
||||||
|
|
||||||
price = 0.0m;
|
|
||||||
title = settings.Title;
|
title = settings.Title;
|
||||||
//if cart IS enabled and we detect posdata that matches the cart system's, check inventory for the items
|
//if cart IS enabled and we detect posdata that matches the cart system's, check inventory for the items
|
||||||
|
|
||||||
if (currentView == PosViewType.Cart &&
|
if (currentView == PosViewType.Cart &&
|
||||||
AppService.TryParsePosCartItems(jposData, out cartItems))
|
AppService.TryParsePosCartItems(jposData, out cartItems))
|
||||||
{
|
{
|
||||||
|
price = 0.0m;
|
||||||
choices = AppService.Parse(settings.Template, false);
|
choices = AppService.Parse(settings.Template, false);
|
||||||
foreach (var cartItem in cartItems)
|
foreach (var cartItem in cartItems)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue