--FIX Folios de refacturacion

This commit is contained in:
2024-04-18 18:25:14 -07:00
parent 4ec868dd2d
commit 3cb862b822

View File

@@ -7214,10 +7214,14 @@ Partial Class Ventas
If Opcion = "Cot" Then
DdlTipoComprobante.SelectedValueExist("Cot")
Else
If Not String.IsNullOrEmpty(UsuarioActual.CveTipoDocumento) Then
DdlTipoComprobante.SelectedValueExist(UsuarioActual.CveTipoDocumento)
DdlTipoComprobante_SelectedIndexChanged(DdlTipoComprobante, Nothing)
'SI ES REFACTURACION NO DEBE CAMBIAR EL TIPÖ DOCTO
If Not (Request("NuevaFactura") IsNot Nothing AndAlso Request("NuevaFactura").ToString() = "1") Then
If Not String.IsNullOrEmpty(UsuarioActual.CveTipoDocumento) Then
DdlTipoComprobante.SelectedValueExist(UsuarioActual.CveTipoDocumento)
DdlTipoComprobante_SelectedIndexChanged(DdlTipoComprobante, Nothing)
End If
End If
End If
End If
End If