Webiant Logo Webiant Logo
  1. No results found.

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

AdminQuote.cshtml

@using Nop.Plugin.Misc.RFQ.Models.Admin
@model QuoteModel

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

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

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

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

@if (Model.DisplayAddNewProductButton) { } @if (Model.DisplaySendQuoteButton) { } @if (Model.DisplayDeleteQuoteButton) { } @if (Model.DisplaySaveButtons) { }
@Model.CreatedOn
@if (Model.Editable || Model.ExpirationDateUtc.HasValue) {
@if (Model.Editable) {
} else {
@Model.ExpirationDateUtc
}
}
@Model.Status
@if (Model.RequestQuoteId.HasValue) { } @if (Model.OrderId.HasValue) { }
@if (Model.Editable) { } else {
@Html.Raw(Model.AdminNotes.Replace(Environment.NewLine, "
"))
}

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

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