Webiant Logo Webiant Logo
  1. No results found.

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

_LatestOrders.cshtml

@inject Nop.Services.Common.IGenericAttributeService genericAttributeService
@inject IWorkContext workContext
@{
    const string cardId = "latest-orders-card";
    const string hideCardAttributeName = "Reports.HideLatestOrdersCard";
    var hideCard = await genericAttributeService.GetAttributeAsync(await workContext.GetCurrentCustomerAsync(), hideCardAttributeName);
}

@T("Admin.Dashboard.LatestOrders") @T("Admin.Dashboard.LatestOrders.ViewAll")