@model CustomerAttributeModel @{ const string hideInfoBlockAttributeName = "CustomerAttributePage.HideCommonBlock"; var customer = await workContext.GetCurrentCustomerAsync(); var hideInfoBlock = await genericAttributeService.GetAttributeAsync(customer, hideInfoBlockAttributeName); const string hideValuesBlockAttributeName = "CustomerAttributePage.HideValuesBlock"; var hideValuesBlock = await genericAttributeService.GetAttributeAsync(customer, hideValuesBlockAttributeName); }
@await Html.PartialAsync("_CreateOrUpdate.Info", Model) @await Html.PartialAsync("_CreateOrUpdate.Values", Model) @await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.CustomerAttributeDetailsBlock, additionalData = Model })