diff --git a/src/Admin/AdminConsole/Models/OrganizationEditModel.cs b/src/Admin/AdminConsole/Models/OrganizationEditModel.cs index 84923a959..0b6243a33 100644 --- a/src/Admin/AdminConsole/Models/OrganizationEditModel.cs +++ b/src/Admin/AdminConsole/Models/OrganizationEditModel.cs @@ -38,7 +38,6 @@ public class OrganizationEditModel : OrganizationViewModel BraintreeMerchantId = globalSettings.Braintree.MerchantId; Name = org.DisplayName(); - BusinessName = org.DisplayBusinessName(); BillingEmail = provider?.Type == ProviderType.Reseller ? provider.BillingEmail : org.BillingEmail; PlanType = org.PlanType; Plan = org.Plan; @@ -81,8 +80,6 @@ public class OrganizationEditModel : OrganizationViewModel [Required] [Display(Name = "Organization Name")] public string Name { get; set; } - [Display(Name = "Business Name")] - public string BusinessName { get; set; } [Display(Name = "Billing Email")] public string BillingEmail { get; set; } [Required] @@ -186,7 +183,6 @@ public class OrganizationEditModel : OrganizationViewModel public Organization ToOrganization(Organization existingOrganization) { existingOrganization.Name = WebUtility.HtmlEncode(Name.Trim()); - existingOrganization.BusinessName = WebUtility.HtmlEncode(BusinessName.Trim()); existingOrganization.BillingEmail = BillingEmail?.ToLowerInvariant()?.Trim(); existingOrganization.PlanType = PlanType.Value; existingOrganization.Plan = Plan; diff --git a/src/Admin/AdminConsole/Views/Shared/_OrganizationForm.cshtml b/src/Admin/AdminConsole/Views/Shared/_OrganizationForm.cshtml index 94d6312f5..49b8234d9 100644 --- a/src/Admin/AdminConsole/Views/Shared/_OrganizationForm.cshtml +++ b/src/Admin/AdminConsole/Views/Shared/_OrganizationForm.cshtml @@ -9,7 +9,6 @@ @{ var canViewGeneralDetails = AccessControlService.UserHasPermission(Permission.Org_GeneralDetails_View); var canViewBilling = AccessControlService.UserHasPermission(Permission.Org_Billing_View); - var canViewBusinessInformation = AccessControlService.UserHasPermission(Permission.Org_BusinessInformation_View); var canViewPlan = AccessControlService.UserHasPermission(Permission.Org_Plan_View); var canViewLicensing = AccessControlService.UserHasPermission(Permission.Org_Licensing_View); var canCheckEnabled = AccessControlService.UserHasPermission(Permission.Org_CheckEnabledBox); @@ -61,19 +60,6 @@ } } - @if (canViewBusinessInformation) - { -