예제 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                UtilidadesAmigos.Logica.Comunes.SacarNombreUsuario Nombre = new Logica.Comunes.SacarNombreUsuario((decimal)Session["IdUsuario"]);
                Label lbNombreUsuario = (Label)Master.FindControl("lbUsuarioConectado");
                lbNombreUsuario.Text = Nombre.SacarNombreUsuarioConectado();

                Label lbPantalla = (Label)Master.FindControl("lbOficinaUsuairoPantalla");
                lbPantalla.Text = "COMISIONES DE SUPERVISORES";

                CargarListasDesplegables();
                rbGenerarReportePDF.Checked = true;
                rbReporteDetallado.Checked  = true;
                //rbGenerarReportePDF.Checked = true;
                rbCodigosPermitidos.Checked        = true;
                DivBloqueCodigosPermitidos.Visible = true;
                DivBloqueBuscarCodigos.Visible     = false;
                // rbReporteResumido.Checked = true;

                //rbGenerarReportePDF.Enabled = false;
                //rbGenerarReporteExcel.Enabled = false;
                //rbGenerarReporteWord.Enabled = false;
                //rbGenerarReporteExcel.Checked = true;
            }
        }
예제 #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                Label lbUsuarioConectado = (Label)Master.FindControl("lbUsuarioConectado");
                UtilidadesAmigos.Logica.Comunes.SacarNombreUsuario NombreUsuario = new Logica.Comunes.SacarNombreUsuario((decimal)Session["IdUsuario"]);
                lbUsuarioConectado.Text = NombreUsuario.SacarNombreUsuarioConectado();

                Label lbNombrePantalla = (Label)Master.FindControl("lbOficinaUsuairoPantalla");
                lbNombrePantalla.Text    = "DATOS DE POLIZA";
                rbBuscarPorPlaca.Checked = true;
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            MaintainScrollPositionOnPostBack = true;
            if (!IsPostBack)
            {
                UtilidadesAmigos.Logica.Comunes.SacarNombreUsuario Nombre = new Logica.Comunes.SacarNombreUsuario((decimal)Session["IdUsuario"]);
                Label lbNombreUsuario = (Label)Master.FindControl("lbUsuarioConectado");
                lbNombreUsuario.Text = Nombre.SacarNombreUsuarioConectado();

                Label lbPantalla = (Label)Master.FindControl("lbOficinaUsuairoPantalla");
                lbPantalla.Text = "BUSCAR / PROCESAR INFORMACION ASEGURA.DO";
            }
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     MaintainScrollPositionOnPostBack = true;
     if (!IsPostBack)
     {
         UtilidadesAmigos.Logica.Comunes.SacarNombreUsuario SacarNombre = new Logica.Comunes.SacarNombreUsuario((decimal)Session["IdUsuario"]);
         Label lbNombreUsuario = (Label)Master.FindControl("lbUsuarioConectado");
         lbNombreUsuario.Text = SacarNombre.SacarNombreUsuarioConectado();
         Label lbPantallaActual = (Label)Master.FindControl("lbOficinaUsuairoPantalla");
         lbPantallaActual.Text = "GENERAR VOLANTES DE PAGOS";
         IniciarPantalla();
     }
 }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                UtilidadesAmigos.Logica.Comunes.SacarNombreUsuario Nombre = new Logica.Comunes.SacarNombreUsuario((decimal)Session["IdUsuario"]);
                Label lbNombreUsuario = (Label)Master.FindControl("lbUsuarioConectado");
                lbNombreUsuario.Text = Nombre.SacarNombreUsuarioConectado();

                Label lbPantalla = (Label)Master.FindControl("lbOficinaUsuairoPantalla");
                lbPantalla.Text = "REPORTE DE FIANZAS";
                CargarSubramo("103");
            }
        }
예제 #6
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                UtilidadesAmigos.Logica.Comunes.SacarNombreUsuario Nombre = new Logica.Comunes.SacarNombreUsuario((decimal)Session["IdUsuario"]);
                Label lbNombreUsuario = (Label)Master.FindControl("lbUsuarioConectado");
                lbNombreUsuario.Text = Nombre.SacarNombreUsuarioConectado();

                Label lbPantalla = (Label)Master.FindControl("lbOficinaUsuairoPantalla");
                lbPantalla.Text = "REPORTE DE SOBRE COMISION";

                MostrarBeneficiariosSobreComisiones();
            }
        }
예제 #7
0
 protected void Page_Load(object sender, EventArgs e)
 {
     MaintainScrollPositionOnPostBack = true;
     if (!IsPostBack)
     {
         UtilidadesAmigos.Logica.Comunes.SacarNombreUsuario SacarNombre = new Logica.Comunes.SacarNombreUsuario((decimal)Session["IdUsuario"]);
         Label lbNombreUsuario = (Label)Master.FindControl("lbUsuarioConectado");
         lbNombreUsuario.Text = SacarNombre.SacarNombreUsuarioConectado();
         Label lbPantallaActual = (Label)Master.FindControl("lbOficinaUsuairoPantalla");
         lbPantallaActual.Text                = "MODIFICAR CREDENCIALES DE BASE DE DATOS";
         DivBloqueClaveSeguridad.Visible      = true;
         DivBloqueModificarCredencial.Visible = false;
     }
 }
        protected void Page_Load(object sender, EventArgs e)
        {
            MaintainScrollPositionOnPostBack = true;
            if (!IsPostBack)
            {
                IniciarPantalla();
                UtilidadesAmigos.Logica.Comunes.SacarNombreUsuario Nombre = new Logica.Comunes.SacarNombreUsuario((decimal)Session["IdUsuario"]);
                Label lbNombreUsuario = (Label)Master.FindControl("lbUsuarioConectado");
                lbNombreUsuario.Text = Nombre.SacarNombreUsuarioConectado();

                Label lbPantalla = (Label)Master.FindControl("lbOficinaUsuairoPantalla");
                lbPantalla.Text = "MANTENIMIENTO DE USUARIOS";
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                //SACAMOS EL NOMBRE DE USUARIO Y EL NOMBRE DE LA PANTALLA EN LA QUE ESTAMOS
                UtilidadesAmigos.Logica.Comunes.SacarNombreUsuario Nombre = new Logica.Comunes.SacarNombreUsuario((decimal)Session["IdUsuario"]);
                Label lbNombreUsuarioConectado = (Label)Master.FindControl("lbUsuarioConectado");
                lbNombreUsuarioConectado.Text = Nombre.SacarNombreUsuarioConectado();
                Label lbNombrePantallaActual = (Label)Master.FindControl("lbOficinaUsuairoPantalla");
                lbNombrePantallaActual.Text = "GENERAR SOLICITUD DE CHEQUES";

                CargarListasDesplegables();
                rbNoEndosable.Checked = true;
                txttasa.Text          = UtilidadesAmigos.Logica.Comunes.SacartasaMoneda.SacarTasaMoneda(2).ToString();
                txtMontoMinimo.Text   = "500";
            }
        }
예제 #10
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                UtilidadesAmigos.Logica.Comunes.SacarNombreUsuario Nombre = new Logica.Comunes.SacarNombreUsuario((decimal)Session["IdUsuario"]);
                Label lbNombreUsuario = (Label)Master.FindControl("lbUsuarioConectado");
                lbNombreUsuario.Text = Nombre.SacarNombreUsuarioConectado();

                Label lbPantalla = (Label)Master.FindControl("lbOficinaUsuairoPantalla");
                lbPantalla.Text = "COMISIONES DE INTERMEDIARIOS";

                CargarSucursalesComisiones();
                CargarOficinasComisiones();
                CargarListadoRamos();
                rbGenerarReporteResumido.Checked = true;
                txtTasaDollar.Text = UtilidadesAmigos.Logica.Comunes.SacartasaMoneda.SacarTasaMoneda(2).ToString();
                rbPDF.Checked      = true;
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                UtilidadesAmigos.Logica.Comunes.SacarNombreUsuario Nombre = new Logica.Comunes.SacarNombreUsuario((decimal)Session["IdUsuario"]);
                Label lbNombreUsuario = (Label)Master.FindControl("lbUsuarioConectado");
                lbNombreUsuario.Text = Nombre.SacarNombreUsuarioConectado();

                Label lbPantalla = (Label)Master.FindControl("lbOficinaUsuairoPantalla");
                lbPantalla.Text = "GENERAR MARBETES";

                cbOtrosFiltros.Checked = false;
                rbMarbetePVC.Checked   = true;
                lbIdusuario.Text       = Session["IdUsuario"].ToString();
                rbImprimirPVC.Checked  = true;
                rbProcesarDataDetalleHistorico.Checked  = true;
                rbProcesarDataDetalleHistorico.Visible  = false;
                rbProcesarDataResumidaHistorico.Visible = false;
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            MaintainScrollPositionOnPostBack = true;
            if (!IsPostBack)
            {
                UtilidadesAmigos.Logica.Comunes.SacarNombreUsuario Nombre = new Logica.Comunes.SacarNombreUsuario((decimal)Session["IdUsuario"]);
                Label lbNombreUsuario = (Label)Master.FindControl("lbUsuarioConectado");
                lbNombreUsuario.Text = Nombre.SacarNombreUsuarioConectado();

                Label lbPantalla = (Label)Master.FindControl("lbOficinaUsuairoPantalla");
                lbPantalla.Text = "IMPRESION DE CHEQUES";

                rbActivos.Checked       = true;
                rbPDF.Checked           = true;
                rbSinParametros.Checked = true;
                DivRangoFecha.Visible   = false;
                DivRangoCheque.Visible  = false;
                divRangoValor.Visible   = false;
                CargarListadoBancos();
            }
        }
예제 #13
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                UtilidadesAmigos.Logica.Comunes.SacarNombreUsuario SacarNombre = new Logica.Comunes.SacarNombreUsuario((decimal)Session["IdUsuario"]);
                Label lbNombreUsuario = (Label)Master.FindControl("lbUsuarioConectado");
                lbNombreUsuario.Text = SacarNombre.SacarNombreUsuarioConectado();
                Label lbPantallaActual = (Label)Master.FindControl("lbOficinaUsuairoPantalla");
                lbPantallaActual.Text = "GENERAR BACKUP DE BD";

                rbGenerarBackuup.Checked       = true;
                rbPDF.Checked                  = true;
                rbConfigurarRutaBackup.Checked = true;

                txtRutaArchivoConfiguracion.Text    = string.Empty;
                txtCorreoElectronico.Text           = string.Empty;
                txtRutaArchivoConfiguracion.Enabled = true;
                txtCorreoElectronico.Enabled        = false;


                DivBloqueBackup.Visible = true;
            }
        }
예제 #14
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                UtilidadesAmigos.Logica.Comunes.SacarNombreUsuario Nombre = new Logica.Comunes.SacarNombreUsuario((decimal)Session["IdUsuario"]);
                Label lbNombreUsuario = (Label)Master.FindControl("lbUsuarioConectado");
                lbNombreUsuario.Text = Nombre.SacarNombreUsuarioConectado();

                Label lbPantalla = (Label)Master.FindControl("lbOficinaUsuairoPantalla");
                lbPantalla.Text = "REPORTE DE ANTIGUEDAD DE SALDO";

                rbReporteResumido.Checked = true;
                rbPDF.Checked             = true;
                rbSistema.Checked         = true;
                CargarRamos();
                CargarTipoMovimientos();
                CargarOficinas();
                CargarMonedas();

                //SACAMOS LA TASA POR DEFECTO DEL SISTEMA
                decimal?Tasa = UtilidadesAmigos.Logica.Comunes.SacartasaMoneda.SacarTasaMoneda((int)TipoMonedas.Dollar);
                txtTasaDollar.Text = Tasa.ToString();
            }
        }