Support Topup Invoices in Apps

This commit is contained in:
Kukks
2021-10-08 13:11:00 +02:00
committed by Andrew Camilleri
parent 9df4429fc2
commit 7d2aa28e1f
12 changed files with 129 additions and 89 deletions

View File

@@ -83,7 +83,7 @@ namespace BTCPayServer.Models.AppViewModels
public class ContributeToCrowdfund
{
public ViewCrowdfundViewModel ViewCrowdfundViewModel { get; set; }
[Required] public decimal Amount { get; set; }
[Required] public decimal? Amount { get; set; }
public string Email { get; set; }
public string ChoiceKey { get; set; }
public bool RedirectToCheckout { get; set; }