Validacion de Promotor de Proyecto
git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C218
This commit is contained in:
parent
e3b29ca6a3
commit
feeacfde65
1 changed files with 3 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue