diff --git a/BTCPayServer/Controllers/AppsController.Crowdfund.cs b/BTCPayServer/Controllers/AppsController.Crowdfund.cs index bfa3e5ffc..9c742177d 100644 --- a/BTCPayServer/Controllers/AppsController.Crowdfund.cs +++ b/BTCPayServer/Controllers/AppsController.Crowdfund.cs @@ -36,6 +36,7 @@ namespace BTCPayServer.Controllers { NotificationEmailWarning = !await IsEmailConfigured(app.StoreDataId), Title = settings.Title, + StoreId = app.StoreDataId, Enabled = settings.Enabled, EnforceTargetAmount = settings.EnforceTargetAmount, StartDate = settings.StartDate, diff --git a/BTCPayServer/Controllers/AppsController.PointOfSale.cs b/BTCPayServer/Controllers/AppsController.PointOfSale.cs index 2a6d379f9..1fa680475 100644 --- a/BTCPayServer/Controllers/AppsController.PointOfSale.cs +++ b/BTCPayServer/Controllers/AppsController.PointOfSale.cs @@ -96,6 +96,7 @@ namespace BTCPayServer.Controllers { NotificationEmailWarning = !await IsEmailConfigured(app.StoreDataId), Id = appId, + StoreId = app.StoreDataId, Title = settings.Title, EnableShoppingCart = settings.EnableShoppingCart, ShowCustomAmount = settings.ShowCustomAmount, diff --git a/BTCPayServer/Models/AppViewModels/UpdateCrowdfundViewModel.cs b/BTCPayServer/Models/AppViewModels/UpdateCrowdfundViewModel.cs index 346673ba5..88f94e1c7 100644 --- a/BTCPayServer/Models/AppViewModels/UpdateCrowdfundViewModel.cs +++ b/BTCPayServer/Models/AppViewModels/UpdateCrowdfundViewModel.cs @@ -9,6 +9,7 @@ namespace BTCPayServer.Models.AppViewModels { public class UpdateCrowdfundViewModel { + public string StoreId { get; set; } [Required] [MaxLength(30)] public string Title { get; set; } [MaxLength(50)] public string Tagline { get; set; } diff --git a/BTCPayServer/Models/AppViewModels/UpdatePointOfSaleViewModel.cs b/BTCPayServer/Models/AppViewModels/UpdatePointOfSaleViewModel.cs index 378a2eefd..66460ac80 100644 --- a/BTCPayServer/Models/AppViewModels/UpdatePointOfSaleViewModel.cs +++ b/BTCPayServer/Models/AppViewModels/UpdatePointOfSaleViewModel.cs @@ -7,6 +7,7 @@ namespace BTCPayServer.Models.AppViewModels { public class UpdatePointOfSaleViewModel { + public string StoreId { get; set; } [Required] [MaxLength(30)] public string Title { get; set; } diff --git a/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml b/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml index 503097ce6..1ca73a734 100644 --- a/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml +++ b/BTCPayServer/Views/Apps/UpdateCrowdfund.cshtml @@ -41,6 +41,7 @@
+
* @@ -146,7 +147,7 @@ @if (Model.NotificationEmailWarning) { - + } diff --git a/BTCPayServer/Views/Apps/UpdatePointOfSale.cshtml b/BTCPayServer/Views/Apps/UpdatePointOfSale.cshtml index cf91bef14..515b6e488 100644 --- a/BTCPayServer/Views/Apps/UpdatePointOfSale.cshtml +++ b/BTCPayServer/Views/Apps/UpdatePointOfSale.cshtml @@ -40,6 +40,7 @@
+
* @@ -119,7 +120,7 @@ @if (Model.NotificationEmailWarning) { - + } diff --git a/BTCPayServer/Views/Shared/NotificationEmailWarning.cshtml b/BTCPayServer/Views/Shared/NotificationEmailWarning.cshtml index fa5e0cc71..3d62354e6 100644 --- a/BTCPayServer/Views/Shared/NotificationEmailWarning.cshtml +++ b/BTCPayServer/Views/Shared/NotificationEmailWarning.cshtml @@ -1,5 +1,5 @@
The Email settings have not been configured on this server or store yet. Setting this field will not send emails until then. Configure store email settings + The Email settings have not been configured on this server or store yet. Setting this field will not send emails until then. Configure store email settings