mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
Merge pull request #4327 from btcpayserver/dennisreimann-patch-1
This commit is contained in:
commit
bd3710a60f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user