- mejora en manejo de TXTTC

This commit is contained in:
2023-10-24 08:45:15 -07:00
parent 4eb757fd31
commit 85cc1bd5fc
2 changed files with 15 additions and 7 deletions

View File

@@ -1143,7 +1143,6 @@ Partial Class Bancos_ProveedoresAbonar
RegistraScript("CambiaPesosDolares();")
Else
CveMoneda = dr("CveMoneda").ToString.ToEntero
If CveMoneda = 1 Then
RegistraScript("CambiaDolaresPesos();")
End If
@@ -1357,6 +1356,7 @@ Partial Class Bancos_ProveedoresAbonar
Protected Sub ChkPagarPesos_CheckedChanged(sender As Object, e As EventArgs)
If ChkPagarPesos.Checked Then
DivTC.Visible = True
DivTCDolares.Visible = False
CargaCuentas(DdlTipoTransaccion.SelectedValue.ToEntero)
TxtFechaDocumento.Attributes.Add("onchange", "CambiaTC(this);")
TxtTC.Text = GlobalTipoCambio(TxtFechaDocumento.Text.ToDate).FormatoNumero(4)