Validacion de Promotor de Proyecto

git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C218
This commit is contained in:
dmendez 2018-07-12 20:23:30 +00:00
parent e3b29ca6a3
commit feeacfde65

View file

@ -40,6 +40,9 @@ this.CargarTablaSitios = function (data) {
$('#tableSitios').on('click', 'button', function () {
var data = $('#tableSitios').DataTable().row($(this).parents('tr')).data();
if (data.PromotorProyecto != UsuarioSistema) {
if (ValidarPermisos('Accesar expediente de propuesta normativa').length <= 0) {
toastr.warning('No tiene permisos para ejecutar esta opción', Message_Warning);
@ -47,8 +50,6 @@ $('#tableSitios').on('click', 'button', function () {
}
}
var data = $('#tableSitios').DataTable().row($(this).parents('tr')).data();
url = $("#hiddenHref").val();
url = url.replace("View", "DetallePropuesta");