@model RecurringPaymentModel @{ const string hideInfoBlockAttributeName = "RecurringPaymentPage.HideInfoBlock"; var customer = await workContext.GetCurrentCustomerAsync(); var hideInfoBlock = await genericAttributeService.GetAttributeAsync(customer, hideInfoBlockAttributeName); const string hideHistoryBlockAttributeName = "RecurringPaymentPage.HideHistoryBlock"; var hideHistoryBlock = await genericAttributeService.GetAttributeAsync(customer, hideHistoryBlockAttributeName, defaultValue: true); }
@await Html.PartialAsync("_CreateOrUpdate.Info", Model) @await Html.PartialAsync("_CreateOrUpdate.History", Model) @await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.ReccuringPaymentDetailBlock, additionalData = Model })