Exemplo n.º 1
0
        public static List <RemanenteGeneralDTO> BuscarRemanente(RemanenteModel model, string tkn)
        {
            AgenteServicio agente = new AgenteServicio();

            agente.BuscarRemanenteGeneral(model, tkn);
            return(agente._ListaRemanenteGenaral);
        }
Exemplo n.º 2
0
 public ActionResult cbPuntosventaPartial(RemanenteModel model = null)
 {
     if (Session["StringToken"] == null)
     {
         return(RedirectToAction("Index", "Home"));
     }
     tkn = Session["StringToken"].ToString();
     ViewData["IdPuntoVenta"] = model.IdPuntoVenta;
     return(PartialView("_cbPuntosventaPartial", CatalogoServicio.ListaPuntosVentaId(TokenServicio.ObtenerIdEmpresa(tkn), tkn)));
 }
Exemplo n.º 3
0
 public ActionResult Buscar(RemanenteModel model = null)
 {
     if (Session["StringToken"] == null)
     {
         return(RedirectToAction("Index", "Home"));
     }
     tkn = Session["StringToken"].ToString();
     TempData["RemanenteDTO"] = AlmacenServicio.BuscarRemanente(model, tkn);
     return(RedirectToAction("DashBoard"));
 }
Exemplo n.º 4
0
 // GET: Remanente
 public ActionResult DashBoard(RemanenteModel model = null)
 {
     if (Session["StringToken"] == null)
     {
         return(RedirectToAction("Index", "Home"));
     }
     tkn = Session["StringToken"].ToString();
     ViewBag.Empresas = CatalogoServicio.Empresas(tkn);
     if (TempData["RemanenteDTO"] != null)
     {
         ViewBag.RemaGeneral = (List <RemanenteGeneralDTO>)TempData["RemanenteDTO"];
     }
     return(View(model));
 }