Esempio n. 1
0
        public ActionResult ReturnWithoutInvoice()
        {
            salesModel         = salesBL.GetSalesWithoutInvoice();
            ViewBag.Page       = "ReturnWithoutInvoice";
            ViewBag.Categories = salesModel.Categories.Select(c => new SelectListItem()
            {
                Text  = c.CategoryDesc,
                Value = c.CategoryID,
            }).ToList();
            LocationBL.EmailID = User.Identity.Name;
            ViewBag.Locations  = LocationBL.GetAll().Select(l => new SelectListItem()
            {
                Text  = l.LocationDesc,
                Value = l.LocationID,
            }).ToList();

            return(View("~/Views/Sales/Enquiry.cshtml", salesModel));
        }