diff --git a/src/Admin/Models/ProviderEditModel.cs b/src/Admin/Models/ProviderEditModel.cs index 92b2f89e98..2052bf6cfd 100644 --- a/src/Admin/Models/ProviderEditModel.cs +++ b/src/Admin/Models/ProviderEditModel.cs @@ -14,10 +14,13 @@ public class ProviderEditModel : ProviderViewModel Name = provider.Name; BusinessName = provider.BusinessName; BillingEmail = provider.BillingEmail; + BillingPhone = provider.BillingPhone; } [Display(Name = "Billing Email")] public string BillingEmail { get; set; } + [Display(Name = "Billing Phone Number")] + public string BillingPhone { get; set; } [Display(Name = "Business Name")] public string BusinessName { get; set; } public string Name { get; set; } @@ -28,6 +31,7 @@ public class ProviderEditModel : ProviderViewModel existingProvider.Name = Name; existingProvider.BusinessName = BusinessName; existingProvider.BillingEmail = BillingEmail?.ToLowerInvariant()?.Trim(); + existingProvider.BillingPhone = BillingPhone?.ToLowerInvariant()?.Trim(); return existingProvider; } } diff --git a/src/Admin/Views/Providers/Edit.cshtml b/src/Admin/Views/Providers/Edit.cshtml index f9acfb8a43..cdf8c2eccb 100644 --- a/src/Admin/Views/Providers/Edit.cshtml +++ b/src/Admin/Views/Providers/Edit.cshtml @@ -36,6 +36,14 @@ +
Name | +Name | +Status | ++ + |
---|---|---|---|
- @org.OrganizationName + @org.OrganizationName + | ++ @org.Status + | +
+
+ @if (org.Status == OrganizationStatusType.Pending)
+ {
+
+
+
+ }
+ else
+ {
+
+ }
+
|