Valida el Estado en Contruccion del Proyecto Normativo
git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C228
This commit is contained in:
parent
85f42bd585
commit
abbf3ad576
1 changed files with 3 additions and 1 deletions
|
|
@ -44,11 +44,13 @@ $('#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) {
|
||||
|
||||
if (ValidarPermisos('Accesar expediente de propuesta normativa').length <= 0 || data.IdEstado == Estados.Contruccion.Codigo) {
|
||||
toastr.warning('No tiene permisos para ejecutar esta opción', Message_Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
url = $("#hiddenHref").val();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue