diff --git a/Bancos/RepCortes.aspx b/Bancos/RepCortes.aspx index 911a9b276..9f69bd02b 100644 --- a/Bancos/RepCortes.aspx +++ b/Bancos/RepCortes.aspx @@ -143,13 +143,32 @@ - + + + + + + + + + + + + + + + + + + + + @@ -161,7 +180,7 @@ - + @@ -213,6 +232,15 @@ + + + + + + + + + @@ -240,15 +268,7 @@ - - - - - - - - - + @@ -277,7 +297,7 @@ - + diff --git a/Bancos/RepCortes.aspx.vb b/Bancos/RepCortes.aspx.vb index f42884560..d1354db5b 100644 --- a/Bancos/RepCortes.aspx.vb +++ b/Bancos/RepCortes.aspx.vb @@ -66,7 +66,8 @@ Partial Class Bancos_RepCortes txtFechaVI.Text = NowADS().ToShortDateString txtFechaVF.Text = NowADS().ToShortDateString Me.Form.DefaultButton = BtnConsultar.UniqueID - CargarCentrosDeCosto(Nothing, DdlSubProyectos, Nothing, LblSubProyecto) + CargarCentrosDeCosto(Nothing, DdlSubProyectos, Nothing, LblSubProyecto) + End If End Sub @@ -83,6 +84,12 @@ Partial Class Bancos_RepCortes End If ObjPuntoVenta.Dispose() + If UsuarioActual.Empresa.Funcionalidad(109) = "1" Then + GvDatos.Columns(3).Visible = True + GvDatos.Columns(4).Visible = True + GvDatos.Columns(12).Visible = True + End If + GvDatos.DataSource = DtCortes GvDatos.DataBind() UPDatos.Update()