From 3cb862b8227524e1b50d32ca8977b332a8f90ab8 Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Thu, 18 Apr 2024 18:25:14 -0700 Subject: [PATCH] --FIX Folios de refacturacion --- Ventas/Ventas.aspx.vb | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Ventas/Ventas.aspx.vb b/Ventas/Ventas.aspx.vb index 486b8be33..097e8aec3 100644 --- a/Ventas/Ventas.aspx.vb +++ b/Ventas/Ventas.aspx.vb @@ -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