Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update Reunion set diaDeLaSemana = datepart(dw,fechaDeSesion) - 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Paint", | |
"description": "Paint", | |
"launch_path": "/index.html", | |
"version": "2.0", | |
"icons": { | |
"60": "/img/60.png", | |
"120": "/img/120.png", | |
"128": "/img/128.png" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package scrapweb; | |
import java.io.IOException; | |
import org.jsoup.*; | |
import org.jsoup.nodes.Document; | |
import org.jsoup.select.Elements; | |
/** | |
* | |
* @author Willy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$("#cbPeriodos").change(function(){ | |
var periodo = $("#cbPeriodos option:selected").text(); | |
var anio = periodo.substring(0,4); | |
var mes = periodo.substring(4,6); | |
var fecha = new Date(anio+'/'+mes+'/01'); | |
var firstDay = new Date(fecha.getFullYear(), fecha.getMonth(), 1); | |
var lastDay = new Date(fecha.getFullYear(), fecha.getMonth() + 1, 0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DateTimeFormatter formatterFecha = DateTimeFormat.forPattern("dd/MM/yyyy"); | |
DateTime primerDiaDelMes = new DateTime().dayOfMonth().withMinimumValue(); | |
String desde = new LocalDate(primerDiaDelMes).toString(formatterFecha); | |
DateTime ultimoDiaDelMes = new DateTime().dayOfMonth().withMaximumValue(); | |
String hasta = new LocalDate(ultimoDiaDelMes).toString(formatterFecha); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $cborgAcademica = $("#cbOrgAcademica"); | |
var $cbGradoAcademicos = $("#cbGradosAcademicos"); | |
var $cbFrecuencias = $("#cbFrecuencias"); | |
$cborgAcademica.change(function(){ | |
$cbGradoAcademicos.empty(); | |
$cbFrecuencias.empty(); | |
$cbGradoAcademicos.append('<option value="0" selected>Todos</option>'); | |
$cbFrecuencias.append('<option value="0" selected>Todos</option>'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
formView.form.on('organizacionAcademica:change', function(form, editor) { | |
idOrganizacionAcademica = editor.getValue(); | |
gradosAcademicos.fetch({ | |
url: 'GradosAcademicos/listarPorOrganizacionAcademicaConSeleccione?idOrganizacionAcademica=' + idOrganizacionAcademica, | |
reset:true, | |
success: function() { | |
formView.form.fields.gradoAcademico.editor.setOptions(gradosAcademicos); | |
}}); | |
frecuencias.fetch({ | |
url: 'Frecuencias/listavacia', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
name: "rechazo", | |
label: "Rechazos", | |
editable: false, | |
cell: Backgrid.Cell.extend({ | |
render: function () { | |
if(this.model.attributes['rechazos'] > 0) { | |
this.$el.html('<a class="botonrechazo-centro-periodo" data-id="' + this.model.attributes['id'] + '" role=button href="#modalAccionesCPRechazos" data-toggle="modal"><button class="btn">Historial de Rechazos ('+ this.model.attributes['rechazos'] +')</button></a>'); | |
} else { | |
this.$el.html('<button class="btn" disabled>Historial de Rechazos ('+this.model.attributes['rechazos']+')</button>'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var $cborgAcademica = $("#cbOrgAcademica"); | |
var $cbGradoAcademicos = $("#cbGradosAcademicos"); | |
var $cbFrecuencias = $("#cbFrecuencias"); | |
$cborgAcademica.change(function(){ | |
$cbGradoAcademicos.empty(); | |
var idOrgAcademica= $(this).val(); | |
if (idOrgAcademica!= "0"){ |