diff --git a/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj b/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj
index 2ac88c93d..2d244d2a1 100644
--- a/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj
+++ b/AYA.SlnSynor/AYA.SlnSynor/AYA.SlnSinort.csproj
@@ -7669,7 +7669,6 @@
-
diff --git a/AYA.SlnSynor/AYA.SlnSynor/Scripts/_references.js b/AYA.SlnSynor/AYA.SlnSynor/Scripts/_references.js
index 12740f338..980f8be68 100644
Binary files a/AYA.SlnSynor/AYA.SlnSynor/Scripts/_references.js and b/AYA.SlnSynor/AYA.SlnSynor/Scripts/_references.js differ
diff --git a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/AdministrarCatalogos.js b/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/AdministrarCatalogos.js
deleted file mode 100644
index e5f2df7eb..000000000
--- a/AYA.SlnSynor/AYA.SlnSynor/Sinort-Scripts/AdministrarCatalogos.js
+++ /dev/null
@@ -1,171 +0,0 @@
-var filtro = {};
-$(document).ready(function () {
-
- IniciarForm();
-
-
-});
-
-function IniciarForm() {
- IniciarGridEmisoresPN(null);
-
- btnNuevo = $("#btnNuevo").click(NuevoEmisorPN);
- //btnEliminar = $("#btnEliminar").click(EliminarEmisorPN);
- btnBuscar = $("#btnBuscar").click(function () {
- filtro =
- {
- titulo: $("#buscar_titulo").val()
- };
-
- ObtenerEmisoresPN(filtro);
- });
-
- ObtenerEmisoresPN(filtro);
-}
-
-function NuevoEmisorPN(e) {
- e.preventDefault;
- $('#dlg').dialog('open').dialog('center').dialog('setTitle', 'Nuevo Emisor PN');
- $('#fm').form('clear');
- url = "/Catalogos/InsertarEmisorPN";
-}
-
-function EliminarEmisorPN(e) {
- e.preventDefault;
- var row = gridEmisorPN.datagrid('getSelected');
- if (row) {
- $.messager.confirm({
- title: 'Confirmar',
- msg: ' Desea eliminar este emisor ?
',
- width: "50%",
- fn: function (r) {
- if (r) {
- var uri = '/Catalogos/EliminarEmisorPN';
- var DTO = JSON.stringify(row);
- $.ajax({
- type: 'POST',
- url: uri,
- cache: false,
- data: DTO,
- contentType: 'application/json; charset=utf-8',
- dataType: 'json',
- success: function (response, data) {
- if (response.CodigoRespuesta !== "1") {
- Mensajes(response);
- }
- else {
- Mensajes(response);
- ObtenerEmisoresPN(filtro);
- gridEmisorPN.datagrid('reload');
- }
- }
- }).fail(function (jqxhr, textStatus, error) {
- }).then(function (value) {
- });
- }
- }
- });
- }
-}
-
-function EditarEmisorPN(e) {
- var row = gridEmisorPN.datagrid('getSelected');
- $('#fmEdit').form('clear');
- if (row) {
- $('#dlgEdit').dialog('open').dialog('center').dialog('setTitle', 'Editar Emisor PN');
- $('#fmEdit').form('load', row);
- url = "/Catalogos/EditarEmisorPN";
- }
-}
-
-function AplicarCambios(nuevo) {
- if (nuevo) {
-
- emisorPN = {
- titulo: $("#titulo").val()
- };
-
- var DTO = JSON.stringify(emisorPN);
- $.ajax({
- type: 'POST',
- url: url,
- cache: false,
- data: DTO,
- contentType: 'application/json; charset=utf-8',
- dataType: 'json',
- success: function (response, data) {
- if (response.CodigoRespuesta !== "1") {
- Mensajes(response);
- } else {
- Mensajes(response);
- $('#dlg').dialog('close');
- gridEmisorPN.datagrid('options').pageNumber = 0;
- gridEmisorPN.datagrid('loadData', []);
- gridEmisorPN.datagrid('reload');
- }
- }
- }).fail(function (jqxhr, textStatus, error) {
- }).then(function (value) {
- });
- }
-}
-
-function IniciarGridEmisoresPN(data) {
- gridEmisorPN = $('#grid_emisoresPN').datagrid({
- data: data,
- columns: [[
- //{ field: 'id_emisor', title: 'ID EMISOR', auto: true },
- { field: 'titulo', title: 'TITULO', align: 'center'},
- //{
- // field: 'action', title: 'ACCIONES', align: 'center', haling: 'center',
- // formatter: function (value, row, index) {
- // var editar = 'Editar';
- // return editar;
- // }
- //}
-
- ]],
- pagination: true,
- singleSelect: true,
- //fitColumns: true,
- rowNumbers: true,
- toolbar: "#toolbar"
-
- , onLoadSuccess: function () {
- $(this).datagrid('getPanel')
- .find('a.easyui-linkbutton').linkbutton();
- }
- , loadFilter: pagerFilter
- });
-}
-
-function ObtenerEmisoresPN(filtro) {
- var uri = CatalogosWCF + '/api/ObtenerEmisoresPN';
- var DTO = JSON.stringify(filtro);
- $.ajax({
- type: 'POST',
- url: uri,
- cache: false,
- data: DTO,
- contentType: 'application/json; charset=utf-8',
- dataType: 'json',
- beforeSend: function(){
- STARTREQUEST();
- },
- success: function (response, data) {
- if (response.d.CodigoRespuesta !== "1") {
- Mensajes(response.d);
- gridEmisorPN.datagrid('options').pageNumber = 0;
- gridEmisorPN.datagrid('loadData', []);
- }
- else {
- IniciarGridEmisoresPN(response.d.ListaEmisores);
- }
-
- ENDREQUEST();
- }
- }).fail(function (jqxhr, textStatus, error) {
- ENDREQUEST();
- }).then(function (value) {
- });
-}
\ No newline at end of file