Try your search with a different keyword or use * as a wildcard.
@model AffiliateModel
@{
const string hideInfoBlockAttributeName = "AffiliatePage.HideInfoBlock";
var customer = await workContext.GetCurrentCustomerAsync();
var hideInfoBlock = await genericAttributeService.GetAttributeAsync(customer, hideInfoBlockAttributeName);
const string hideCustomersBlockAttributeName = "AffiliatePage.HideCustomersBlock";
var hideCustomersBlock = await genericAttributeService.GetAttributeAsync(customer, hideCustomersBlockAttributeName, defaultValue: true);
const string hideOrdersBlockAttributeName = "AffiliatePage.HideOrdersBlock";
var hideOrdersBlock = await genericAttributeService.GetAttributeAsync(customer, hideOrdersBlockAttributeName, defaultValue: true);
}
@await Html.PartialAsync("_CreateOrUpdate.Info", Model)
@if (Model.Id > 0)
{
@await Html.PartialAsync("_CreateOrUpdate.Customers", Model)
@await Html.PartialAsync("_CreateOrUpdate.Orders", Model)
}
@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.AffiliateDetailsBlock, additionalData = Model })