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.
"