diff --git a/BTCPayServer/Controllers/AppsController.Crowdsale.cs b/BTCPayServer/Controllers/AppsController.Crowdsale.cs
index 6b3cb942a..9fc33c36f 100644
--- a/BTCPayServer/Controllers/AppsController.Crowdsale.cs
+++ b/BTCPayServer/Controllers/AppsController.Crowdsale.cs
@@ -74,7 +74,8 @@ namespace BTCPayServer.Controllers
UseInvoiceAmount = settings.UseInvoiceAmount,
ResetEveryAmount = settings.ResetEveryAmount,
ResetEvery = Enum.GetName(typeof(CrowdfundResetEvery), settings.ResetEvery),
- UseAllStoreInvoices = settings.UseAllStoreInvoices
+ UseAllStoreInvoices = settings.UseAllStoreInvoices,
+ AppId = appId
};
return View(vm);
}
diff --git a/BTCPayServer/Models/AppViewModels/UpdateCrowdfundViewModel.cs b/BTCPayServer/Models/AppViewModels/UpdateCrowdfundViewModel.cs
index 753d00220..b00d04145 100644
--- a/BTCPayServer/Models/AppViewModels/UpdateCrowdfundViewModel.cs
+++ b/BTCPayServer/Models/AppViewModels/UpdateCrowdfundViewModel.cs
@@ -72,6 +72,8 @@ namespace BTCPayServer.Models.AppViewModels
public bool UseInvoiceAmount { get; set; } = true;
[Display(Name = "Count all invoices created on the store as part of the crowdfunding goal")]
public bool UseAllStoreInvoices { get; set; } = false;
+
+ public string AppId { get; set; }
}
public enum CrowdfundResetEvery
diff --git a/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml b/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml
index dde7596d0..2a38bf90e 100644
--- a/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml
+++ b/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml
@@ -1,4 +1,5 @@
-@model UpdateCrowdfundViewModel
+@using BTCPayServer.Hubs
+@model UpdateCrowdfundViewModel
@{
ViewData["Title"] = "Update Crowdfund";
}
@@ -167,6 +168,7 @@
+ Invoices generated by app 
Back to the app list