--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 ResultadoMail As Integer = 0
|
||||||
Dim CorreoDestino As String = "atencion@fidelityapps.mx"
|
Dim CorreoDestino As String = "atencion@fidelityapps.mx"
|
||||||
Dim MailCC As String = "citas@econollantas.com;sixrogs@hotmail.com;ffelix@econollantas.com"
|
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
|
If Not EsProduccion Then
|
||||||
CorreoDestino = "jonathan.perez@adssistemas.mx"
|
CorreoDestino = "jonathan.perez@adssistemas.mx"
|
||||||
MailCC = "rene.molina@adsistemas.mx"
|
MailCC = ""
|
||||||
MailCCO = "japmx95@gmail.com"
|
MailCCO = "japmx95@gmail.com"
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|||||||
@@ -8946,10 +8946,10 @@ Partial Class Ventas
|
|||||||
e.Row.FCTextBox("TxtNumTurnosEditar").Visible = True
|
e.Row.FCTextBox("TxtNumTurnosEditar").Visible = True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
'If UsuarioActual.CveEmpresa = 119 Then
|
'LA COLUMNA DE ELIMINACION NO DEBE ESTAR VISIBLE EN EL MODO EDICION
|
||||||
' e.Row.FCTextBox("TxtDescuento").Enabled = False
|
If GvPS.Columns(19).Visible Then
|
||||||
'End If
|
e.Row.FCLinkButton("imgD").Visible = False
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
Else
|
Else
|
||||||
@@ -9006,8 +9006,19 @@ Partial Class Ventas
|
|||||||
|
|
||||||
If CveVenta > 0 Then 'And e.Row.DBCampo("TipoDocto") = "Rem"
|
If CveVenta > 0 Then 'And e.Row.DBCampo("TipoDocto") = "Rem"
|
||||||
If ModalidadEdicion Then
|
If ModalidadEdicion Then
|
||||||
e.Row.FCLinkButton("imgE").Visible = Not e.Row.DBCampo("CantidadFacturadaRem").ToDouble > 0
|
Select Case e.Row.DBCampo("TipoDocto")
|
||||||
e.Row.FCLinkButton("imgD").Visible = Not e.Row.DBCampo("CantidadInventario").ToDouble > 0
|
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
|
ElseIf Not CveDevolucion > 0 Then
|
||||||
e.Row.FCLinkButton("imgE").Visible = False
|
e.Row.FCLinkButton("imgE").Visible = False
|
||||||
e.Row.FCLinkButton("imgD").Visible = False
|
e.Row.FCLinkButton("imgD").Visible = False
|
||||||
@@ -27513,7 +27524,7 @@ Partial Class Ventas
|
|||||||
' CancelacionPagos = OpcionesCancelacionPagos.ConPagos_GenerarIxC
|
' CancelacionPagos = OpcionesCancelacionPagos.ConPagos_GenerarIxC
|
||||||
'End If
|
'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
|
If ChkDevAlm.Checked Then
|
||||||
GenerarDevolucionAnticipada = True
|
GenerarDevolucionAnticipada = True
|
||||||
|
|||||||
Reference in New Issue
Block a user