From 7512b09dc5aa6a7e82b68fc9278cb60210ed1350 Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Fri, 31 Jan 2025 16:58:02 -0700 Subject: [PATCH] --FIX --- Ventas/Ventas.aspx.vb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Ventas/Ventas.aspx.vb b/Ventas/Ventas.aspx.vb index fe6236592..ff9740c04 100644 --- a/Ventas/Ventas.aspx.vb +++ b/Ventas/Ventas.aspx.vb @@ -17911,7 +17911,12 @@ Partial Class Ventas Msg.AppendFormat(" La nota de crédito {1} se genero correctamente.
", respNC.CveVenta, respNC.SerieFolio) Dim SeTimbroNC As Boolean = False - MsgTimbrado = TimbrarNC(respNC.Factura, SeTimbroNC) + + If LblSeTimbro.Text = "Si" Then + MsgTimbrado = TimbrarNC(respNC.Factura, SeTimbroNC) + Else + MsgTimbrado = "No se pudo timbrar porque la factura de ingreso no ha sido timbrada previamente" + End If If Not String.IsNullOrEmpty(MsgTimbrado) Then Dim StrEr As String = $"
Comprobante no emitido :
{MsgTimbrado}
Por favor inténtelo de nuevo a través del botón 'Emitir' en ventas.
"