- registro de caja. cuando no hay facturas.

This commit is contained in:
2024-05-31 06:06:25 -07:00
parent b143495301
commit 2d83c61f88
2 changed files with 8 additions and 8 deletions

View File

@@ -172,13 +172,13 @@ Partial Class Bancos_DepositosCaja
Exit Sub
End If
Dim tContador As Integer = 0
For Each Gvr As GridViewRow In GvFacturas.Rows
If Gvr.FCCheckBox("ChkFactura").Checked Then TotalImporte += Gvr.DataKey("Importe").ToDecimal
Next
If TotalImporte = 0 Then
Alert("Seleccion una factura para realizar el depósito", TipoMensaje.MsgAdvertencia)
If TotalImporte = 0 AndAlso CuentaRetorno <> 0 Then
Alert("Seleccione una factura para realizar el depósito", TipoMensaje.MsgAdvertencia)
Exit Sub
End If