Ejemplo n.º 1
0
        public ActionResult LibReqsPapeleria()
        {
            int area = stock.GetUserData(int.Parse(Session["IdUser"].ToString())).Id_Area.Value;

            ViewBag.Permission = false;

            if (area == 1 || area == 1007)
            {
                ViewBag.Permission = true;
            }

            ViewBag.User   = stock.GetUserData(int.Parse(Session["IdUser"].ToString()));
            ViewBag.Listas = stock.GetUserListas(int.Parse(Session["IdUser"].ToString())); //ListaPedidos
            return(View(stock.GetSolicitudes(int.Parse(Session["IdUser"].ToString()))));   //InvSolicitud
        }