コード例 #1
0
 public Refinanciacion(int Financiacion, int Valor_Neto, int Valor_Sin, int Valor_Interes, double Valor_Cuota_Con_Interes, double Valor_Total, int Refinanciacion, string Cliente, string Producto, string Proyeco)
 {
     InitializeComponent();
     reportesPDF       = new ReportesPDF();
     TxtValorNeto.Text = Valor_Neto.ToString("N2", CultureInfo.CurrentCulture);
     TxtTotal.Text     = Valor_Total.ToString("N2", CultureInfo.CurrentCulture);
     Refi = Refinanciacion;
     if (Refinanciacion != 0)
     {
         DataTable DtRefi = new DataTable();
         DtRefi = refinanciacion.RefinanciacionFinanciacion(Financiacion);
         Refi   = int.Parse(DtRefi.Rows[0]["Id_Refinanciacion"].ToString());
         double ValorMora = double.Parse(DtRefi.Rows[0]["Interes Mora"].ToString());
         TxtValorMora.Text = ValorMora.ToString("N2", CultureInfo.CurrentCulture);
         double ValorDeuda = double.Parse(DtRefi.Rows[0]["Valor Deuda"].ToString());
         TxtValorDeuda.Text   = ValorDeuda.ToString("N2", CultureInfo.CurrentCulture);
         numCuotasFinan.Text  = DtRefi.Rows[0]["# Cuotas"].ToString();
         numValorInteres.Text = DtRefi.Rows[0]["Valor Interes"].ToString();
         double ValorCuota = double.Parse(DtRefi.Rows[0]["Valor Cuota"].ToString());
         TxtValorCuota.Text = ValorCuota.ToString("N2", CultureInfo.CurrentCulture);
         double ValorTotal = double.Parse(DtRefi.Rows[0]["Valor Total"].ToString());
         TxtTotalRefi.Text = ValorTotal.ToString("N2", CultureInfo.CurrentCulture);
         ListarRefi();
         ListarCuotasRefi(Financiacion);
     }
     NomCliente = Cliente; NomProducto = Producto; NomProyeco = Proyeco;
     listarCuotas(Financiacion);
     listarCuotasFinaciadas(Financiacion, Valor_Neto, Valor_Sin, Valor_Interes, Valor_Cuota_Con_Interes, Valor_Total);
     Id_Financiacion = Financiacion;
 }
コード例 #2
0
ファイル: Amortizacion.cs プロジェクト: rasec569/CarteraSI
        public Amortizacion(int Valor_Neto, int Valor_Sin, int Valor_Interes, int NumCuotas, int Valor_Cuota_Con_Interes, double Valor_Total, int Ensayo)
        {
            InitializeComponent();
            reportesPDF               = new ReportesPDF();
            TxtValorNeto.Text         = Valor_Neto.ToString("N2", CultureInfo.CurrentCulture);
            TxtValorInicial.Text      = Valor_Sin.ToString("N2", CultureInfo.CurrentCulture);
            TxtValorSaldo.Text        = (Valor_Neto - Valor_Sin).ToString("N2", CultureInfo.CurrentCulture);
            TxtValorCuotaInteres.Text = Valor_Cuota_Con_Interes.ToString("N2", CultureInfo.CurrentCulture);
            numValorInteres.Text      = Valor_Interes.ToString();
            numCuotasFinan.Text       = NumCuotas.ToString();
            TxtTotal.Text             = Valor_Total.ToString("N2", CultureInfo.CurrentCulture);

            CalcularCuotasFinaciadas(Valor_Neto, Valor_Sin, Valor_Interes, Valor_Cuota_Con_Interes, NumCuotas);
        }
コード例 #3
0
ファイル: Amortizacion.cs プロジェクト: rasec569/CarteraSI
 public Amortizacion(int Financiacion, int Valor_Neto, int Valor_Sin, int Valor_Interes, double Valor_Cuota_Con_Interes, double Valor_Total, string Cliente, string Producto, string Proyeco)
 {
     //Financiacion,Valor_Neto,valorSin,ValorInteres,ValorCuotaInteres
     InitializeComponent();
     reportesPDF               = new ReportesPDF();
     TxtValorNeto.Text         = Valor_Neto.ToString("N2", CultureInfo.CurrentCulture);
     TxtValorInicial.Text      = Valor_Sin.ToString("N2", CultureInfo.CurrentCulture);
     TxtValorSaldo.Text        = (Valor_Neto - Valor_Sin).ToString("N2", CultureInfo.CurrentCulture);
     TxtValorCuotaInteres.Text = Valor_Cuota_Con_Interes.ToString("N2", CultureInfo.CurrentCulture);
     numValorInteres.Text      = Valor_Interes.ToString();
     TxtTotal.Text             = Valor_Total.ToString("N2", CultureInfo.CurrentCulture);
     NomCliente = Cliente; NomProducto = Producto; NomProyeco = Proyeco;
     listarCuotasFinaciadas(Financiacion, Valor_Neto, Valor_Sin, Valor_Interes, Valor_Cuota_Con_Interes, Valor_Total);
 }
コード例 #4
0
        public Reportes(DataTable dt)
        {
            InitializeComponent();
            reportesPDF     = new ReportesPDF();
            User            = dt;
            dateInicio.Text = actual.AddMonths(-1).ToString();
            datefin.Text    = actual.ToString();
            Dtproyectos     = proyecto.listarProyectos();
            DataRow nueva = Dtproyectos.NewRow();

            nueva["Id_Proyecto"]     = 4;
            nueva["Proyecto_Nombre"] = "TODOS LOS PROYECTOS";
            Dtproyectos.Rows.InsertAt(nueva, 0);
            comboProyecto.DataSource    = Dtproyectos;
            comboProyecto.DisplayMember = "Proyecto_Nombre";
            comboProyecto.ValueMember   = "Id_Proyecto";
        }
コード例 #5
0
ファイル: Seguimiento.cs プロジェクト: rasec569/CarteraSI
        public Seguimiento(string idproducto, string nombreproducto, string tipoproducto)
        {
            InitializeComponent();
            reportesPDF = new ReportesPDF();
            string nombre = nombreproducto;

            Tipo = tipoproducto;
            LbNomProducto.Text = nombre;
            productoid         = idproducto;
            DataTable DtCliente = producto.ClienteProducto(int.Parse(productoid));

            LbPropietario.Text = "PROPIETARIO: " + DtCliente.Rows[0]["Nombre"].ToString() + " " + DtCliente.Rows[0]["Apellido"].ToString();
            if (DtCliente.Rows[0]["Correo"].ToString() != "")
            {
                LbConctato.Text = "TELEFONO: " + DtCliente.Rows[0]["Telefono"].ToString() + " EMAIL: " + DtCliente.Rows[0]["Correo"].ToString();
            }
            else
            {
                LbConctato.Text = "TELEFONO: " + DtCliente.Rows[0]["Telefono"].ToString();
            }

            CargarSeguimiento();
        }
コード例 #6
0
 public Productos()
 {
     InitializeComponent();
     reportesPDF = new ReportesPDF();
 }
コード例 #7
0
 public Carteras()
 {
     InitializeComponent();
     reportesPDF = new ReportesPDF();
 }
コード例 #8
0
ファイル: Seguimiento.cs プロジェクト: rasec569/CarteraSI
 public Seguimiento()
 {
     InitializeComponent();
     reportesPDF = new ReportesPDF();
 }
コード例 #9
0
ファイル: Proyectos.cs プロジェクト: rasec569/CarteraSI
 public Proyectos()
 {
     reportesPDF = new ReportesPDF();
     InitializeComponent();
     CargarProyectos();
 }