Webiant Logo Webiant Logo
  1. No results found.

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

Default.cshtml

@model CommonStatisticsModel
@inject Nop.Services.Common.IGenericAttributeService genericAttributeService
@inject IWorkContext workContext
@{
    const string cardId = "nopcommerce-common-statistics-card";
    const string hideCardAttributeName = "HideCommonStatisticsCard";
    var hideCard = await genericAttributeService.GetAttributeAsync(await workContext.GetCurrentCustomerAsync(), hideCardAttributeName);
}

    
@T("Admin.Dashboard.CommonStatistics")

@Model.NumberOfOrders

@T("Admin.Dashboard.NumberOfOrders")

@T("Admin.Dashboard.MoreInfo")

@Model.NumberOfPendingReturnRequests

@T("Admin.Dashboard.NumberOfPendingReturnRequests")

@T("Admin.Dashboard.MoreInfo")

@Model.NumberOfCustomers

@T("Admin.Dashboard.NumberOfCustomers")

@T("Admin.Dashboard.MoreInfo")

@Model.NumberOfLowStockProducts

@T("Admin.Dashboard.NumberOfLowStockProducts")

@T("Admin.Dashboard.MoreInfo")