diff --git a/src/pers_gestion/exportaciones/jasper/Constancia de Certificado de estudio en tramite Secundaria.jasper b/src/pers_gestion/exportaciones/jasper/Constancia de Certificado de estudio en tramite Secundaria.jasper new file mode 100644 index 0000000..084f72b Binary files /dev/null and b/src/pers_gestion/exportaciones/jasper/Constancia de Certificado de estudio en tramite Secundaria.jasper differ diff --git a/src/pers_gestion/exportaciones/jasper/Constancia de Certificado de estudio en tramite Secundaria.jrxml b/src/pers_gestion/exportaciones/jasper/Constancia de Certificado de estudio en tramite Secundaria.jrxml new file mode 100644 index 0000000..57c89bc --- /dev/null +++ b/src/pers_gestion/exportaciones/jasper/Constancia de Certificado de estudio en tramite Secundaria.jrxml @@ -0,0 +1,243 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 AND anio_de_cursada < 4 THEN 'Ciclo Básico Común' + WHEN sa.propuesta <> 3 AND anio_de_cursada > 3 THEN coalesce("negocio".f_orientaciones_alumno(sa.alumno), '--') + WHEN sa.propuesta = 3 THEN sp.nombre +END AS ciclo, + + (SELECT "negocio".get_asistencias(sa.alumno, CONCAT($P{anio_academico})::integer, 1, true)) as asis_just_1, + (SELECT "negocio".get_asistencias(sa.alumno, CONCAT($P{anio_academico})::integer, 1, false)) as asis_injust_1, + (SELECT "negocio".get_asistencias(sa.alumno, CONCAT($P{anio_academico})::integer, 2, true)) as asis_just_2, + (SELECT "negocio".get_asistencias(sa.alumno, CONCAT($P{anio_academico})::integer, 2, false)) as asis_injust_2, + (SELECT "negocio".get_asistencias(sa.alumno, CONCAT($P{anio_academico})::integer, 3, true)) as asis_just_3, + (SELECT "negocio".get_asistencias(sa.alumno, CONCAT($P{anio_academico})::integer, 3, false)) as asis_injust_3, + (SELECT "negocio".get_asistencias(sa.alumno, CONCAT($P{anio_academico})::integer, 0, false)) as asis_injust_total, + (SELECT "negocio".get_asistencias(sa.alumno, CONCAT($P{anio_academico})::integer, 0, true)) as asis_just_total, + coalesce(( + SELECT count(*) + FROM "negocio"."sga_alumnos" alu + JOIN "negocio"."mdp_personas" per ON per.persona = alu.persona + WHERE alu.division = sa.division + AND "negocio".f_formatear_texto(per.apellido || ' ' || per.nombres, 'M') <= "negocio".f_formatear_texto(mp.apellido || ' ' || mp.nombres, 'M')), 0) as orden, +CASE pra.responsable_academica + WHEN '2' THEN 'COLEGIO SUPERIOR DEL URUGUAY "JUSTO JOSÉ DE URQUIZA"' + WHEN '1' THEN 'ESCUELA TÉCNICA N°35 "GENERAL DON JOSÉ DE SAN MARTÍN"' + END AS colegio +FROM "negocio"."sga_constancias_solicitud" con + inner join "negocio"."sga_alumnos" sa ON sa.alumno=con.alumno + inner join "negocio"."mdp_personas" mp ON sa.persona = mp.persona + inner join "negocio"."sga_divisiones" sd ON sa.division = sd.division + inner join "negocio"."sga_turnos_cursadas" tu ON tu.turno = sd.turno + inner join "negocio"."sga_propuestas_ra" pra ON pra.propuesta = sa.propuesta + inner join "negocio"."sga_responsables_academicas" ra ON ra.responsable_academica = pra.responsable_academica + inner join "negocio"."sga_instituciones" ins ON ins.institucion = ra.institucion + left join "negocio"."mdp_personas_documentos" doc ON doc.persona = sa.persona AND doc.tipo_documento = 0 + join sga_propuestas sp on sa.propuesta = sp.propuesta, + (select + sc.nombre as division, + sep.anio_de_cursada, + per.apellido || ' ' || per.nombres as preceptor, + count(*) + from "negocio"."sga_constancias_solicitud" con + join "negocio"."sga_alumnos" sa ON sa.alumno = con.alumno + join "negocio"."sga_insc_cursada" sic ON sic.alumno = sa.alumno + join "negocio"."sga_comisiones" sc ON sic.comision = sc.comision + join "negocio"."sga_periodos_lectivos" spl ON sc.periodo_lectivo = spl.periodo_lectivo + join "negocio"."sga_periodos" sp ON spl.periodo = sp.periodo + join "negocio"."sga_elementos" se ON sc.elemento = se.elemento + join "negocio"."sga_elementos_revision" ser ON se.elemento = ser.elemento + join "negocio"."sga_elementos_plan" sep ON ser.elemento_revision = sep.elemento_revision and sep.plan_version = sa.plan_version + left join "negocio"."sga_docentes_comision" dcom ON dcom.comision = sc.comision AND dcom.responsabilidad = 101 + left join "negocio"."sga_docentes" doc ON doc.docente = dcom.docente + left join "negocio"."mdp_personas" per ON per.persona = doc.persona + where sic.estado = 'A' and sc.nombre is not null + and con.solicitud = ($P{solicitud})::integer + and anio_academico = ($P{anio_academico})::integer + group by sc.nombre, sep.anio_de_cursada, per.persona + order by count(*) desc limit 1) as cursada +WHERE + con.solicitud = $P{solicitud}]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <band height="45" splitType="Stretch"> + <rectangle> + <reportElement mode="Transparent" x="0" y="0" width="572" height="42" uuid="945192bb-bde4-4d39-8665-a4821de78bf7"/> + </rectangle> + <textField> + <reportElement x="119" y="28" width="409" height="12" uuid="09742ddf-d360-45a5-ba28-854a471c2808"/> + <textElement textAlignment="Center"> + <font isBold="true"/> + </textElement> + <textFieldExpression><![CDATA[$F{colegio}]]></textFieldExpression> + </textField> + <textField isBlankWhenNull="true"> + <reportElement x="119" y="16" width="409" height="12" uuid="e6df56c6-b818-4acc-939f-47a26be67646"/> + <textElement textAlignment="Center"> + <font size="10" isBold="true"/> + </textElement> + <textFieldExpression><![CDATA[$F{ra_nombre}]]></textFieldExpression> + </textField> + <image hAlign="Center" vAlign="Middle" onErrorType="Blank"> + <reportElement x="1" y="1" width="118" height="40" uuid="3656a566-fdd4-4118-80b9-f21f373a0bc9"/> + <imageExpression><![CDATA[$P{logo_ra}]]></imageExpression> + </image> + <staticText> + <reportElement x="119" y="2" width="409" height="14" uuid="a54e54ea-c35f-4801-ab0d-be7ed4f4e2c5"/> + <textElement textAlignment="Center"> + <font size="12" isBold="true"/> + </textElement> + <text><![CDATA[Boletín de Calificaciones]]></text> + </staticText> + </band> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OBSERVACIONES: "]]> + + + + + + + + + + + + + + diff --git a/src/pers_gestion/exportaciones/jasper/ConstanciaBoletin_General_con_ajustes.jasper b/src/pers_gestion/exportaciones/jasper/ConstanciaBoletin_General_con_ajustes.jasper new file mode 100644 index 0000000..c11391e Binary files /dev/null and b/src/pers_gestion/exportaciones/jasper/ConstanciaBoletin_General_con_ajustes.jasper differ diff --git a/src/pers_gestion/exportaciones/jasper/ConstanciaBoletin_General_con_ajustes.jrxml b/src/pers_gestion/exportaciones/jasper/ConstanciaBoletin_General_con_ajustes.jrxml new file mode 100644 index 0000000..c9c4c67 --- /dev/null +++ b/src/pers_gestion/exportaciones/jasper/ConstanciaBoletin_General_con_ajustes.jrxml @@ -0,0 +1,659 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <band height="45" splitType="Stretch"> + <rectangle> + <reportElement mode="Transparent" x="0" y="0" width="572" height="42" uuid="945192bb-bde4-4d39-8665-a4821de78bf7"/> + </rectangle> + <textField> + <reportElement x="119" y="28" width="409" height="12" uuid="09742ddf-d360-45a5-ba28-854a471c2808"/> + <textElement textAlignment="Center"> + <font isBold="true"/> + </textElement> + <textFieldExpression><![CDATA[$F{colegio}]]></textFieldExpression> + </textField> + <textField isBlankWhenNull="true"> + <reportElement x="119" y="16" width="409" height="12" uuid="e6df56c6-b818-4acc-939f-47a26be67646"/> + <textElement textAlignment="Center"> + <font size="10" isBold="true"/> + </textElement> + <textFieldExpression><![CDATA[$F{ra_nombre}]]></textFieldExpression> + </textField> + <image hAlign="Center" vAlign="Middle" onErrorType="Blank"> + <reportElement x="1" y="1" width="118" height="40" uuid="3656a566-fdd4-4118-80b9-f21f373a0bc9"/> + <imageExpression><![CDATA[$P{logo_ra}]]></imageExpression> + </image> + <staticText> + <reportElement x="119" y="2" width="409" height="14" uuid="a54e54ea-c35f-4801-ab0d-be7ed4f4e2c5"/> + <textElement textAlignment="Center"> + <font size="12" isBold="true"/> + </textElement> + <text><![CDATA[Boletín de Calificaciones]]></text> + </staticText> + </band> + + + + + + + + + + + + + + + + + + + + + + + + + + + = 4)? "Sin Orientación": $F{orientacion}]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OBSERVACIONES: "]]> + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/pers_gestion/exportaciones/jasper/ConstanciaBoletin_General_con_ajustes_para_nocturno.jasper b/src/pers_gestion/exportaciones/jasper/ConstanciaBoletin_General_con_ajustes_para_nocturno.jasper new file mode 100644 index 0000000..d381ea8 Binary files /dev/null and b/src/pers_gestion/exportaciones/jasper/ConstanciaBoletin_General_con_ajustes_para_nocturno.jasper differ diff --git a/src/pers_gestion/exportaciones/jasper/ConstanciaBoletin_General_con_ajustes_para_nocturno.jrxml b/src/pers_gestion/exportaciones/jasper/ConstanciaBoletin_General_con_ajustes_para_nocturno.jrxml new file mode 100644 index 0000000..83efe1f --- /dev/null +++ b/src/pers_gestion/exportaciones/jasper/ConstanciaBoletin_General_con_ajustes_para_nocturno.jrxml @@ -0,0 +1,645 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3 AND anio_de_cursada < 4 THEN 'Ciclo Básico Común' + WHEN sa.propuesta <> 3 AND anio_de_cursada > 3 THEN coalesce("negocio".f_orientaciones_alumno(sa.alumno), '--') + WHEN sa.propuesta = 3 THEN sp.nombre +END AS ciclo, + + (SELECT "negocio".get_asistencias(sa.alumno, CONCAT($P{anio_academico})::integer, 1, true)) as asis_just_1, + (SELECT "negocio".get_asistencias(sa.alumno, CONCAT($P{anio_academico})::integer, 1, false)) as asis_injust_1, + (SELECT "negocio".get_asistencias(sa.alumno, CONCAT($P{anio_academico})::integer, 2, true)) as asis_just_2, + (SELECT "negocio".get_asistencias(sa.alumno, CONCAT($P{anio_academico})::integer, 2, false)) as asis_injust_2, + (SELECT "negocio".get_asistencias(sa.alumno, CONCAT($P{anio_academico})::integer, 3, true)) as asis_just_3, + (SELECT "negocio".get_asistencias(sa.alumno, CONCAT($P{anio_academico})::integer, 3, false)) as asis_injust_3, + (SELECT "negocio".get_asistencias(sa.alumno, CONCAT($P{anio_academico})::integer, 0, false)) as asis_injust_total, + (SELECT "negocio".get_asistencias(sa.alumno, CONCAT($P{anio_academico})::integer, 0, true)) as asis_just_total, + coalesce(( + SELECT count(*) + FROM "negocio"."sga_alumnos" alu + JOIN "negocio"."mdp_personas" per ON per.persona = alu.persona + WHERE alu.division = sa.division + AND "negocio".f_formatear_texto(per.apellido || ' ' || per.nombres, 'M') <= "negocio".f_formatear_texto(mp.apellido || ' ' || mp.nombres, 'M')), 0) as orden, +CASE pra.responsable_academica + WHEN '2' THEN 'COLEGIO SUPERIOR DEL URUGUAY "JUSTO JOSÉ DE URQUIZA"' + WHEN '1' THEN 'ESCUELA TÉCNICA N°35 "GENERAL DON JOSÉ DE SAN MARTÍN"' + END AS colegio +FROM "negocio"."sga_constancias_solicitud" con + inner join "negocio"."sga_alumnos" sa ON sa.alumno=con.alumno + inner join "negocio"."mdp_personas" mp ON sa.persona = mp.persona + inner join "negocio"."sga_divisiones" sd ON sa.division = sd.division + inner join "negocio"."sga_turnos_cursadas" tu ON tu.turno = sd.turno + inner join "negocio"."sga_propuestas_ra" pra ON pra.propuesta = sa.propuesta + inner join "negocio"."sga_responsables_academicas" ra ON ra.responsable_academica = pra.responsable_academica + inner join "negocio"."sga_instituciones" ins ON ins.institucion = ra.institucion + left join "negocio"."mdp_personas_documentos" doc ON doc.persona = sa.persona AND doc.tipo_documento = 0 + join sga_propuestas sp on sa.propuesta = sp.propuesta, + (select + sc.nombre as division, + sep.anio_de_cursada, + per.apellido || ' ' || per.nombres as preceptor, + count(*) + from "negocio"."sga_constancias_solicitud" con + join "negocio"."sga_alumnos" sa ON sa.alumno = con.alumno + join "negocio"."sga_insc_cursada" sic ON sic.alumno = sa.alumno + join "negocio"."sga_comisiones" sc ON sic.comision = sc.comision + join "negocio"."sga_periodos_lectivos" spl ON sc.periodo_lectivo = spl.periodo_lectivo + join "negocio"."sga_periodos" sp ON spl.periodo = sp.periodo + join "negocio"."sga_elementos" se ON sc.elemento = se.elemento + join "negocio"."sga_elementos_revision" ser ON se.elemento = ser.elemento + join "negocio"."sga_elementos_plan" sep ON ser.elemento_revision = sep.elemento_revision and sep.plan_version = sa.plan_version + left join "negocio"."sga_docentes_comision" dcom ON dcom.comision = sc.comision AND dcom.responsabilidad = 101 + left join "negocio"."sga_docentes" doc ON doc.docente = dcom.docente + left join "negocio"."mdp_personas" per ON per.persona = doc.persona + where sic.estado = 'A' and sc.nombre is not null + and con.solicitud = ($P{solicitud})::integer + and anio_academico = ($P{anio_academico})::integer + group by sc.nombre, sep.anio_de_cursada, per.persona + order by count(*) desc limit 1) as cursada +WHERE + con.solicitud = $P{solicitud}]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <band height="45" splitType="Stretch"> + <rectangle> + <reportElement mode="Transparent" x="0" y="0" width="572" height="42" uuid="945192bb-bde4-4d39-8665-a4821de78bf7"/> + </rectangle> + <textField> + <reportElement x="119" y="28" width="409" height="12" uuid="09742ddf-d360-45a5-ba28-854a471c2808"/> + <textElement textAlignment="Center"> + <font isBold="true"/> + </textElement> + <textFieldExpression><![CDATA[$F{colegio}]]></textFieldExpression> + </textField> + <textField isBlankWhenNull="true"> + <reportElement x="119" y="16" width="409" height="12" uuid="e6df56c6-b818-4acc-939f-47a26be67646"/> + <textElement textAlignment="Center"> + <font size="10" isBold="true"/> + </textElement> + <textFieldExpression><![CDATA[$F{ra_nombre}]]></textFieldExpression> + </textField> + <image hAlign="Center" vAlign="Middle" onErrorType="Blank"> + <reportElement x="1" y="1" width="118" height="40" uuid="3656a566-fdd4-4118-80b9-f21f373a0bc9"/> + <imageExpression><![CDATA[$P{logo_ra}]]></imageExpression> + </image> + <staticText> + <reportElement x="119" y="2" width="409" height="14" uuid="a54e54ea-c35f-4801-ab0d-be7ed4f4e2c5"/> + <textElement textAlignment="Center"> + <font size="12" isBold="true"/> + </textElement> + <text><![CDATA[Boletín de Calificaciones]]></text> + </staticText> + </band> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OBSERVACIONES: "]]> + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/pers_gestion/exportaciones/jasper/ConstanciaRegular_Secundaria.jasper b/src/pers_gestion/exportaciones/jasper/ConstanciaRegular_Secundaria.jasper new file mode 100644 index 0000000..62606bd Binary files /dev/null and b/src/pers_gestion/exportaciones/jasper/ConstanciaRegular_Secundaria.jasper differ diff --git a/src/pers_gestion/exportaciones/jasper/ConstanciaRegular_Secundaria.jrxml b/src/pers_gestion/exportaciones/jasper/ConstanciaRegular_Secundaria.jrxml new file mode 100644 index 0000000..34c2b81 --- /dev/null +++ b/src/pers_gestion/exportaciones/jasper/ConstanciaRegular_Secundaria.jrxml @@ -0,0 +1,209 @@ + + + + + +