Webiant Logo Webiant Logo
  1. No results found.

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

AdminRequest.cshtml

@using Nop.Plugin.Misc.RFQ.Models.Admin
@model RequestQuoteModel
@inject Nop.Services.Html.IHtmlFormatter htmlFormatter

@{
    var title = string.Format(T("Plugins.Misc.RFQ.RequestQuoteNumber").Text, Model.Id);

    Layout = "_AdminLayout";
    //page title
    ViewBag.PageTitle = title;
    //active menu item (system name)
    NopHtml.SetActiveMenuItemSystemName(RfqDefaults.RequestsAdminMenuSystemName);

    const string hideInfoBlockAttributeName = "AdminRequest.HideInfoBlock";
    var customer = await workContext.GetCurrentCustomerAsync();
    var hideInfoBlock = await genericAttributeService.GetAttributeAsync(customer, hideInfoBlockAttributeName);
}

@title @T("Plugins.Misc.RFQ.AdminRequest.BackToList")

@if (Model.DisplayCreateQuoteButton) { } @if (Model.DisplayCancelRequestButton) { } @if (Model.DisplayDeleteRequestButton) { } @if (Model.DisplaySaveButtons) { }
@Model.CreatedOnUtc
@Model.Status
@if (!string.IsNullOrEmpty(Model.CustomerNotes)) {
@Html.Raw(htmlFormatter.FormatText(Model.CustomerNotes, false, true, false, false, false, false))
} @if (Model.QuoteId.HasValue) { }
@if (Model.DisplaySaveButtons || Model.DisplayCreateQuoteButton) { } else {
@Html.Raw(Model.AdminNotes.Replace(Environment.NewLine, "
"))
}

@T("Plugins.Misc.RFQ.Products")

@await Html.PartialAsync("_AdminRequest.Products.cshtml", Model)