Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

_CreateOrUpdate.Info.cshtml

@model CustomerModel

@using Newtonsoft.Json
@if (Model.CountryEnabled && Model.StateProvinceEnabled)
{
    
}

@if (Model.UsernamesEnabled) {
}
@if (Model.Id > 0) { }
@if (Model.GenderEnabled) {
@if (Model.NeutralGenderEnabled) {
}
} @if (Model.DateOfBirthEnabled) {
} @if (Model.CompanyEnabled) {
} @if (Model.StreetAddressEnabled) {
} @if (Model.StreetAddress2Enabled) {
} @if (Model.ZipPostalCodeEnabled) {
} @if (Model.CityEnabled) {
} @if (Model.CountyEnabled) {
} @if (Model.CountryEnabled) {
} @if (Model.CountryEnabled && Model.StateProvinceEnabled) {
} @if (Model.PhoneEnabled) {
} @if (Model.FaxEnabled) {
} @if (Model.CustomerAttributes.Count > 0) { @await Html.PartialAsync("_CustomerAttributes", Model.CustomerAttributes) }
@if (Model.DisplayVatNumber) {
(@string.Format(T("Admin.Customers.Customers.Fields.VatNumberStatus").Text, Model.VatNumberStatusNote))
} @if (Model.AllowCustomersToSetTimeZone) {
} @if (Model.AvailableNewsletterSubscriptionStores != null && Model.AvailableNewsletterSubscriptionStores.Count > 0) {
}
@T("Admin.Customers.Customers.VendorShouldBeInVendorsRole")
@if (Model.AffiliateId > 0) {
@Model.AffiliateName - @T("Admin.Common.View")
}
@if (!string.IsNullOrEmpty(Model.MultiFactorAuthenticationProvider)) {
@if (Model.Id > 0) { @T("Admin.Common.Delete") }
} @if (Model.Id > 0 && Model.CustomerAssociatedExternalAuthRecordsSearchModel.AssociatedExternalAuthRecords.Count > 0) {
@await Html.PartialAsync("Table", new DataTablesModel { Name = "externalauthrecords-grid", Paging = false, ServerSide = false, Length = Model.CustomerAssociatedExternalAuthRecordsSearchModel.PageSize, LengthMenu = Model.CustomerAssociatedExternalAuthRecordsSearchModel.AvailablePageSizes, ColumnCollection = new List { new ColumnProperty(nameof(CustomerAssociatedExternalAuthModel.AuthMethodName)) { Title = T("Admin.Customers.Customers.AssociatedExternalAuth.Fields.AuthMethodName").Text, Width = "100" }, new ColumnProperty(nameof(CustomerAssociatedExternalAuthModel.Email)) { Title = T("Admin.Customers.Customers.AssociatedExternalAuth.Fields.Email").Text, Width = "100" }, new ColumnProperty(nameof(CustomerAssociatedExternalAuthModel.ExternalIdentifier)) { Title = T("Admin.Customers.Customers.AssociatedExternalAuth.Fields.ExternalIdentifier").Text, Width = "300" } }, Data = JsonConvert.SerializeObject(Model.CustomerAssociatedExternalAuthRecordsSearchModel.AssociatedExternalAuthRecords.Select(externalAuthRecord => new { //We must display this data encoded, since the data can contain Unicode characters or malicious exploits AuthMethodName = WebUtility.HtmlEncode(externalAuthRecord.AuthMethodName), Email = WebUtility.HtmlEncode(externalAuthRecord.Email), ExternalIdentifier = WebUtility.HtmlEncode(externalAuthRecord.ExternalIdentifier) }).ToList()) })
}
@if (Model.DisplayRegisteredInStore) {
@Model.RegisteredInStore
} @if (Model.Id > 0) {
@Model.LastIpAddress
} @if (Model.Id > 0) {
@Model.CreatedOn
} @if (Model.Id > 0) {
@Model.LastActivityDate
} @if (Model.Id > 0 && !string.IsNullOrEmpty(Model.LastVisitedPage)) {
@Model.LastVisitedPage
}