public ActionResult DetallePago()
        {
            if ((sesion = SessionDB.start(Request, Response, false, db)) == null)
            {
                return(Content("-1"));
            }

            try
            {
                Main view = new Main();

                Scripts.SCRIPTS = new string[]
                {
                    "plugins/Angular/jquery.ui.widget.js"
                    , "plugins/Angular/jquery.iframe-transport.js"
                    , "plugins/Angular/jquery.fileupload.js"
                    , "js/Pagos/EstadodeCuenta/EstadodeCuenta.js"
                    , "js/Pagos/EstadodeCuentaWeb/ECW_EstadoCuenta.js"
                    , "js/Pagos/EstadodeCuentaWeb/ECW_RetencionesMensuales.js"
                    , "js/Pagos/EstadodeCuentaWeb/ECW_RetencionesAnuales.js"
                    , "js/Pagos/EstadodeCuentaWeb/EstadodeCuentaWeb.js"
                };

                ViewBag.Scripts = Scripts.addScript() + Scripts.setPrivileges(Privileges, sesion);

                EstadodeCuentaWebModel model = new EstadodeCuentaWebModel();
                model.sesion = sesion;

                this.setDatosProfesor(sesion, model);

                ViewBag.Profesor    = model.Profesor;
                ViewBag.NoCuenta    = model.NoCuenta;
                ViewBag.CuentaClabe = model.CuentaClabe;
                ViewBag.Banco       = model.Banco;
                ViewBag.RFC         = model.RFC;
                ViewBag.Direccion   = model.Direccion;

                // Datos fiscales
                model.GetDatosFiscales();
                ViewBag.Fis_Sede      = model.Sede;
                ViewBag.Fis_RecibiDe  = model.Fis_Recibide;
                ViewBag.Fis_RFC       = model.Fis_RFC;
                ViewBag.Fis_Domicilio = model.Fis_Domicilio;
                ViewBag.Fis_Concepto  = model.Fis_Concepto;

                if (model.Email_Sociedad == "")
                {
                    ViewBag.Email_Sociedad = "*****@*****.**";
                }
                else
                {
                    ViewBag.Email_Sociedad = model.Email_Sociedad;
                }


                ViewBag.SEDES = view.createSelectSedesWeb("Sedes", sesion, model.ID_PERSONA, true);
                ViewBag.IDSIU = model.IDSIU;

                sesion.vdata["CVE_TIPOFACTURA"] = model.CveTipoFactura;
                sesion.saveSession();

                model.ID_ESTADODECUENTA = Convert.ToInt32(Request.QueryString["_idestadocuenta"]);

                ViewBag.ESTADO         = model.GetEstadoPago();
                ViewBag.ESTADODECUENTA = model.GetEstadodeCuenta();
                ViewBag.BLOQUEOS       = model.GetBloqueos();
                ViewBag.PENSIONES      = model.GetPensiones();

                Log.write(this, "Start", LOG.CONSULTA, "Ingresa Pantalla Estado de cuenta Web", sesion);
            }
            catch (Exception e)
            {
                ViewBag.Notification = Notification.Error(e.Message);
                Log.write(this, "Start", LOG.ERROR, "Ingresa Pantalla Detalle Pago" + e.Message, sesion);  //MODIFICAR LA REFERENCIA DE LA PAGINA A INGRESAR
            }
            return(View(Factory.View.Access + "Pagos/EstadodeCuentaWeb/DetallePago.cshtml"));
        }