mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-20 13:34:37 +01:00
parent
836c676057
commit
e334b9162a
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ namespace BTCPayServer
|
|||
if (i.Type != InvoiceType.TopUp)
|
||||
{
|
||||
min = i.GetPaymentMethod(pmi).Calculate().Due.ToDecimal(MoneyUnit.Satoshi);
|
||||
max = min;
|
||||
max = item?.Price?.Type == ViewPointOfSaleViewModel.Item.ItemPrice.ItemPriceType.Minimum ? null : min;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(username))
|
||||
|
|
Loading…
Add table
Reference in a new issue