--cambio
This commit is contained in:
@@ -375,9 +375,11 @@ Partial Class Bancos_DepositosCaja
|
|||||||
Protected Sub GvFacturas_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvFacturas.RowDataBound
|
Protected Sub GvFacturas_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvFacturas.RowDataBound
|
||||||
If e.Row.RowType = DataControlRowType.DataRow Then
|
If e.Row.RowType = DataControlRowType.DataRow Then
|
||||||
|
|
||||||
If UsuarioActual.Empresa.Funcionalidad(531) = "1" AndAlso DdlTipoPago.SelectedValue.Contiene("11", "12", "-2") Then
|
If UsuarioActual.Empresa.Funcionalidad(531) = "1" Then
|
||||||
e.Row.FCCheckBox("ChkFactura").Checked = True
|
e.Row.FCCheckBox("ChkFactura").Checked = True
|
||||||
e.Row.FCCheckBox("ChkFactura").Enabled = False
|
If DdlTipoPago.SelectedValue.Contiene("11", "12", "-2") Then
|
||||||
|
e.Row.FCCheckBox("ChkFactura").Enabled = False
|
||||||
|
End If
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
@@ -388,7 +390,7 @@ Partial Class Bancos_DepositosCaja
|
|||||||
|
|
||||||
If e.Row.RowType = DataControlRowType.Header Then
|
If e.Row.RowType = DataControlRowType.Header Then
|
||||||
|
|
||||||
If UsuarioActual.Empresa.Funcionalidad(531) = "1" Then
|
If UsuarioActual.Empresa.Funcionalidad(531) = "1" AndAlso DdlTipoPago.SelectedValue.Contiene("11", "12", "-2") Then
|
||||||
RegistraScript("$('#C_GvFacturas_ChkSelector').attr('checked', true); $('#C_GvFacturas_ChkSelector').prop('disabled', 'disabled');")
|
RegistraScript("$('#C_GvFacturas_ChkSelector').attr('checked', true); $('#C_GvFacturas_ChkSelector').prop('disabled', 'disabled');")
|
||||||
'RegistraScript("$('#C_GvFacturas_ChkSelector').prop('disabled', 'disabled');")
|
'RegistraScript("$('#C_GvFacturas_ChkSelector').prop('disabled', 'disabled');")
|
||||||
End If
|
End If
|
||||||
|
|||||||
Reference in New Issue
Block a user