diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/AYA.SlnSinort.WCF.csproj b/AYA.SlnSynor/AYA.SlnSynor.WCF/AYA.SlnSinort.WCF.csproj index deb4e3396..423b82b77 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/AYA.SlnSinort.WCF.csproj +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/AYA.SlnSinort.WCF.csproj @@ -83,7 +83,6 @@ - @@ -118,17 +117,17 @@ - - + + Designer - + Designer - + Designer - + Designer diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/Reference.svcmap b/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/Reference.svcmap index e8e8ba667..9135309b1 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/Reference.svcmap +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/Reference.svcmap @@ -19,15 +19,14 @@ - + - - - - - - + + + + + diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios.disco b/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios.disco deleted file mode 100644 index 2d458978e..000000000 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios.disco +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios.wsdl b/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios1.wsdl similarity index 84% rename from AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios.wsdl rename to AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios1.wsdl index 288814079..6b17f8c79 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios.wsdl +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios1.wsdl @@ -2,10 +2,10 @@ - - - - + + + + @@ -53,7 +53,7 @@ - + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios.xsd b/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios4.xsd similarity index 89% rename from AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios.xsd rename to AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios4.xsd index 1572cf06f..2ba1f704f 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios.xsd +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios4.xsd @@ -1,6 +1,6 @@ - + diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios1.xsd b/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios41.xsd similarity index 100% rename from AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios1.xsd rename to AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios41.xsd diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios2.xsd b/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios42.xsd similarity index 100% rename from AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios2.xsd rename to AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios42.xsd diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios3.xsd b/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios43.xsd similarity index 100% rename from AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios3.xsd rename to AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/ServicioUsuarios43.xsd diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/configuration.svcinfo b/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/configuration.svcinfo index 92758b1c8..254382a66 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/configuration.svcinfo +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/configuration.svcinfo @@ -5,6 +5,6 @@ - + \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/configuration91.svcinfo b/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/configuration91.svcinfo index 48becf39e..e0d21f0a1 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/configuration91.svcinfo +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/Service References/ServiciosUsuariosWCF/configuration91.svcinfo @@ -1,5 +1,5 @@ - + @@ -112,10 +112,10 @@ - + - http://10.50.1.123:2075/ServicioUsuarios.svc + http://aya-vsrv-wstt:2010/ServicioUsuarios.svc diff --git a/AYA.SlnSynor/AYA.SlnSynor.WCF/Web.config b/AYA.SlnSynor/AYA.SlnSynor.WCF/Web.config index e60c4dc8d..4a50e70ab 100644 --- a/AYA.SlnSynor/AYA.SlnSynor.WCF/Web.config +++ b/AYA.SlnSynor/AYA.SlnSynor.WCF/Web.config @@ -12,8 +12,8 @@ - @@ -44,7 +44,8 @@ - + - + useDefaultWebProxy="true" contentTypeMapper="Atesa.Utilitarios.NewtonsoftJsonContentTypeMapper,Atesa.Utilitarios" + crossDomainScriptAccessEnabled="true"> diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js index 528aa8563..010b5833b 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/Global.js @@ -5,10 +5,11 @@ var RepositorioVirtual = $("#hiddenRepositorioVirtual").val(); var RepositorioLocal = $("#hiddenRepositorioLocal").val(); var UsuarioSistema = $("#hiddenUsuarioSistema").val(); var NombreUsuario = $("#hiddenNombreUsuario").val(); - +//aya-vsrv-apptt:252 var server = window.location.protocol + "//" + "localhost" + "/" + (window.location.pathname.split('/')[1]) + "/"; var SinorLoginWCF = "http://localhost/AYA.SlnSinort.WCF/Sinort.svc"; var string_empty = ""; +var ultima_ruta = "http://localhost/AYA.SlnSinort/Catalogos/Mantenimiento#no-back-button"; var Atesa = {}; var StarterTemplateVisible = true; var LoadMessageThreadCounter = 0; @@ -72,7 +73,7 @@ var Roles = { } var Pantallas = { - SuperUser: { Codigo: 27, Descripcion: "Super Usuario" }, + SuperUser: { Codigo: 27, Descripcion: "Administrador Funcional" }, } var RutaLogoSINORT = $("#hiddenRutaLogoSINORT").val(); @@ -1881,7 +1882,7 @@ this.DibujarGotitasPendientes = function (data) { this.ValidarPermisos = function (opcion) { var validar; validar = $.grep(localStorage['ListaOpciones'].split(","), function (data) { - return data == 'Super Usuario'; + return data == 'Administrador Funcional'; }); if (validar.length == 0) { validar = $.grep(localStorage['ListaOpciones'].split(","), function (data) { @@ -2008,6 +2009,10 @@ this.ExportarAMsWord = function (html, filename) { } +this.VolverRuta = function () { + var a = document.referrer; + window.history.back(); +} this.EntrarPantallaSolicitud = function (codigo) { url = $("#hiddenHrefS").val(); url = url.replace("View", "Solicitud"); @@ -2068,4 +2073,11 @@ this.StartSelectControlRequest = function (_selectId) { listItems = ""; $(_selectId).append(listItems); -}; \ No newline at end of file +}; + +function nobackbutton() { + + window.location.hash = "no-back-button"; + window.location.hash = "Again-No-back-button" //chrome + window.onhashchange = function () { window.location.hash = "no-back-button"; } +} \ No newline at end of file diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/GotitasPendientes.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/GotitasPendientes.js index 7a3d977eb..7ff4f0b90 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/GotitasPendientes.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/GotitasPendientes.js @@ -18,7 +18,7 @@ this.getDataModel = function () { $("#btnAgregarNuevaGotita").unbind("click"); $("#btnAgregarNuevaGotita").click(function () { if (ValidarPermisos('Generar gotitas normativas').length <= 0) { - if (ValidarPermisos('Super Usuario').length <= 0) { + if (ValidarPermisos('Administrador Funcional').length <= 0) { toastr.warning(Message_NoGrants, Message_Warning); return; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica.js index 9bdd6020a..6d5373843 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica.js @@ -143,7 +143,7 @@ $('#tableSitios').on('click', 'button', function () { if (ValidarPermisos('Búsqueda rápida').length <= 0) { - if (ValidarPermisos('Super Usuario').length <= 0) { + if (ValidarPermisos('Administrador Funcional').length <= 0) { toastr.warning(Message_NoGrants, Message_Warning); return; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica/BusquedaFichaTecnica.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica/BusquedaFichaTecnica.js index 7448dd993..2948632a2 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica/BusquedaFichaTecnica.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica/BusquedaFichaTecnica.js @@ -87,7 +87,7 @@ $('#tableFichas').on('click', 'button', function () { var data = $('#tableFichas').DataTable().row($(this).parents('tr')).data(); if (ValidarPermisos('Búsqueda predeterminada').length <= 0) { - if (ValidarPermisos('Super Usuario').length <= 0) { + if (ValidarPermisos('Administrador Funcional').length <= 0) { toastr.warning(Message_NoGrants, Message_Warning); return; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica/FichaTecnica.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica/FichaTecnica.js index 59fe1a912..c075ffcbd 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica/FichaTecnica.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/NormativaReglamentacionTecnica/FichaTecnica.js @@ -232,7 +232,7 @@ this.getDataModel = function () { $("#btnDivulgar").click(function () { if (ValidarPermisos('Divulgar').length <= 0) { - if (ValidarPermisos('Super Usuario').length <= 0) { + if (ValidarPermisos('Administrador Funcional').length <= 0) { toastr.warning(Message_NoGrants, Message_Warning); return; } @@ -275,7 +275,7 @@ this.getDataModel = function () { $("#btnEliminar").unbind("click"); $("#btnEliminar").click(function () { if (ValidarPermisos('Eliminar ficha técnica').length <= 0) { - if (ValidarPermisos('Super Usuario').length <= 0) { + if (ValidarPermisos('Administrador Funcional').length <= 0) { toastr.warning(Message_NoGrants, Message_Warning); return; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/DetallePropuestaNormativa.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/DetallePropuestaNormativa.js index 22654e3b3..20c5d640d 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/DetallePropuestaNormativa.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/DetallePropuestaNormativa.js @@ -91,7 +91,7 @@ jQuery(document).ready(function () { } if (ValidarPermisos('Accesar expediente de foro').length <= 0 || Estado != Estados.Contruccion.Codigo) { - if (ValidarPermisos('Super Usuario').length <= 0 || Estado != Estados.Contruccion.Codigo) { + if (ValidarPermisos('Administrador Funcional').length <= 0 || Estado != Estados.Contruccion.Codigo) { $("#tabs").tabs({ disabled: [3] }); @@ -105,7 +105,7 @@ jQuery(document).ready(function () { if (EsPromotor == false) { if (ValidarPermisos('Ingreso y actualización de área de proyecto').length <= 0 || Estado != Estados.Activo.Codigo || Estado != Estados.Inicial.Codigo) { - if (ValidarPermisos('Super Usuario').length <= 0) { + if (ValidarPermisos('Administrador Funcional').length <= 0) { $("#tabs").tabs({ disabled: [2] }); @@ -114,7 +114,7 @@ jQuery(document).ready(function () { } if (ValidarPermisos('Accesar expediente de propuesta normativa').length <= 0 || Estado != Estados.Contruccion.Codigo) { - if (ValidarPermisos('Super Usuario').length <= 0 || Estado != Estados.Contruccion.Codigo) { + if (ValidarPermisos('Administrador Funcional').length <= 0 || Estado != Estados.Contruccion.Codigo) { $("#tabs").tabs({ disabled: [3] }); @@ -125,7 +125,7 @@ jQuery(document).ready(function () { } } - + }); @@ -209,7 +209,7 @@ this.getDataModel = function () { $("#btnMostrarCalendario").click(function () { Calendario(model.EventosJSON); }); - + //Calendario(model.EventosJSON); $("#btnGuardarEvento").unbind("click"); $("#btnGuardarEvento").click(function () { GuardarEvento(); @@ -230,6 +230,9 @@ this.getDataModel = function () { CargarUsuarios(); + + + } @@ -1360,11 +1363,11 @@ this.GuardarAdjuntos = function (nombre) { model.Adjuntos = AdjuntosDocumentosAuxiliar; - AjaxPostData(uri, model, true, false, CargarGridComentario, null, null); - - + AjaxPostData(uri, model, true, true, CargarGridComentario, null, null); + $("#txtDescripcionDocAux").val(''); + $("#txtComentarioDocAux").val(''); } this.CargarGridComentario = function (data) { @@ -1423,6 +1426,9 @@ this.CargarGridComentario = function (data) { $('#btnVerAdjuntosForo').prop("disabled", true); break; + case "4": + CargarDocumentosExpediente(); + break; case "5": var tableDocEvento = $('#tableDocEvento').DataTable(); tableDocEvento.clear().draw(); @@ -1450,6 +1456,10 @@ function ActualizarUpload() { add: function (e, data) { + if ($('#txtDescripcionDocAux').val() == '') { + toastr.warning("El nombre del documento es requerido", Message_Warning); + return; + } data.submit(); }, progress: function (e, data) { @@ -1474,7 +1484,9 @@ function ActualizarUpload() { $('#progress .progress-bar').css( 'width', '0%'); ENDREQUEST(); - + + $('#modalDocumentosAuxiliares').modal('hide'); + toastr.success("Acción completada con exito", Message_Success); }, error: function (error) { @@ -1587,7 +1599,7 @@ this.ModalEventoPopUp = function (evento) { $("#btnVerAdjuntosEvento").disable(); $("#btnGuardarEvento").disable(); - CargarDocumentosEventos(evento.id); + CargarDocumentosEventos(miEvento[0].IdDocumento); } @@ -1602,10 +1614,34 @@ this.LimpiarModalevento = function () { $("#txtUbicacion").val($("#txtNombreProyecto").val()); } +this.CargarCalendario = function (data) { + + $('#calendar').fullCalendar({ + eventClick: function (event) { + ModalEventoPopUp(event); + + }, + + + selectable: true, + eventLimit: true, + events: data, + select: function (startDate, endDate) { + ModalEvento(startDate.format(), endDate.format()); + + } + }); + + + + $('#calendar').fullCalendar('render'); + + +} this.Calendario = function (data) { - $('#modalCalendario').modal('show'); + //$('#modalCalendario').modal('show'); $('#calendar').fullCalendar({ eventClick: function (event) { @@ -1622,21 +1658,18 @@ this.Calendario = function (data) { } }); - + $('#calendar').fullCalendar('render'); - $('#modalCalendario').on('loaded.bs.modal', function (e) { - $('#calendar').fullCalendar('render'); - }) + var container = document.getElementById('divCalendarioRef'); + var refreshContent = container.innerHTML; + container.innerHTML = refreshContent; + //$('#modalCalendario').on('loaded.bs.modal', function (e) { + // $('#calendar').fullCalendar('render'); + //}) } -$('#tableDocEvento').on('click', 'button', function () { - var data = $('#tableDocEvento').DataTable().row($(this).parents('tr')).data(); - - window.open(data[4]); - -}); this.Export2Doc = function (element, filename) { diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/PropuestaNormativa.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/PropuestaNormativa.js index e7f12dfb1..859b646ec 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/PropuestaNormativa.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/PropuestaNormativa/PropuestaNormativa.js @@ -5,6 +5,9 @@ var IdPropuestaNormativa; jQuery(document).ready(function () { + window.location.hash = "no-back-button"; + window.location.hash = "Again-No-back-button" //chrome + window.onhashchange = function () { window.location.hash = "no-back-button"; } getDataModel(); diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/ProyectoNormativo.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/ProyectoNormativo.js index 41f333759..1b61284a5 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/ProyectoNormativo.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/ProyectoNormativo.js @@ -54,7 +54,7 @@ $('#tableSitios').on('click', 'button', function () { if (data.PromotorProyecto != UsuarioSistema) { if (ValidarPermisos('Accesar expediente de propuesta normativa').length <= 0 || data.IdEstado == Estados.Contruccion.Codigo) { - if (ValidarPermisos('Super Usuario').length <= 0 ) { + if (ValidarPermisos('Administrador Funcional').length <= 0) { toastr.warning(Message_NoGrants, Message_Warning); return; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/TareasPendientes.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/TareasPendientes.js index 9bc48bf00..f361905bf 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/TareasPendientes.js +++ b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/TareasPendientes.js @@ -198,7 +198,7 @@ $('#tableTareasPendientes').on('click', 'button', function () { else { if (Solicitud.DescripcionTipoSolicitud == "Consulta") { if (ValidarPermisos('Responder solicitud de consulta al administrador').length <= 0) { - if (ValidarPermisos('Super Usuario').length <= 0) { + if (ValidarPermisos('Administrador Funcional').length <= 0) { toastr.warning(Message_NoGrants, Message_Warning); return; } @@ -206,7 +206,7 @@ $('#tableTareasPendientes').on('click', 'button', function () { } if (Solicitud.DescripcionTipoSolicitud == "Modificación") { if (ValidarPermisos('Responder solicitud de modificación al administrador').length <= 0) { - if (ValidarPermisos('Super Usuario').length <= 0) { + if (ValidarPermisos('Administrador Funcional').length <= 0) { toastr.warning(Message_NoGrants, Message_Warning); return; } @@ -409,7 +409,7 @@ this.GuardarRespuestaSolicitudCompra = function () { if (EstadoConfirmacion) { if (ValidarPermisos('Autorización de compra de documento técnico').length <= 0) { - if (ValidarPermisos('Super Usuario').length <= 0) { + if (ValidarPermisos('Administrador Funcional').length <= 0) { toastr.warning(Message_NoGrants, Message_Warning); return; } @@ -419,7 +419,7 @@ this.GuardarRespuestaSolicitudCompra = function () { } else { if (ValidarPermisos('Rechazo o traslado de solicitud de compra a usuario especializado para que la autorice').length <= 0) { - if (ValidarPermisos('Super Usuario').length <= 0) { + if (ValidarPermisos('Administrador Funcional').length <= 0) { toastr.warning(Message_NoGrants, Message_Warning); return; } @@ -442,7 +442,7 @@ this.GuardarRespuestaSolicitudCompra = function () { } else { if (ValidarPermisos('Rechazo o traslado de solicitud de compra a usuario especializado para que la autorice').length <= 0) { - if (ValidarPermisos('Super Usuario').length <= 0) { + if (ValidarPermisos('Administrador Funcional').length <= 0) { toastr.warning(Message_NoGrants, Message_Warning); return; } @@ -462,7 +462,7 @@ this.GuardarRespuestaSolicitudCompra = function () { } this.GuardarAutorizacionSolicitudCompra = function () { if (ValidarPermisos('Confirmar solicitud de compra una vez autorizada').length <= 0) { - if (ValidarPermisos('Super Usuario').length <= 0) { + if (ValidarPermisos('Administrador Funcional').length <= 0) { toastr.warning(Message_NoGrants, Message_Warning); return; } diff --git a/AYA.SlnSynor/AYA.SlnSynor/Views/Catalogos/Mantenimiento.cshtml b/AYA.SlnSynor/AYA.SlnSynor/Views/Catalogos/Mantenimiento.cshtml index fe4510770..3d556500f 100644 --- a/AYA.SlnSynor/AYA.SlnSynor/Views/Catalogos/Mantenimiento.cshtml +++ b/AYA.SlnSynor/AYA.SlnSynor/Views/Catalogos/Mantenimiento.cshtml @@ -4,10 +4,11 @@ Layout = "~/Views/Shared/_Layout.cshtml"; } +