|
|
@@ -222,7 +222,7 @@ Public Class frmLetes
|
|
|
|
|
|
|
|
|
Private Sub dtpFechaVencimiento_ValueChanged(sender As Object, e As EventArgs) Handles dtpFechaVencimiento.ValueChanged
|
|
|
-
|
|
|
+ RellenarDatos()
|
|
|
|
|
|
End Sub
|
|
|
|
|
|
@@ -398,7 +398,7 @@ Public Class frmLetes
|
|
|
Rellenar()
|
|
|
ExisteInversion()
|
|
|
ValidarExistencia()
|
|
|
- CargarTransladoNuevo()
|
|
|
+
|
|
|
End Sub
|
|
|
|
|
|
|
|
|
@@ -1825,13 +1825,13 @@ Public Class frmLetes
|
|
|
Dias = txtPlazoInversion.Text
|
|
|
End If
|
|
|
|
|
|
- Dim Fechaliquidacion = dtpFechaLiquidacion.Value
|
|
|
- Dim FechaVencimiento = dtpFechaVencimiento.Value
|
|
|
+ Dim Fechaliquidacion = Operaciones.ConvertirFecha(dtpFechaLiquidacion.Value.ToString)
|
|
|
+ Dim FechaVencimiento = Operaciones.ConvertirFecha(dtpFechaVencimiento.Value.ToString)
|
|
|
|
|
|
|
|
|
If (IndexBase = 0 Or IndexBase = 2) Then
|
|
|
If VCN Then
|
|
|
- txtPlazoInversion.Text = Operaciones.Base360(Fechaliquidacion, FechaVencimiento)
|
|
|
+ txtPlazoInversion.Text = Operaciones.Base360(Fechaliquidacion, FechaVencimiento) - 1
|
|
|
Else
|
|
|
dtpFechaVencimiento.Value = Operaciones.FechaDias360(Fechaliquidacion, Dias)
|
|
|
End If
|
|
|
@@ -2209,12 +2209,6 @@ Public Class frmLetes
|
|
|
|
|
|
|
|
|
|
|
|
- Sub CargarTransladoNuevo()
|
|
|
- Dim Existe As Boolean = ExisteInversion()
|
|
|
- If Not RetCodigoInversionExiste And Not Existe Then
|
|
|
- txtValorNominal.Text = Variables.RetMonto
|
|
|
- txtRendimientoBruto.Text = Variables.RetRendimiento
|
|
|
- End If
|
|
|
- End Sub
|
|
|
+
|
|
|
|
|
|
End Class
|