- Fecha y hora:
- 26/06/2017 12:22:02 (hace 7 años)
- Branches:
- master
- Children:
- 2a0befa
- Parents:
- 29bb1e1
- Ubicación:
- economico/templates
- Ficheros:
-
- 2 editados
Leyenda
- No modificado
- Añadido
- Eliminado
-
economico/templates/economico.balanza.comercial.html
rf93ccdf rea37257 164 164 periodo_anho_ini.on('change', function() { set_filters() }); 165 165 periodo_anho_fin.on('change', function() { set_filters() }); 166 167 // Función ajax para la carga masiva 168 $('.fileinput-upload-button').click(function(event){ 169 event.preventDefault(); 170 var fdata = new FormData(); 171 fdata.append('file',file.files[0]); 172 $.ajax({ 173 url: URL_CARGAR_ARCHIVO_CM+models, 174 data: fdata, 175 contentType: false, 176 processData: false, 177 type: 'POST', 178 dataType: 'json', 179 success: function(data){ 180 var msg = data.message ? data.result : data.error; 181 bootbox.alert(msg); 182 }, 183 error: function(error){ 184 console.log(error); 185 } 186 }); 187 }); 166 188 }); 167 189 </script> -
economico/templates/economico.cuenta.capital.html
r29bb1e1 rea37257 124 124 periodo_anho_fin.on('change', function() { set_filters() }); 125 125 126 // Función ajax para la carga masiva 126 127 $('.fileinput-upload-button').click(function(event){ 127 128 event.preventDefault();
Nota: Vea TracChangeset
para ayuda en el uso del visor de conjuntos de cambios.