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; }
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); }
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); }
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"; }
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(); }
public Productos() { InitializeComponent(); reportesPDF = new ReportesPDF(); }
public Carteras() { InitializeComponent(); reportesPDF = new ReportesPDF(); }
public Seguimiento() { InitializeComponent(); reportesPDF = new ReportesPDF(); }
public Proyectos() { reportesPDF = new ReportesPDF(); InitializeComponent(); CargarProyectos(); }