Funcionalidad 281 bloquear fechas
This commit is contained in:
@@ -106,6 +106,17 @@ public partial class Bancos_PrestamoPersonal : ClsPaginas
|
||||
txtFechaF.Text = DateTime.Now.ToShortDateString();
|
||||
TxtImporte.Attributes.Add("disabled", "disabled");
|
||||
|
||||
if(UsuarioActual.Empresa.Funcionalidad(281).ToEntero() == 1)
|
||||
{
|
||||
TxtFechaPrestamo.Enabled = false;
|
||||
ImgCalendarioPrestamo.Visible = false;
|
||||
|
||||
TxtFechaDocumento.Enabled = false;
|
||||
ImgCalendario.Visible = false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user