mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-20 21:54:23 +01:00
Merge pull request #4327 from btcpayserver/dennisreimann-patch-1
This commit is contained in:
@@ -200,9 +200,9 @@ namespace BTCPayServer.Plugins.PointOfSale.Controllers
|
||||
}
|
||||
|
||||
decimal expectedCartItemPrice = 0;
|
||||
if (choice.Price.Type != ViewPointOfSaleViewModel.Item.ItemPrice.ItemPriceType.Topup)
|
||||
if (itemChoice.Price.Type != ViewPointOfSaleViewModel.Item.ItemPrice.ItemPriceType.Topup)
|
||||
{
|
||||
expectedCartItemPrice = choice.Price.Value ?? 0;
|
||||
expectedCartItemPrice = itemChoice.Price.Value ?? 0;
|
||||
}
|
||||
|
||||
expectedMinimumAmount += expectedCartItemPrice * cartItem.Value;
|
||||
|
||||
Reference in New Issue
Block a user