Esempio n. 1
0
        public ActionResult Printf(string idclient, int idoperacion = 0)
        {
            ViewBag.fecha = DateTime.Now;
            LPersonaCasas pc  = new LPersonaCasas();
            LOperaciones  op  = new LOperaciones();
            Imprimir      imp = new Imprimir
            {
                cliente   = pc.GetClienteXID(idclient),
                operacion = op.GetOperacion(idoperacion)
            };

            return(View(imp));
        }
Esempio n. 2
0
        public ActionResult Imprimir(string idclient, int idoperacion = 0)
        {
            ViewBag.fecha      = DateTime.Now;
            ViewBag.idclient   = idclient;
            ViewBag.idopracion = idoperacion;
            LPersonaCasas pc  = new LPersonaCasas();
            LOperaciones  op  = new LOperaciones();
            Imprimir      imp = new Imprimir
            {
                cliente   = pc.GetClienteXID(idclient),
                operacion = op.GetOperacion(idoperacion)
            };

            return(PartialView("_Imprimir", imp));
        }