SMS 2024.02.12- Proceso de A-Vista
This commit is contained in:
@@ -1110,6 +1110,22 @@ Partial Class Bancos_PopIEVentas
|
||||
#Region "G U A R D A R"
|
||||
Private Sub BtnGuardar_Click(sender As Object, e As EventArgs) Handles BtnGuardar.Click
|
||||
|
||||
If ChkComplementoPago.Checked Then
|
||||
Dim objGral As New ClsGralFolios
|
||||
Dim SalirDeMetodo As Boolean = False
|
||||
If objGral.GetFolios("CP", UsuarioActual.CveEmpresa) Then
|
||||
If Not objGral.DtResultados.Rows.Count > 0 Then
|
||||
Alert("No se cuenta con folios para emitir complemento de pago", TipoMensaje.MsgAdvertencia)
|
||||
SalirDeMetodo = True
|
||||
End If
|
||||
End If
|
||||
objGral.Dispose()
|
||||
If SalirDeMetodo Then
|
||||
Exit Sub
|
||||
End If
|
||||
End If
|
||||
|
||||
|
||||
Dim FechaFactura As Date = FechaVenta
|
||||
Dim FechaDocumentoPago As Date = TxtFechaDocumento.Text.ToDate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user