--FIX cotizaciones y cancelacion de devoluciones
This commit is contained in:
@@ -281,11 +281,11 @@ Public Class E141 : Implements IHttpHandler, System.Web.SessionState.IRequiresSe
|
||||
Dim ResultadoMail As Integer = 0
|
||||
Dim CorreoDestino As String = "atencion@fidelityapps.mx"
|
||||
Dim MailCC As String = "citas@econollantas.com;sixrogs@hotmail.com;ffelix@econollantas.com"
|
||||
Dim MailCCO As String = "jonathan.perez@adssistemas.mx;rene.molina@adsistemas.mx"
|
||||
Dim MailCCO As String = "jonathan.perez@adssistemas.mx;"
|
||||
|
||||
If Not EsProduccion Then
|
||||
CorreoDestino = "jonathan.perez@adssistemas.mx"
|
||||
MailCC = "rene.molina@adsistemas.mx"
|
||||
MailCC = ""
|
||||
MailCCO = "japmx95@gmail.com"
|
||||
End If
|
||||
|
||||
|
||||
@@ -8946,10 +8946,10 @@ Partial Class Ventas
|
||||
e.Row.FCTextBox("TxtNumTurnosEditar").Visible = True
|
||||
End If
|
||||
|
||||
'If UsuarioActual.CveEmpresa = 119 Then
|
||||
' e.Row.FCTextBox("TxtDescuento").Enabled = False
|
||||
'End If
|
||||
|
||||
'LA COLUMNA DE ELIMINACION NO DEBE ESTAR VISIBLE EN EL MODO EDICION
|
||||
If GvPS.Columns(19).Visible Then
|
||||
e.Row.FCLinkButton("imgD").Visible = False
|
||||
End If
|
||||
|
||||
|
||||
Else
|
||||
@@ -9006,8 +9006,19 @@ Partial Class Ventas
|
||||
|
||||
If CveVenta > 0 Then 'And e.Row.DBCampo("TipoDocto") = "Rem"
|
||||
If ModalidadEdicion Then
|
||||
e.Row.FCLinkButton("imgE").Visible = Not e.Row.DBCampo("CantidadFacturadaRem").ToDouble > 0
|
||||
e.Row.FCLinkButton("imgD").Visible = Not e.Row.DBCampo("CantidadInventario").ToDouble > 0
|
||||
Select Case e.Row.DBCampo("TipoDocto")
|
||||
Case "Cot"
|
||||
e.Row.FCLinkButton("imgE").Visible = Not e.Row.DBCampo("CantidadFacturadaCot").ToDouble > 0
|
||||
e.Row.FCLinkButton("imgD").Visible = Not e.Row.DBCampo("CantidadFacturadaCot").ToDouble > 0
|
||||
Case "Ped"
|
||||
e.Row.FCLinkButton("imgE").Visible = Not e.Row.DBCampo("CantidadFacturadaPed2").ToDouble > 0
|
||||
e.Row.FCLinkButton("imgD").Visible = Not e.Row.DBCampo("CantidadFacturadaPed2").ToDouble > 0
|
||||
|
||||
Case Else
|
||||
e.Row.FCLinkButton("imgE").Visible = Not e.Row.DBCampo("CantidadFacturadaRem").ToDouble > 0
|
||||
e.Row.FCLinkButton("imgD").Visible = Not e.Row.DBCampo("CantidadInventario").ToDouble > 0 AndAlso Not e.Row.DBCampo("CantidadFacturadaRem").ToDouble > 0
|
||||
End Select
|
||||
|
||||
ElseIf Not CveDevolucion > 0 Then
|
||||
e.Row.FCLinkButton("imgE").Visible = False
|
||||
e.Row.FCLinkButton("imgD").Visible = False
|
||||
@@ -27513,7 +27524,7 @@ Partial Class Ventas
|
||||
' CancelacionPagos = OpcionesCancelacionPagos.ConPagos_GenerarIxC
|
||||
'End If
|
||||
|
||||
If UsuarioActual.Empresa.Funcionalidad(382) = "1" AndAlso ObjFacturaCancelacion.TipoDocto.Contiene("Ing", "Rem") AndAlso Not EsRefacturacion Then
|
||||
If UsuarioActual.Empresa.Funcionalidad(382) = "1" AndAlso ObjFacturaCancelacion.TipoDocto.Contiene("Ing", "Rem", "Dev") AndAlso Not EsRefacturacion Then
|
||||
|
||||
If ChkDevAlm.Checked Then
|
||||
GenerarDevolucionAnticipada = True
|
||||
|
||||
Reference in New Issue
Block a user