Try your search with a different keyword or use * as a wildcard.
@model GiftCardModel
@inject Nop.Services.Common.IGenericAttributeService genericAttributeService
@inject IWorkContext workContext
@{
const string hideInfoBlockAttributeName = "GiftCardPage.HideInfoBlock";
var customer = await workContext.GetCurrentCustomerAsync();
var hideInfoBlock = await genericAttributeService.GetAttributeAsync(customer, hideInfoBlockAttributeName);
const string hideUsageHistoryBlockAttributeName = "GiftCardPage.HideUsageHistoryBlock";
var HideUsageHistoryBlock = await genericAttributeService.GetAttributeAsync(customer, hideUsageHistoryBlockAttributeName, defaultValue: true);
}
@await Html.PartialAsync("_CreateOrUpdate.Info", Model)
@if (Model.Id > 0)
{
@await Html.PartialAsync("_CreateOrUpdate.History", Model)
}
@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.GiftCardDetailsBlock, additionalData = Model })