public ActionResult RFPSummary(string TempId = null) { var _summary = ProcessRFP.GetSummaryInfo(TempId); ViewBag.ShowSubmit = "contactVendor"; return(View("~/Views/Request/RFPSummary.cshtml", _summary)); }
public ActionResult RFPSummary(string TempId = null) { var _summary = ProcessRFP.GetSummaryInfo(TempId); if (TempId != null) { ViewBag.ShowSubmit = "false"; } return(View(_summary)); }
// GET: Negotiate... May be removed public ActionResult Index(string TempNo) { var getItems = ProcessRFP.GetSummaryInfo(TempNo); var respondedVendors = getItems.Vendors.Where(m => m.STATUS == "RESPONDED").ToList(); getItems.Vendors = respondedVendors; if (getItems.Request.TEMP_ID == 0) { getItems.Request.TEMP_ID = Convert.ToDecimal(TempNo); } return(PartialView(getItems)); }
public ActionResult EditRFIForm(string TempId = null) { decimal _TempId; if (TempId == null) { return(RedirectToAction("RFIList", "RunningRequest")); } else { ViewBag.ErrorMessage = TempData["ErrorMessage"] != null ? TempData["ErrorMessage"].ToString() : null; _TempId = Convert.ToDecimal(TempId); var _summary = ProcessRFP.GetSummaryInfo(TempId); return(View(_summary)); } }
public ActionResult RFISummary(string TempId = null) { var _summary = ProcessRFP.GetSummaryInfo(TempId); string checker = (TempData["ShowSubmit"] != null) ? TempData["ShowSubmit"].ToString() : null; if (TempId != null && checker == null) { ViewBag.ShowSubmit = "false"; } else { ViewBag.ShowSubmit = null; } return(View(_summary)); }
//Negotiate with a single vendor for RFP public ActionResult NegotiatePerVendor(string TempNo, string VendorId, string NegNum = null) { decimal?_vendorId = Convert.ToDecimal(VendorId); var getItems = ProcessRFP.GetSummaryInfo(TempNo); var respondedVendors = getItems.Vendors.Where(m => m.VENDOR_ID == _vendorId).ToList(); getItems.Vendors = respondedVendors; if (getItems.Request.TEMP_ID == 0) { getItems.Request.TEMP_ID = Convert.ToDecimal(TempNo); } TempData["TempNo"] = TempNo; TempData["VendorId"] = VendorId; ViewBag.NegNum = (NegNum != null) ? NegNum : "0"; return(PartialView("Index", getItems)); }