diff --git a/Bancos/DepositosCaja.aspx b/Bancos/DepositosCaja.aspx index fa1cf6073..accb3c4ed 100644 --- a/Bancos/DepositosCaja.aspx +++ b/Bancos/DepositosCaja.aspx @@ -174,7 +174,7 @@ - +
@@ -623,8 +623,28 @@ debugger; } - + function Depositar() { + LimppiarVariables(); + + } + function Consultar() { + LimppiarVariables(); + + } + + function LimppiarVariables() { + + ValorTotalSeleccionado = 0; + comision = 0; + descuento = 0; + saldo = 0; + IVA = 0; + ComisionIntermediario = 0; + + } + + diff --git a/Bancos/DepositosCaja.aspx.vb b/Bancos/DepositosCaja.aspx.vb index 4679c6408..8ad8491f4 100644 --- a/Bancos/DepositosCaja.aspx.vb +++ b/Bancos/DepositosCaja.aspx.vb @@ -32,6 +32,7 @@ Partial Class Bancos_DepositosCaja ChkDescuento.Attributes.Add("onclick", "CheckDescuento(this);") ChkIntermediario.Attributes.Add("onclick", "CheckIntermediario(this);") BtnConsultar.Attributes.Add("onclick", "Consultar(this);") + BtnDepositar.Attributes.Add("onclick", "Depositar(this);") End If End Sub @@ -100,6 +101,9 @@ Partial Class Bancos_DepositosCaja GvFacturas.DataBind() + ChkFaltante.Checked = False + ChkDescuento.Checked = False + ChkIntermediario.Checked = False TxtComision.Text = "" TxtDescuento.Text = "" TxtIVA.Text = "" @@ -112,6 +116,7 @@ Partial Class Bancos_DepositosCaja DdlSubProyectoIntermediario.SelectedValueExist(DdlSubProyectos.SelectedValue.ToEntero) UpGvFacturas.Update() UpParametros.Update() + UpComisiones.Update() End Sub Private Sub BtnDepositar_Click(sender As Object, e As EventArgs) Handles BtnDepositar.Click