Webiant Logo Webiant Logo
  1. No results found.

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

GdprLog.cshtml

@model GdprLogSearchModel


@{
    //page title
    ViewBag.PageTitle = T("Admin.Customers.GdprLog").Text;
    //active menu item (system name)
    NopHtml.SetActiveMenuItemSystemName("GDPR log");
}

@{
    const string hideSearchBlockAttributeName = "GdprLogPage.HideSearchBlock";
    var hideSearchBlock = await genericAttributeService.GetAttributeAsync(await workContext.GetCurrentCustomerAsync(), hideSearchBlockAttributeName);
}

    

@T("Admin.Customers.GdprLog")

 
@await Html.PartialAsync("Table", new DataTablesModel { Name = "log-grid", UrlRead = new DataUrl("GdprLogList", "Customer", null), SearchButtonId = "search-log", Length = Model.PageSize, LengthMenu = Model.AvailablePageSizes, Filters = new List { new FilterParameter(nameof(Model.SearchRequestTypeId)), new FilterParameter(nameof(Model.SearchEmail)) }, ColumnCollection = new List { new ColumnProperty(nameof(GdprLogModel.CustomerInfo)) { Title = T("Admin.Customers.GdprLog.Fields.CustomerInfo").Text }, new ColumnProperty(nameof(GdprLogModel.RequestType)) { Title = T("Admin.Customers.GdprLog.Fields.RequestType").Text }, new ColumnProperty(nameof(GdprLogModel.RequestDetails)) { Title = T("Admin.Customers.GdprLog.Fields.RequestDetails").Text }, new ColumnProperty(nameof(GdprLogModel.CreatedOn)) { Title = T("Admin.Customers.GdprLog.Fields.CreatedOn").Text, Render = new RenderDate() } } })