Correcion de edicion de condiciones comerciales
This commit is contained in:
@@ -1449,26 +1449,26 @@ Partial Class Clientes
|
|||||||
' CargaGridRetenciones()
|
' CargaGridRetenciones()
|
||||||
' CargaDocs()
|
' CargaDocs()
|
||||||
CargaCombos()
|
CargaCombos()
|
||||||
CargaDocumentacionCliente()
|
CargaDocumentacionCliente()
|
||||||
'CargaMetodosPago33()
|
'CargaMetodosPago33()
|
||||||
'CargaFormaPago33()
|
'CargaFormaPago33()
|
||||||
'CargaComboCFDI()
|
'CargaComboCFDI()
|
||||||
'CargarPagosNoBancarios()
|
'CargarPagosNoBancarios()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If UsuarioActual.Empresa.Funcionalidad(531) = "1" Then
|
If UsuarioActual.Empresa.Funcionalidad(531) = "1" Then
|
||||||
LnkPorcentajeMarcas.Visible = True
|
LnkPorcentajeMarcas.Visible = True
|
||||||
LnkPorcentajePrecios.Visible = True
|
LnkPorcentajePrecios.Visible = True
|
||||||
|
|
||||||
If UsuarioActual.TienePermisoProceso(279) Then
|
If UsuarioActual.TienePermisoProceso(279) Then
|
||||||
TrPreciosPP.Visible = True
|
TrPreciosPP.Visible = True
|
||||||
TrAgregarPMarca.Visible = True
|
TrAgregarPMarca.Visible = True
|
||||||
|
|
||||||
BtnGuardarPorcentajesMarca.Visible = True
|
BtnGuardarPorcentajesMarca.Visible = True
|
||||||
BtnGuardarPorcentajes.Visible = True
|
BtnGuardarPorcentajes.Visible = True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
@@ -8972,27 +8972,27 @@ Partial Class Clientes
|
|||||||
|
|
||||||
CargaDTPorcentajePrecios(DTPorcentajePrecios.FiltraParametros("Estatus <> 'D' "))
|
CargaDTPorcentajePrecios(DTPorcentajePrecios.FiltraParametros("Estatus <> 'D' "))
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
Protected Sub GvM_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvM.RowDataBound
|
Protected Sub GvM_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvM.RowDataBound
|
||||||
If e.Row.RowType = DataControlRowType.DataRow Then
|
If e.Row.RowType = DataControlRowType.DataRow AndAlso Not (e.Row.RowState = DataControlRowState.Edit OrElse e.Row.RowState = 5) Then
|
||||||
|
|
||||||
If UsuarioActual.TienePermisoProceso(279) Then
|
If UsuarioActual.TienePermisoProceso(279) Then
|
||||||
e.Row.FCLinkButton("imgE").Visible = True
|
e.Row.FCLinkButton("imgE").Visible = True
|
||||||
e.Row.FCLinkButton("lnkRemove").Visible = True
|
e.Row.FCLinkButton("lnkRemove").Visible = True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub GvP_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvP.RowDataBound
|
Protected Sub GvP_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvP.RowDataBound
|
||||||
If e.Row.RowType = DataControlRowType.DataRow Then
|
If e.Row.RowType = DataControlRowType.DataRow AndAlso Not (e.Row.RowState = DataControlRowState.Edit OrElse e.Row.RowState = 5) Then
|
||||||
|
|
||||||
If UsuarioActual.TienePermisoProceso(279) Then
|
If UsuarioActual.TienePermisoProceso(279) Then
|
||||||
e.Row.FCLinkButton("imgE").Visible = True
|
e.Row.FCLinkButton("imgE").Visible = True
|
||||||
e.Row.FCLinkButton("lnkRemove").Visible = True
|
e.Row.FCLinkButton("lnkRemove").Visible = True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
Protected Sub GvM_RowEditing(sender As Object, e As GridViewEditEventArgs) Handles GvM.RowEditing
|
Protected Sub GvM_RowEditing(sender As Object, e As GridViewEditEventArgs) Handles GvM.RowEditing
|
||||||
GvM.EditIndex = e.NewEditIndex
|
GvM.EditIndex = e.NewEditIndex
|
||||||
@@ -10466,7 +10466,7 @@ Partial Class Clientes
|
|||||||
Alert("Los cambios se guardaron satisfactoriamente.")
|
Alert("Los cambios se guardaron satisfactoriamente.")
|
||||||
End Using
|
End Using
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
End Class
|
End Class
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user