Commit 274d1b2d0159185b0fc524678959eebc46f820e9
1 parent
5d4080e4
Exists in
master
Foi disponibilizado alguns modelos de relatórios desenvolvidos com a ferramenta i-Report.
Showing
8 changed files
with
5715 additions
and
1 deletions
Show diff stats
ieducar/modules/Reports/ReportSources/portabilis_atestado_matricula.jrxml
0 → 100644
| ... | ... | @@ -0,0 +1,332 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="atestado_matricula" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b58c92c8-60b6-4afb-ae40-52aa24303ab2"> | |
| 3 | + <property name="ireport.zoom" value="0.9090909090909092"/> | |
| 4 | + <property name="ireport.x" value="0"/> | |
| 5 | + <property name="ireport.y" value="0"/> | |
| 6 | + <parameter name="ano" class="java.lang.Integer"> | |
| 7 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 8 | + </parameter> | |
| 9 | + <parameter name="instituicao" class="java.lang.Integer"> | |
| 10 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 11 | + </parameter> | |
| 12 | + <parameter name="escola" class="java.lang.Integer"> | |
| 13 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 14 | + </parameter> | |
| 15 | + <parameter name="matricula" class="java.lang.Integer"> | |
| 16 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 17 | + </parameter> | |
| 18 | + <parameter name="logo" class="java.lang.String"/> | |
| 19 | + <queryString> | |
| 20 | + <![CDATA[SELECT fcn_upper(instituicao.nm_instituicao) AS nm_instituicao, | |
| 21 | + fcn_upper(instituicao.nm_responsavel) AS nm_responsavel, | |
| 22 | + escola.cod_escola as cod_escola, | |
| 23 | + escola_ano_letivo.ano, | |
| 24 | + aluno.cod_aluno as cod_aluno, | |
| 25 | + (SELECT public.fcn_upper(curso.nm_curso) | |
| 26 | + FROM pmieducar.curso | |
| 27 | + WHERE curso.cod_curso = matricula.ref_cod_curso) as nm_curso, | |
| 28 | + (SELECT serie.nm_serie | |
| 29 | + FROM pmieducar.serie | |
| 30 | + WHERE serie.cod_serie = matricula.ref_ref_cod_serie) as nm_serie, | |
| 31 | + (SELECT turma.nm_turma | |
| 32 | + FROM pmieducar.turma, | |
| 33 | + pmieducar.matricula_turma | |
| 34 | + WHERE turma.cod_turma = matricula_turma.ref_cod_turma and | |
| 35 | + matricula_turma.ref_cod_matricula = matricula.cod_matricula) as nm_turma, | |
| 36 | + matricula.cod_matricula as cod_matricula, | |
| 37 | + fcn_upper(pessoa.nome) as nome, | |
| 38 | + to_char(fisica.data_nasc,'dd/mm/yyyy') as data_nasc, | |
| 39 | + (SELECT municipio.nome || ' - ' || sigla_uf | |
| 40 | + FROM public.municipio | |
| 41 | + WHERE municipio.idmun = fisica.idmun_nascimento) as municipio_uf_nascimento, | |
| 42 | + (SELECT to_char(data_cadastro,'dd/mm/yyyy') | |
| 43 | + FROM pmieducar.matricula mt | |
| 44 | + WHERE mt.cod_matricula = matricula.cod_matricula AND | |
| 45 | + mt.ativo = 1 AND | |
| 46 | + mt.ultima_matricula = 1) as dt_matricula, | |
| 47 | + matricula.ano as matricula_ano, | |
| 48 | + fcn_upper(instituicao.cidade) as cidade, | |
| 49 | + fcn_upper(aluno.nm_pai) as nm_pai, | |
| 50 | + fcn_upper(aluno.nm_mae) as nm_mae, | |
| 51 | + | |
| 52 | + (SELECT COALESCE((SELECT COALESCE (fcn_upper(ps.nome),fcn_upper(juridica.fantasia)) | |
| 53 | + FROM cadastro.pessoa ps, | |
| 54 | + cadastro.juridica | |
| 55 | + WHERE escola.ref_idpes = juridica.idpes AND | |
| 56 | + juridica.idpes = ps.idpes AND | |
| 57 | + ps.idpes = escola.ref_idpes),(SELECT nm_escola FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS nm_escola, | |
| 58 | + | |
| 59 | + (SELECT fcn_upper(substring(logradouro.idtlog from 1 for 1)) || | |
| 60 | + lower(substring(logradouro.idtlog, 2)) | |
| 61 | + FROM public.logradouro, | |
| 62 | + cadastro.juridica, | |
| 63 | + cadastro.pessoa ps, | |
| 64 | + cadastro.endereco_pessoa | |
| 65 | + WHERE juridica.idpes = ps.idpes AND | |
| 66 | + ps.idpes = endereco_pessoa.idpes AND | |
| 67 | + endereco_pessoa.idlog = logradouro.idlog AND | |
| 68 | + juridica.idpes = escola.ref_idpes) AS tipo_logradouro, | |
| 69 | + | |
| 70 | + (SELECT COALESCE((SELECT COALESCE((SELECT logradouro.nome | |
| 71 | + FROM public.logradouro, | |
| 72 | + cadastro.juridica, | |
| 73 | + cadastro.pessoa ps, | |
| 74 | + cadastro.endereco_pessoa | |
| 75 | + WHERE juridica.idpes = ps.idpes AND | |
| 76 | + ps.idpes = endereco_pessoa.idpes AND | |
| 77 | + endereco_pessoa.idlog = logradouro.idlog AND | |
| 78 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.logradouro FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT logradouro FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS logradouro, | |
| 79 | + | |
| 80 | + (SELECT COALESCE((SELECT COALESCE((SELECT bairro.nome | |
| 81 | + FROM public.municipio, | |
| 82 | + cadastro.endereco_pessoa, | |
| 83 | + cadastro.juridica, | |
| 84 | + public.bairro | |
| 85 | + WHERE endereco_pessoa.idbai = bairro.idbai AND | |
| 86 | + bairro.idmun = municipio.idmun AND | |
| 87 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 88 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.bairro FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT bairro FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS bairro, | |
| 89 | + | |
| 90 | + (SELECT COALESCE((SELECT COALESCE ((SELECT municipio.nome | |
| 91 | + FROM public.municipio, | |
| 92 | + cadastro.endereco_pessoa, | |
| 93 | + cadastro.juridica, | |
| 94 | + public.bairro | |
| 95 | + WHERE endereco_pessoa.idbai = bairro.idbai AND | |
| 96 | + bairro.idmun = municipio.idmun AND | |
| 97 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 98 | + juridica.idpes = escola.ref_idpes), (SELECT endereco_externo.cidade FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT municipio FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS municipio, | |
| 99 | + | |
| 100 | + (SELECT COALESCE((SELECT COALESCE((SELECT endereco_pessoa.numero | |
| 101 | + FROM cadastro.endereco_pessoa, | |
| 102 | + cadastro.juridica | |
| 103 | + WHERE juridica.idpes = endereco_pessoa.idpes AND | |
| 104 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.numero FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT numero FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS numero, | |
| 105 | + | |
| 106 | + | |
| 107 | + (SELECT COALESCE((SELECT COALESCE((SELECT municipio.sigla_uf | |
| 108 | + FROM public.municipio, | |
| 109 | + cadastro.endereco_pessoa, | |
| 110 | + cadastro.juridica, | |
| 111 | + public.bairro | |
| 112 | + WHERE endereco_pessoa.idbai = bairro.idbai AND | |
| 113 | + bairro.idmun = municipio.idmun AND | |
| 114 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 115 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.sigla_uf FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(select inst.ref_sigla_uf from pmieducar.instituicao inst where inst.cod_instituicao = instituicao.cod_instituicao))) AS uf_municipio, | |
| 116 | + | |
| 117 | + (SELECT COALESCE((SELECT min(fone_pessoa.ddd) | |
| 118 | + FROM cadastro.fone_pessoa, | |
| 119 | + cadastro.juridica | |
| 120 | + WHERE juridica.idpes = fone_pessoa.idpes AND | |
| 121 | + juridica.idpes = escola.ref_idpes),(SELECT min(ddd_telefone) FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS fone_ddd, | |
| 122 | + | |
| 123 | + (SELECT COALESCE((SELECT COALESCE((SELECT to_char(endereco_pessoa.cep, '99999-999') | |
| 124 | + FROM cadastro.endereco_pessoa, | |
| 125 | + cadastro.juridica | |
| 126 | + WHERE juridica.idpes = endereco_pessoa.idpes AND | |
| 127 | + juridica.idpes = escola.ref_idpes),(SELECT to_char(endereco_externo.cep,'99999-999') FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT to_char(escola_complemento.cep,'99999-999') FROM pmieducar.escola_complemento where escola_complemento.ref_cod_escola = escola.cod_escola))) AS cep, | |
| 128 | + | |
| 129 | + | |
| 130 | + (SELECT COALESCE((SELECT min(to_char(fone_pessoa.fone, '9999-9999')) | |
| 131 | + FROM cadastro.fone_pessoa, | |
| 132 | + cadastro.juridica | |
| 133 | + WHERE juridica.idpes = fone_pessoa.idpes AND | |
| 134 | + juridica.idpes = escola.ref_idpes),(SELECT min(to_char(telefone, '9999-9999')) FROM pmieducar.escola_complemento where escola_complemento.ref_cod_escola = escola.cod_escola))) AS fone, | |
| 135 | + | |
| 136 | + (SELECT COALESCE((SELECT ps.email | |
| 137 | + FROM cadastro.pessoa ps, | |
| 138 | + cadastro.juridica | |
| 139 | + WHERE juridica.idpes = ps.idpes AND | |
| 140 | + juridica.idpes = escola.ref_idpes),(SELECT email FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS email, | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + to_char(current_date,'dd/mm/yyyy') AS data_atual, | |
| 145 | + to_char(current_timestamp, 'HH24:MI:SS') AS hora_atual | |
| 146 | + | |
| 147 | + FROM pmieducar.aluno, | |
| 148 | + pmieducar.matricula, | |
| 149 | + cadastro.fisica, | |
| 150 | + cadastro.pessoa, | |
| 151 | + pmieducar.instituicao, | |
| 152 | + pmieducar.escola, | |
| 153 | + pmieducar.escola_ano_letivo | |
| 154 | + | |
| 155 | + WHERE escola_ano_letivo.ano = $P{ano} AND | |
| 156 | + instituicao.cod_instituicao = $P{instituicao} AND | |
| 157 | + escola.cod_escola = $P{escola} AND | |
| 158 | + matricula.cod_matricula = (SELECT MAX(cod_matricula) | |
| 159 | + from pmieducar.matricula mt, | |
| 160 | + pmieducar.aluno al | |
| 161 | + where mt.ref_cod_aluno = matricula.ref_cod_aluno AND | |
| 162 | + matricula.cod_matricula = $P{matricula} AND | |
| 163 | + mt.ano = matricula.ano AND | |
| 164 | + mt.ref_ref_cod_escola = matricula.ref_ref_cod_escola AND | |
| 165 | + mt.ref_ref_cod_serie = matricula.ref_ref_cod_serie AND | |
| 166 | + mt.ativo = 1 AND | |
| 167 | + mt.ultima_matricula = 1) AND | |
| 168 | + pessoa.idpes = fisica.idpes AND | |
| 169 | + fisica.idpes = aluno.ref_idpes AND | |
| 170 | + aluno.cod_aluno = matricula.ref_cod_aluno AND | |
| 171 | + matricula.ref_cod_aluno = aluno.cod_aluno AND | |
| 172 | + escola.ref_cod_instituicao = instituicao.cod_instituicao AND | |
| 173 | + escola_ano_letivo.ref_cod_escola = escola.cod_escola AND | |
| 174 | + matricula.ano = escola_ano_letivo.ano AND | |
| 175 | + matricula.ativo = 1 AND | |
| 176 | + escola.ativo = 1 AND | |
| 177 | + instituicao.ativo = 1]]> | |
| 178 | + </queryString> | |
| 179 | + <field name="nm_instituicao" class="java.lang.String"/> | |
| 180 | + <field name="nm_responsavel" class="java.lang.String"/> | |
| 181 | + <field name="cod_escola" class="java.lang.Integer"/> | |
| 182 | + <field name="ano" class="java.lang.Integer"/> | |
| 183 | + <field name="cod_aluno" class="java.lang.Integer"/> | |
| 184 | + <field name="nm_curso" class="java.lang.String"/> | |
| 185 | + <field name="nm_serie" class="java.lang.String"/> | |
| 186 | + <field name="nm_turma" class="java.lang.String"/> | |
| 187 | + <field name="cod_matricula" class="java.lang.Integer"/> | |
| 188 | + <field name="nome" class="java.lang.String"/> | |
| 189 | + <field name="data_nasc" class="java.lang.String"/> | |
| 190 | + <field name="municipio_uf_nascimento" class="java.lang.String"/> | |
| 191 | + <field name="dt_matricula" class="java.lang.String"/> | |
| 192 | + <field name="matricula_ano" class="java.lang.Integer"/> | |
| 193 | + <field name="cidade" class="java.lang.String"/> | |
| 194 | + <field name="nm_pai" class="java.lang.String"/> | |
| 195 | + <field name="nm_mae" class="java.lang.String"/> | |
| 196 | + <field name="nm_escola" class="java.lang.String"/> | |
| 197 | + <field name="tipo_logradouro" class="java.lang.String"/> | |
| 198 | + <field name="logradouro" class="java.lang.String"/> | |
| 199 | + <field name="bairro" class="java.lang.String"/> | |
| 200 | + <field name="municipio" class="java.lang.String"/> | |
| 201 | + <field name="numero" class="java.math.BigDecimal"/> | |
| 202 | + <field name="uf_municipio" class="java.lang.String"/> | |
| 203 | + <field name="fone_ddd" class="java.math.BigDecimal"/> | |
| 204 | + <field name="cep" class="java.lang.String"/> | |
| 205 | + <field name="fone" class="java.lang.String"/> | |
| 206 | + <field name="email" class="java.lang.String"/> | |
| 207 | + <field name="data_atual" class="java.lang.String"/> | |
| 208 | + <field name="hora_atual" class="java.lang.String"/> | |
| 209 | + <background> | |
| 210 | + <band splitType="Stretch"/> | |
| 211 | + </background> | |
| 212 | + <title> | |
| 213 | + <band splitType="Stretch"/> | |
| 214 | + </title> | |
| 215 | + <pageHeader> | |
| 216 | + <band height="693" splitType="Stretch"> | |
| 217 | + <staticText> | |
| 218 | + <reportElement uuid="b2bada90-ee0d-4d69-9c6e-1b65cd0e007d" x="11" y="158" width="537" height="16"/> | |
| 219 | + <textElement textAlignment="Center"> | |
| 220 | + <font fontName="DejaVu Sans" size="12" isBold="true" isUnderline="true"/> | |
| 221 | + </textElement> | |
| 222 | + <text><![CDATA[ATESTADO DE MATRÍCULA]]></text> | |
| 223 | + </staticText> | |
| 224 | + <textField> | |
| 225 | + <reportElement uuid="771f33a3-af05-4b24-b21a-ed152dbe52bc" x="58" y="486" width="120" height="14"/> | |
| 226 | + <textElement> | |
| 227 | + <font fontName="DejaVu Sans" size="8"/> | |
| 228 | + </textElement> | |
| 229 | + <textFieldExpression><![CDATA[$F{cidade}+", "+$F{data_atual}]]></textFieldExpression> | |
| 230 | + </textField> | |
| 231 | + <textField isBlankWhenNull="true"> | |
| 232 | + <reportElement uuid="d704c6b1-f976-480b-aceb-8e4a1e8906d4" x="79" y="40" width="310" height="13"/> | |
| 233 | + <textElement> | |
| 234 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 235 | + </textElement> | |
| 236 | + <textFieldExpression><![CDATA["Endereço: "+$F{logradouro}+" "+$F{numero}]]></textFieldExpression> | |
| 237 | + </textField> | |
| 238 | + <textField> | |
| 239 | + <reportElement uuid="b9876fdf-e1bd-4510-8eb8-45a6dfceb957" x="79" y="4" width="310" height="13"/> | |
| 240 | + <textElement> | |
| 241 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 242 | + </textElement> | |
| 243 | + <textFieldExpression><![CDATA[$F{nm_instituicao}]]></textFieldExpression> | |
| 244 | + </textField> | |
| 245 | + <textField isBlankWhenNull="true"> | |
| 246 | + <reportElement uuid="79fd56cd-5fe7-4331-b4a0-5cf8b93d616a" x="302" y="64" width="236" height="13" forecolor="#000000"/> | |
| 247 | + <textElement> | |
| 248 | + <font fontName="DejaVu Sans" size="8" isBold="true" isItalic="false"/> | |
| 249 | + </textElement> | |
| 250 | + <textFieldExpression><![CDATA["E-mail: "+$F{email}]]></textFieldExpression> | |
| 251 | + </textField> | |
| 252 | + <textField isBlankWhenNull="true"> | |
| 253 | + <reportElement uuid="62b65d6e-e48d-4790-aa23-4a010df96703" x="435" y="52" width="76" height="13"/> | |
| 254 | + <textElement> | |
| 255 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 256 | + </textElement> | |
| 257 | + <textFieldExpression><![CDATA["CEP: "+$F{cep}]]></textFieldExpression> | |
| 258 | + </textField> | |
| 259 | + <textField isBlankWhenNull="true"> | |
| 260 | + <reportElement uuid="c2eb3654-a9c3-496e-b93f-b4de6da5922c" x="302" y="52" width="132" height="13"/> | |
| 261 | + <textElement> | |
| 262 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 263 | + </textElement> | |
| 264 | + <textFieldExpression><![CDATA[$F{municipio}+" - "+$F{uf_municipio}]]></textFieldExpression> | |
| 265 | + </textField> | |
| 266 | + <textField isBlankWhenNull="true"> | |
| 267 | + <reportElement uuid="e04a4123-f547-4570-a2d1-7f2937d64b40" x="79" y="28" width="310" height="13"/> | |
| 268 | + <textElement> | |
| 269 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 270 | + </textElement> | |
| 271 | + <textFieldExpression><![CDATA[$F{nm_escola}]]></textFieldExpression> | |
| 272 | + </textField> | |
| 273 | + <textField isBlankWhenNull="true"> | |
| 274 | + <reportElement uuid="b8e4459e-b127-42c4-a572-b411ba66313c" x="79" y="16" width="310" height="13"/> | |
| 275 | + <textElement> | |
| 276 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 277 | + </textElement> | |
| 278 | + <textFieldExpression><![CDATA[$F{nm_responsavel}]]></textFieldExpression> | |
| 279 | + </textField> | |
| 280 | + <image> | |
| 281 | + <reportElement uuid="58181b73-1bed-48c6-8004-978d09fbabef" x="16" y="4" width="57" height="46"/> | |
| 282 | + <imageExpression><![CDATA[$P{logo}]]></imageExpression> | |
| 283 | + </image> | |
| 284 | + <textField isStretchWithOverflow="true"> | |
| 285 | + <reportElement uuid="c803f32c-11d3-438d-af5f-7290785734f9" x="22" y="311" width="509" height="16"/> | |
| 286 | + <textElement textAlignment="Justified"> | |
| 287 | + <font fontName="DejaVu Sans" size="8"/> | |
| 288 | + </textElement> | |
| 289 | + <textFieldExpression><![CDATA["Atestamos para os defidos fins que, o(a) aluno(a): "+$F{nome}+" com o código nº: "+$F{cod_aluno}+" filho(a) de "+$F{nm_mae}+" e de "+$F{nm_pai}+" nascido(a) em "+$F{data_nasc}+", natural de "+$F{municipio_uf_nascimento}+", admitido em "+$F{dt_matricula}+", está regularmente matriculado no ano de "+$F{ano}+" no curso: "+$F{nm_curso}+" no(a) ano/série: "+$F{nm_serie}+"."]]></textFieldExpression> | |
| 290 | + </textField> | |
| 291 | + <textField isBlankWhenNull="true"> | |
| 292 | + <reportElement uuid="97bd019d-ec3b-4b53-953d-230fba35a8ae" x="79" y="52" width="221" height="13"/> | |
| 293 | + <textElement> | |
| 294 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 295 | + </textElement> | |
| 296 | + <textFieldExpression><![CDATA["Bairro:" +$F{bairro}]]></textFieldExpression> | |
| 297 | + </textField> | |
| 298 | + <staticText> | |
| 299 | + <reportElement uuid="922b6611-457b-49a3-aac1-ada8e23952f9" x="178" y="672" width="207" height="13"/> | |
| 300 | + <textElement textAlignment="Center"> | |
| 301 | + <font fontName="DejaVu Sans" size="8"/> | |
| 302 | + </textElement> | |
| 303 | + <text><![CDATA[Assinatura]]></text> | |
| 304 | + </staticText> | |
| 305 | + <line> | |
| 306 | + <reportElement uuid="7c6b65ab-b713-433d-8dcf-079a43c5882e" x="177" y="669" width="208" height="1"/> | |
| 307 | + </line> | |
| 308 | + <textField> | |
| 309 | + <reportElement uuid="91c5946c-efc9-4077-95aa-368263f4ce1c" x="79" y="64" width="201" height="13"/> | |
| 310 | + <textElement> | |
| 311 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 312 | + </textElement> | |
| 313 | + <textFieldExpression><![CDATA["Telefone: ("+$F{fone_ddd}+") "+$F{fone}]]></textFieldExpression> | |
| 314 | + </textField> | |
| 315 | + </band> | |
| 316 | + </pageHeader> | |
| 317 | + <columnHeader> | |
| 318 | + <band height="15" splitType="Stretch"/> | |
| 319 | + </columnHeader> | |
| 320 | + <detail> | |
| 321 | + <band height="8" splitType="Stretch"/> | |
| 322 | + </detail> | |
| 323 | + <columnFooter> | |
| 324 | + <band height="15" splitType="Stretch"/> | |
| 325 | + </columnFooter> | |
| 326 | + <pageFooter> | |
| 327 | + <band height="16" splitType="Stretch"/> | |
| 328 | + </pageFooter> | |
| 329 | + <summary> | |
| 330 | + <band height="11" splitType="Stretch"/> | |
| 331 | + </summary> | |
| 332 | +</jasperReport> | ... | ... |
ieducar/modules/Reports/ReportSources/portabilis_atestado_vaga.jrxml
0 → 100644
| ... | ... | @@ -0,0 +1,368 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="portabilis_atestado_vaga" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="0cebf96a-c86e-439d-b777-7239a5c2af6a"> | |
| 3 | + <property name="ireport.zoom" value="1.1"/> | |
| 4 | + <property name="ireport.x" value="0"/> | |
| 5 | + <property name="ireport.y" value="341"/> | |
| 6 | + <parameter name="instituicao" class="java.lang.Integer"> | |
| 7 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 8 | + </parameter> | |
| 9 | + <parameter name="escola" class="java.lang.Integer"> | |
| 10 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 11 | + </parameter> | |
| 12 | + <parameter name="curso" class="java.lang.Integer"> | |
| 13 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 14 | + </parameter> | |
| 15 | + <parameter name="serie" class="java.lang.Integer"> | |
| 16 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 17 | + </parameter> | |
| 18 | + <parameter name="aluno" class="java.lang.String"> | |
| 19 | + <defaultValueExpression><![CDATA[]]></defaultValueExpression> | |
| 20 | + </parameter> | |
| 21 | + <parameter name="ano" class="java.lang.Integer"> | |
| 22 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 23 | + </parameter> | |
| 24 | + <parameter name="logo" class="java.lang.String"/> | |
| 25 | + <queryString> | |
| 26 | + <![CDATA[SELECT public.fcn_upper(nm_instituicao) AS nome_instituicao, | |
| 27 | + public.fcn_upper(nm_responsavel) AS nm_responsavel, | |
| 28 | + instituicao.cidade AS cidade_instituicao, | |
| 29 | + public.fcn_upper(ref_sigla_uf) AS uf_instituicao, | |
| 30 | + escola.cod_escola AS cod_escola, | |
| 31 | + escola_ano_letivo.ano, | |
| 32 | + (SELECT COALESCE((SELECT COALESCE (fcn_upper(ps.nome),fcn_upper(juridica.fantasia)) | |
| 33 | + FROM cadastro.pessoa ps, | |
| 34 | + cadastro.juridica | |
| 35 | + WHERE escola.ref_idpes = juridica.idpes AND | |
| 36 | + juridica.idpes = ps.idpes AND | |
| 37 | + ps.idpes = escola.ref_idpes),(SELECT nm_escola FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS nm_escola, | |
| 38 | + | |
| 39 | + (SELECT fcn_upper(substring(logradouro.idtlog from 1 for 1)) || | |
| 40 | + lower(substring(logradouro.idtlog, 2)) | |
| 41 | + FROM public.logradouro, | |
| 42 | + cadastro.juridica, | |
| 43 | + cadastro.pessoa ps, | |
| 44 | + cadastro.endereco_pessoa | |
| 45 | + WHERE juridica.idpes = ps.idpes AND | |
| 46 | + ps.idpes = endereco_pessoa.idpes AND | |
| 47 | + endereco_pessoa.idlog = logradouro.idlog AND | |
| 48 | + juridica.idpes = escola.ref_idpes) AS tipo_logradouro, | |
| 49 | + | |
| 50 | + (SELECT COALESCE((SELECT COALESCE((SELECT logradouro.nome | |
| 51 | + FROM public.logradouro, | |
| 52 | + cadastro.juridica, | |
| 53 | + cadastro.pessoa ps, | |
| 54 | + cadastro.endereco_pessoa | |
| 55 | + WHERE juridica.idpes = ps.idpes AND | |
| 56 | + ps.idpes = endereco_pessoa.idpes AND | |
| 57 | + endereco_pessoa.idlog = logradouro.idlog AND | |
| 58 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.logradouro FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT logradouro FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS logradouro, | |
| 59 | + | |
| 60 | + (SELECT COALESCE((SELECT COALESCE((SELECT bairro.nome | |
| 61 | + FROM public.municipio, | |
| 62 | + cadastro.endereco_pessoa, | |
| 63 | + cadastro.juridica, | |
| 64 | + public.bairro | |
| 65 | + WHERE endereco_pessoa.idbai = bairro.idbai AND | |
| 66 | + bairro.idmun = municipio.idmun AND | |
| 67 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 68 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.bairro FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT bairro FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS bairro, | |
| 69 | + | |
| 70 | + (SELECT COALESCE((SELECT COALESCE ((SELECT municipio.nome | |
| 71 | + FROM public.municipio, | |
| 72 | + cadastro.endereco_pessoa, | |
| 73 | + cadastro.juridica, | |
| 74 | + public.bairro | |
| 75 | + WHERE endereco_pessoa.idbai = bairro.idbai AND | |
| 76 | + bairro.idmun = municipio.idmun AND | |
| 77 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 78 | + juridica.idpes = escola.ref_idpes), (SELECT endereco_externo.cidade FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT municipio FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS municipio, | |
| 79 | + | |
| 80 | + (SELECT COALESCE((SELECT COALESCE((SELECT endereco_pessoa.numero | |
| 81 | + FROM cadastro.endereco_pessoa, | |
| 82 | + cadastro.juridica | |
| 83 | + WHERE juridica.idpes = endereco_pessoa.idpes AND | |
| 84 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.numero FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT numero FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS numero, | |
| 85 | + | |
| 86 | + | |
| 87 | + (SELECT COALESCE((SELECT COALESCE((SELECT municipio.sigla_uf | |
| 88 | + FROM public.municipio, | |
| 89 | + cadastro.endereco_pessoa, | |
| 90 | + cadastro.juridica, | |
| 91 | + public.bairro | |
| 92 | + WHERE endereco_pessoa.idbai = bairro.idbai AND | |
| 93 | + bairro.idmun = municipio.idmun AND | |
| 94 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 95 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.sigla_uf FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(select inst.ref_sigla_uf from pmieducar.instituicao inst where inst.cod_instituicao = instituicao.cod_instituicao))) AS uf_municipio, | |
| 96 | + | |
| 97 | + (SELECT COALESCE((SELECT min(fone_pessoa.ddd) | |
| 98 | + FROM cadastro.fone_pessoa, | |
| 99 | + cadastro.juridica | |
| 100 | + WHERE juridica.idpes = fone_pessoa.idpes AND | |
| 101 | + juridica.idpes = escola.ref_idpes),(SELECT min(ddd_telefone) FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS fone_ddd, | |
| 102 | + | |
| 103 | + (SELECT COALESCE((SELECT COALESCE((SELECT to_char(endereco_pessoa.cep, '99999-999') | |
| 104 | + FROM cadastro.endereco_pessoa, | |
| 105 | + cadastro.juridica | |
| 106 | + WHERE juridica.idpes = endereco_pessoa.idpes AND | |
| 107 | + juridica.idpes = escola.ref_idpes),(SELECT to_char(endereco_externo.cep,'99999-999') FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT to_char(escola_complemento.cep,'99999-999') FROM pmieducar.escola_complemento where escola_complemento.ref_cod_escola = escola.cod_escola))) AS cep, | |
| 108 | + | |
| 109 | + | |
| 110 | + (SELECT COALESCE((SELECT min(to_char(fone_pessoa.fone, '9999-9999')) | |
| 111 | + FROM cadastro.fone_pessoa, | |
| 112 | + cadastro.juridica | |
| 113 | + WHERE juridica.idpes = fone_pessoa.idpes AND | |
| 114 | + juridica.idpes = escola.ref_idpes),(SELECT min(to_char(telefone, '9999-9999')) FROM pmieducar.escola_complemento where escola_complemento.ref_cod_escola = escola.cod_escola))) AS fone, | |
| 115 | + | |
| 116 | + (SELECT COALESCE((SELECT ps.email | |
| 117 | + FROM cadastro.pessoa ps, | |
| 118 | + cadastro.juridica | |
| 119 | + WHERE juridica.idpes = ps.idpes AND | |
| 120 | + juridica.idpes = escola.ref_idpes),(SELECT email FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS email, | |
| 121 | + curso.nm_curso, | |
| 122 | + serie.nm_serie, | |
| 123 | + to_char(CURRENT_DATE,'dd/mm/yyyy') AS data_atual, | |
| 124 | + to_char(current_timestamp, 'HH24:MI:SS') AS hora_atual | |
| 125 | + | |
| 126 | + FROM pmieducar.instituicao, | |
| 127 | + cadastro.pessoa RIGHT OUTER JOIN pmieducar.escola ON (escola.ref_idpes = pessoa.idpes), | |
| 128 | + pmieducar.escola_ano_letivo, | |
| 129 | + pmieducar.escola_curso, | |
| 130 | + pmieducar.escola_serie, | |
| 131 | + pmieducar.curso, | |
| 132 | + pmieducar.serie | |
| 133 | + | |
| 134 | + WHERE escola_ano_letivo.ano = $P{ano} AND | |
| 135 | + instituicao.cod_instituicao = $P{instituicao} AND | |
| 136 | + escola.cod_escola = $P{escola} AND | |
| 137 | + curso.cod_curso = $P{curso} AND | |
| 138 | + serie.cod_serie = $P{serie} AND | |
| 139 | + escola_serie.ref_cod_serie = serie.cod_serie AND | |
| 140 | + escola_curso.ref_cod_curso = curso.cod_curso AND | |
| 141 | + escola_curso.ref_cod_escola = escola.cod_escola AND | |
| 142 | + escola_serie.ref_cod_escola = escola.cod_escola AND | |
| 143 | + escola.ref_cod_instituicao = instituicao.cod_instituicao AND | |
| 144 | + escola_ano_letivo.ref_cod_escola = escola.cod_escola AND | |
| 145 | + escola.ativo = 1]]> | |
| 146 | + </queryString> | |
| 147 | + <field name="nome_instituicao" class="java.lang.String"/> | |
| 148 | + <field name="nm_responsavel" class="java.lang.String"/> | |
| 149 | + <field name="cidade_instituicao" class="java.lang.String"/> | |
| 150 | + <field name="uf_instituicao" class="java.lang.String"/> | |
| 151 | + <field name="cod_escola" class="java.lang.Integer"/> | |
| 152 | + <field name="ano" class="java.lang.Integer"/> | |
| 153 | + <field name="nm_escola" class="java.lang.String"/> | |
| 154 | + <field name="tipo_logradouro" class="java.lang.String"/> | |
| 155 | + <field name="logradouro" class="java.lang.String"/> | |
| 156 | + <field name="bairro" class="java.lang.String"/> | |
| 157 | + <field name="municipio" class="java.lang.String"/> | |
| 158 | + <field name="numero" class="java.math.BigDecimal"/> | |
| 159 | + <field name="uf_municipio" class="java.lang.String"/> | |
| 160 | + <field name="fone_ddd" class="java.math.BigDecimal"/> | |
| 161 | + <field name="cep" class="java.lang.String"/> | |
| 162 | + <field name="fone" class="java.lang.String"/> | |
| 163 | + <field name="email" class="java.lang.String"/> | |
| 164 | + <field name="nm_curso" class="java.lang.String"/> | |
| 165 | + <field name="nm_serie" class="java.lang.String"/> | |
| 166 | + <field name="data_atual" class="java.lang.String"/> | |
| 167 | + <field name="hora_atual" class="java.lang.String"/> | |
| 168 | + <background> | |
| 169 | + <band splitType="Stretch"/> | |
| 170 | + </background> | |
| 171 | + <title> | |
| 172 | + <band splitType="Stretch"/> | |
| 173 | + </title> | |
| 174 | + <pageHeader> | |
| 175 | + <band height="723" splitType="Stretch"> | |
| 176 | + <staticText> | |
| 177 | + <reportElement uuid="934f694c-f92f-4d15-8202-4b62a24f56e4" x="16" y="158" width="529" height="16"/> | |
| 178 | + <textElement textAlignment="Center"> | |
| 179 | + <font fontName="DejaVu Sans" size="12" isBold="true" isUnderline="true"/> | |
| 180 | + </textElement> | |
| 181 | + <text><![CDATA[ATESTADO DE VAGA]]></text> | |
| 182 | + </staticText> | |
| 183 | + <textField isBlankWhenNull="true"> | |
| 184 | + <reportElement uuid="1f4edead-220b-41fa-9c8f-a47f05117ca6" x="289" y="64" width="249" height="13" forecolor="#000000"/> | |
| 185 | + <textElement> | |
| 186 | + <font fontName="DejaVu Sans" size="8" isBold="true" isItalic="false"/> | |
| 187 | + </textElement> | |
| 188 | + <textFieldExpression><![CDATA["E-mail: "+$F{email}]]></textFieldExpression> | |
| 189 | + </textField> | |
| 190 | + <textField isBlankWhenNull="true"> | |
| 191 | + <reportElement uuid="c00be8f6-d1eb-4b09-a6a2-6fac1b8943c3" x="79" y="40" width="308" height="13"/> | |
| 192 | + <textElement> | |
| 193 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 194 | + </textElement> | |
| 195 | + <textFieldExpression><![CDATA["Endereço: "+$F{logradouro}+" "+$F{numero}]]></textFieldExpression> | |
| 196 | + </textField> | |
| 197 | + <textField isBlankWhenNull="true"> | |
| 198 | + <reportElement uuid="9dba342b-be6c-469c-af55-cbc2ad1df97d" x="79" y="28" width="308" height="13"/> | |
| 199 | + <textElement> | |
| 200 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 201 | + </textElement> | |
| 202 | + <textFieldExpression><![CDATA[$F{nm_escola}]]></textFieldExpression> | |
| 203 | + </textField> | |
| 204 | + <staticText> | |
| 205 | + <reportElement uuid="bf9e832f-6511-4cf0-9d38-2ba14341e887" x="110" y="301" width="295" height="20"/> | |
| 206 | + <textElement> | |
| 207 | + <font fontName="DejaVu Sans" size="8"/> | |
| 208 | + </textElement> | |
| 209 | + <text><![CDATA[Certidão de Nascimento ou carteira de identidade (cópia);]]></text> | |
| 210 | + </staticText> | |
| 211 | + <staticText> | |
| 212 | + <reportElement uuid="b6e3b8d2-12e2-4047-82ce-c1ae167500f5" x="110" y="335" width="295" height="20"/> | |
| 213 | + <textElement> | |
| 214 | + <font fontName="DejaVu Sans" size="8"/> | |
| 215 | + </textElement> | |
| 216 | + <text><![CDATA[Comprovante de Residência (cópia);]]></text> | |
| 217 | + </staticText> | |
| 218 | + <staticText> | |
| 219 | + <reportElement uuid="74bec1f9-c1fd-4ec2-9ab2-614ad478498d" x="110" y="366" width="295" height="20"/> | |
| 220 | + <textElement> | |
| 221 | + <font fontName="DejaVu Sans" size="8"/> | |
| 222 | + </textElement> | |
| 223 | + <text><![CDATA[Histórico Escolar (original);]]></text> | |
| 224 | + </staticText> | |
| 225 | + <staticText> | |
| 226 | + <reportElement uuid="c0350a66-5704-415e-ae9f-6d717b5dd5dc" x="110" y="428" width="295" height="20"/> | |
| 227 | + <textElement> | |
| 228 | + <font fontName="DejaVu Sans" size="8"/> | |
| 229 | + </textElement> | |
| 230 | + <text><![CDATA[Declaração de vacina da unidade de saúde (original).]]></text> | |
| 231 | + </staticText> | |
| 232 | + <staticText> | |
| 233 | + <reportElement uuid="138699ba-7af4-4771-a8d7-7935cd9aedad" x="110" y="498" width="295" height="20"/> | |
| 234 | + <textElement> | |
| 235 | + <font fontName="DejaVu Sans" size="8" isBold="false"/> | |
| 236 | + </textElement> | |
| 237 | + <text><![CDATA[Notas parciais;]]></text> | |
| 238 | + </staticText> | |
| 239 | + <staticText> | |
| 240 | + <reportElement uuid="bfd3be32-87ad-48fb-9f2d-3f788d5aad8c" x="53" y="470" width="352" height="20"/> | |
| 241 | + <textElement> | |
| 242 | + <font fontName="DejaVu Sans" size="8"/> | |
| 243 | + </textElement> | |
| 244 | + <text><![CDATA[No caso de transferência durante o ano, apresentar também:]]></text> | |
| 245 | + </staticText> | |
| 246 | + <staticText> | |
| 247 | + <reportElement uuid="62851621-c7ed-4c60-a3e5-43ee98e3dfe9" x="111" y="530" width="295" height="20"/> | |
| 248 | + <textElement> | |
| 249 | + <font fontName="DejaVu Sans" size="8" isBold="false"/> | |
| 250 | + </textElement> | |
| 251 | + <text><![CDATA[Boletim de notas dos bimestres concluídos.]]></text> | |
| 252 | + </staticText> | |
| 253 | + <rectangle> | |
| 254 | + <reportElement uuid="21b75d8b-73b4-4960-9f21-68cfd21a071e" x="86" y="306" width="14" height="10"/> | |
| 255 | + </rectangle> | |
| 256 | + <rectangle> | |
| 257 | + <reportElement uuid="0cddb8cb-258d-45c6-b14e-2ff465b6542d" x="86" y="339" width="14" height="10"/> | |
| 258 | + </rectangle> | |
| 259 | + <rectangle> | |
| 260 | + <reportElement uuid="036ba63f-9b0b-4ed2-b96b-dbcd65f98f39" x="86" y="371" width="14" height="10"/> | |
| 261 | + </rectangle> | |
| 262 | + <rectangle> | |
| 263 | + <reportElement uuid="6cc748be-3513-4ebe-b97f-b56c7087e254" x="86" y="402" width="14" height="10"/> | |
| 264 | + </rectangle> | |
| 265 | + <rectangle> | |
| 266 | + <reportElement uuid="9e12b9e5-3d54-4901-928c-3686a8f975dc" x="86" y="503" width="14" height="10"/> | |
| 267 | + </rectangle> | |
| 268 | + <rectangle> | |
| 269 | + <reportElement uuid="13976172-3b25-4f11-bbe5-d94fd6bda1e4" x="86" y="535" width="14" height="10"/> | |
| 270 | + </rectangle> | |
| 271 | + <textField> | |
| 272 | + <reportElement uuid="664a8f7e-73e9-4081-acb3-0898320daa5c" x="53" y="624" width="352" height="20"/> | |
| 273 | + <textElement markup="none"> | |
| 274 | + <font fontName="DejaVu Sans" size="8"/> | |
| 275 | + </textElement> | |
| 276 | + <textFieldExpression><![CDATA[$F{cidade_instituicao}+" ("+$F{uf_instituicao}+")"+", "+$F{data_atual}]]></textFieldExpression> | |
| 277 | + </textField> | |
| 278 | + <textField isStretchWithOverflow="true"> | |
| 279 | + <reportElement uuid="131a3b2e-fdab-4db8-ba18-6d5d66ded657" x="22" y="209" width="523" height="15"/> | |
| 280 | + <textElement textAlignment="Justified"> | |
| 281 | + <font fontName="DejaVu Sans" size="8"/> | |
| 282 | + </textElement> | |
| 283 | + <textFieldExpression><![CDATA["Atestamos para os devidos fins e a pedido da parte interessada, que há vaga no(a) "+$F{nm_serie}+" do "+$F{nm_curso}+ "para o ano letivo de "+$F{ano}+", podendo ser aceita a matrícula por transferência do(a) aluno(a) "+$P{aluno}+" desde que apresente a documentação exigida:"]]></textFieldExpression> | |
| 284 | + </textField> | |
| 285 | + <textField> | |
| 286 | + <reportElement uuid="c412e310-8027-4ac0-83da-9e0eaf860af5" x="79" y="4" width="308" height="13"/> | |
| 287 | + <textElement> | |
| 288 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 289 | + </textElement> | |
| 290 | + <textFieldExpression><![CDATA[$F{nome_instituicao}]]></textFieldExpression> | |
| 291 | + </textField> | |
| 292 | + <textField isBlankWhenNull="true"> | |
| 293 | + <reportElement uuid="0641ef42-4d79-45d3-ab5c-c89b0a266671" x="415" y="52" width="77" height="13"/> | |
| 294 | + <textElement> | |
| 295 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 296 | + </textElement> | |
| 297 | + <textFieldExpression><![CDATA["CEP: "+$F{cep}]]></textFieldExpression> | |
| 298 | + </textField> | |
| 299 | + <textField isBlankWhenNull="true"> | |
| 300 | + <reportElement uuid="9522e660-0e88-4c9b-809c-1fa92c2b2c20" x="289" y="52" width="123" height="13"/> | |
| 301 | + <textElement> | |
| 302 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 303 | + </textElement> | |
| 304 | + <textFieldExpression><![CDATA[$F{municipio}+" - "+$F{uf_municipio}]]></textFieldExpression> | |
| 305 | + </textField> | |
| 306 | + <textField isBlankWhenNull="true"> | |
| 307 | + <reportElement uuid="b5b0fdd3-aacd-4601-b49f-e2bf631872b3" x="79" y="16" width="308" height="13"/> | |
| 308 | + <textElement> | |
| 309 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 310 | + </textElement> | |
| 311 | + <textFieldExpression><![CDATA[$F{nm_responsavel}]]></textFieldExpression> | |
| 312 | + </textField> | |
| 313 | + <line> | |
| 314 | + <reportElement uuid="0d179794-4148-414e-aa50-655ce102c43f" x="181" y="698" width="193" height="1"/> | |
| 315 | + </line> | |
| 316 | + <staticText> | |
| 317 | + <reportElement uuid="53dfdc87-5f39-4c16-b175-76e9f12f488f" x="181" y="702" width="193" height="13"/> | |
| 318 | + <textElement textAlignment="Center"> | |
| 319 | + <font fontName="DejaVu Sans" size="8"/> | |
| 320 | + </textElement> | |
| 321 | + <text><![CDATA[Assinatura]]></text> | |
| 322 | + </staticText> | |
| 323 | + <image> | |
| 324 | + <reportElement uuid="02f66b90-a668-4320-8b8a-d4ad07e378a4" x="16" y="4" width="57" height="46"/> | |
| 325 | + <imageExpression><![CDATA[$P{logo}]]></imageExpression> | |
| 326 | + </image> | |
| 327 | + <textField isBlankWhenNull="true"> | |
| 328 | + <reportElement uuid="afca9683-4ad5-4136-af58-44c170fa1c32" x="79" y="52" width="206" height="13"/> | |
| 329 | + <textElement> | |
| 330 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 331 | + </textElement> | |
| 332 | + <textFieldExpression><![CDATA["Bairro: " +$F{bairro}]]></textFieldExpression> | |
| 333 | + </textField> | |
| 334 | + <textField> | |
| 335 | + <reportElement uuid="8ede2a59-2714-4613-8c6e-78e8579099af" x="79" y="64" width="201" height="13"/> | |
| 336 | + <textElement> | |
| 337 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 338 | + </textElement> | |
| 339 | + <textFieldExpression><![CDATA["Telefone: ("+$F{fone_ddd}+") "+$F{fone}]]></textFieldExpression> | |
| 340 | + </textField> | |
| 341 | + <rectangle> | |
| 342 | + <reportElement uuid="3b69d59e-8d31-44d4-8f69-7f75209672b2" x="86" y="432" width="14" height="10"/> | |
| 343 | + </rectangle> | |
| 344 | + <staticText> | |
| 345 | + <reportElement uuid="ff5b77fe-eb50-4312-9784-e6cda36ae922" x="110" y="397" width="295" height="20"/> | |
| 346 | + <textElement> | |
| 347 | + <font fontName="DejaVu Sans" size="8"/> | |
| 348 | + </textElement> | |
| 349 | + <text><![CDATA[Atestado de Frequência (original).]]></text> | |
| 350 | + </staticText> | |
| 351 | + </band> | |
| 352 | + </pageHeader> | |
| 353 | + <columnHeader> | |
| 354 | + <band height="15" splitType="Stretch"/> | |
| 355 | + </columnHeader> | |
| 356 | + <detail> | |
| 357 | + <band height="11" splitType="Stretch"/> | |
| 358 | + </detail> | |
| 359 | + <columnFooter> | |
| 360 | + <band height="6" splitType="Stretch"/> | |
| 361 | + </columnFooter> | |
| 362 | + <pageFooter> | |
| 363 | + <band height="10" splitType="Stretch"/> | |
| 364 | + </pageFooter> | |
| 365 | + <summary> | |
| 366 | + <band height="9" splitType="Stretch"/> | |
| 367 | + </summary> | |
| 368 | +</jasperReport> | ... | ... |
ieducar/modules/Reports/ReportSources/portabilis_biblioteca_autor.jrxml
0 → 100644
| ... | ... | @@ -0,0 +1,297 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="portabilis_biblioteca_autor" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="ff823efd-75fc-4ad7-ae5f-fa380463488d"> | |
| 3 | + <property name="ireport.zoom" value="1.2100000000000013"/> | |
| 4 | + <property name="ireport.x" value="0"/> | |
| 5 | + <property name="ireport.y" value="0"/> | |
| 6 | + <parameter name="instituicao" class="java.lang.Integer"> | |
| 7 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 8 | + </parameter> | |
| 9 | + <parameter name="escola" class="java.lang.Integer"> | |
| 10 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 11 | + </parameter> | |
| 12 | + <parameter name="logo" class="java.lang.String"/> | |
| 13 | + <parameter name="ordem" class="java.lang.String"/> | |
| 14 | + <queryString> | |
| 15 | + <![CDATA[SELECT public.fcn_upper(instituicao.nm_instituicao) as nm_instituicao, | |
| 16 | + cod_acervo_autor, | |
| 17 | + translate(public.fcn_upper(nm_autor),'åáàãâäéèêëíìîïóòõôöúùüûçÿýñÅÁÀÃÂÄÉÈÊËÍÌÎÏÓÒÕÔÖÚÙÛÜÇÝÑ', 'aaaaaaeeeeiiiiooooouuuucyynAAAAAAEEEEIIIIOOOOOUUUUCYN') as nm_autor, | |
| 18 | + descricao, | |
| 19 | + ref_cod_biblioteca, | |
| 20 | + (SELECT biblioteca.nm_biblioteca | |
| 21 | + FROM pmieducar.biblioteca | |
| 22 | + WHERE acervo_autor.ref_cod_biblioteca = biblioteca.cod_biblioteca) as nm_biblioteca, | |
| 23 | + | |
| 24 | + (SELECT COALESCE((SELECT COALESCE (fcn_upper(ps.nome),fcn_upper(juridica.fantasia)) | |
| 25 | + FROM cadastro.pessoa ps, | |
| 26 | + cadastro.juridica | |
| 27 | + WHERE escola.ref_idpes = juridica.idpes AND | |
| 28 | + juridica.idpes = ps.idpes AND | |
| 29 | + ps.idpes = escola.ref_idpes),(SELECT nm_escola | |
| 30 | + FROM pmieducar.escola_complemento | |
| 31 | + WHERE ref_cod_escola = escola.cod_escola))) AS nm_escola, | |
| 32 | + | |
| 33 | + (SELECT COALESCE((SELECT COALESCE((SELECT logradouro.nome | |
| 34 | + FROM public.logradouro, | |
| 35 | + cadastro.juridica, | |
| 36 | + cadastro.pessoa ps, | |
| 37 | + cadastro.endereco_pessoa | |
| 38 | + WHERE juridica.idpes = ps.idpes AND | |
| 39 | + ps.idpes = endereco_pessoa.idpes AND | |
| 40 | + endereco_pessoa.idlog = logradouro.idlog AND | |
| 41 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.logradouro | |
| 42 | + FROM cadastro.endereco_externo | |
| 43 | + WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT logradouro FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS logradouro, | |
| 44 | + | |
| 45 | + (SELECT COALESCE((SELECT COALESCE((SELECT bairro.nome | |
| 46 | + FROM public.municipio, | |
| 47 | + cadastro.endereco_pessoa, | |
| 48 | + cadastro.juridica, | |
| 49 | + public.bairro | |
| 50 | + WHERE endereco_pessoa.idbai = bairro.idbai AND | |
| 51 | + bairro.idmun = municipio.idmun AND | |
| 52 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 53 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.bairro FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT bairro FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS bairro, | |
| 54 | + | |
| 55 | + (SELECT COALESCE((SELECT COALESCE ((SELECT municipio.nome | |
| 56 | + FROM public.municipio, | |
| 57 | + cadastro.endereco_pessoa, | |
| 58 | + cadastro.juridica, | |
| 59 | + public.bairro | |
| 60 | + WHERE endereco_pessoa.idbai = bairro.idbai AND | |
| 61 | + bairro.idmun = municipio.idmun AND | |
| 62 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 63 | + juridica.idpes = escola.ref_idpes), (SELECT endereco_externo.cidade FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT municipio FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS municipio, | |
| 64 | + | |
| 65 | + (SELECT COALESCE((SELECT COALESCE((SELECT endereco_pessoa.numero | |
| 66 | + FROM cadastro.endereco_pessoa, | |
| 67 | + cadastro.juridica | |
| 68 | + WHERE juridica.idpes = endereco_pessoa.idpes AND | |
| 69 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.numero FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT numero FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS numero, | |
| 70 | + | |
| 71 | + | |
| 72 | + (SELECT COALESCE((SELECT COALESCE((SELECT municipio.sigla_uf | |
| 73 | + FROM public.municipio, | |
| 74 | + cadastro.endereco_pessoa, | |
| 75 | + cadastro.juridica, | |
| 76 | + public.bairro | |
| 77 | + WHERE endereco_pessoa.idbai = bairro.idbai AND | |
| 78 | + bairro.idmun = municipio.idmun AND | |
| 79 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 80 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.sigla_uf FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(select inst.ref_sigla_uf from pmieducar.instituicao inst where inst.cod_instituicao = instituicao.cod_instituicao))) AS uf_municipio, | |
| 81 | + | |
| 82 | + (SELECT COALESCE((SELECT min(to_char(fone_pessoa.ddd,'99')) | |
| 83 | + FROM cadastro.fone_pessoa, | |
| 84 | + cadastro.juridica | |
| 85 | + WHERE juridica.idpes = fone_pessoa.idpes AND | |
| 86 | + juridica.idpes = escola.ref_idpes),COALESCE((SELECT min(to_char(ddd_telefone,'99')) FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola),''))) AS fone_ddd, | |
| 87 | + | |
| 88 | + (SELECT COALESCE((SELECT COALESCE((SELECT to_char(endereco_pessoa.cep, '99999-999') | |
| 89 | + FROM cadastro.endereco_pessoa, | |
| 90 | + cadastro.juridica | |
| 91 | + WHERE juridica.idpes = endereco_pessoa.idpes AND | |
| 92 | + juridica.idpes = escola.ref_idpes),(SELECT to_char(endereco_externo.cep,'99999-999') FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT to_char(escola_complemento.cep,'99999-999') FROM pmieducar.escola_complemento where escola_complemento.ref_cod_escola = escola.cod_escola))) AS cep, | |
| 93 | + | |
| 94 | + | |
| 95 | + (SELECT COALESCE((SELECT min(to_char(fone_pessoa.fone, '9999-9999')) | |
| 96 | + FROM cadastro.fone_pessoa, | |
| 97 | + cadastro.juridica | |
| 98 | + WHERE juridica.idpes = fone_pessoa.idpes AND | |
| 99 | + juridica.idpes = escola.ref_idpes),COALESCE((SELECT min(to_char(telefone, '9999-9999')) FROM pmieducar.escola_complemento where escola_complemento.ref_cod_escola = escola.cod_escola),''))) AS fone, | |
| 100 | + | |
| 101 | + (SELECT COALESCE((SELECT ps.email | |
| 102 | + FROM cadastro.pessoa ps, | |
| 103 | + cadastro.juridica | |
| 104 | + WHERE juridica.idpes = ps.idpes AND | |
| 105 | + juridica.idpes = escola.ref_idpes),(SELECT email FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS email | |
| 106 | + | |
| 107 | + FROM pmieducar.acervo_autor, | |
| 108 | + pmieducar.biblioteca, | |
| 109 | + pmieducar.instituicao, | |
| 110 | + pmieducar.escola | |
| 111 | + WHERE instituicao.cod_instituicao = $P{instituicao} AND | |
| 112 | + instituicao.cod_instituicao = biblioteca.ref_cod_instituicao AND | |
| 113 | + escola.cod_escola = $P{escola} AND | |
| 114 | + biblioteca.ref_cod_escola = escola.cod_escola AND | |
| 115 | + acervo_autor.ativo = 1 | |
| 116 | +ORDER BY nm_autor]]> | |
| 117 | + </queryString> | |
| 118 | + <field name="nm_instituicao" class="java.lang.String"/> | |
| 119 | + <field name="cod_acervo_autor" class="java.lang.Integer"/> | |
| 120 | + <field name="nm_autor" class="java.lang.String"/> | |
| 121 | + <field name="descricao" class="java.lang.String"/> | |
| 122 | + <field name="ref_cod_biblioteca" class="java.lang.Integer"/> | |
| 123 | + <field name="nm_biblioteca" class="java.lang.String"/> | |
| 124 | + <field name="nm_escola" class="java.lang.String"/> | |
| 125 | + <field name="logradouro" class="java.lang.String"/> | |
| 126 | + <field name="bairro" class="java.lang.String"/> | |
| 127 | + <field name="municipio" class="java.lang.String"/> | |
| 128 | + <field name="numero" class="java.math.BigDecimal"/> | |
| 129 | + <field name="uf_municipio" class="java.lang.String"/> | |
| 130 | + <field name="fone_ddd" class="java.lang.String"/> | |
| 131 | + <field name="cep" class="java.lang.String"/> | |
| 132 | + <field name="fone" class="java.lang.String"/> | |
| 133 | + <field name="email" class="java.lang.String"/> | |
| 134 | + <background> | |
| 135 | + <band splitType="Stretch"/> | |
| 136 | + </background> | |
| 137 | + <title> | |
| 138 | + <band height="4" splitType="Stretch"/> | |
| 139 | + </title> | |
| 140 | + <pageHeader> | |
| 141 | + <band height="131" splitType="Stretch"> | |
| 142 | + <textField isBlankWhenNull="true"> | |
| 143 | + <reportElement uuid="fa6a8b45-b6f5-44b3-a146-aaf65df8edaf" x="75" y="31" width="307" height="13"/> | |
| 144 | + <textElement> | |
| 145 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 146 | + </textElement> | |
| 147 | + <textFieldExpression><![CDATA["Endereço: "+$F{logradouro}+", "+$F{numero}]]></textFieldExpression> | |
| 148 | + </textField> | |
| 149 | + <textField> | |
| 150 | + <reportElement uuid="ce19fa21-7328-4a02-b28f-17c82bbc03ae" x="75" y="3" width="307" height="13"/> | |
| 151 | + <textElement> | |
| 152 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 153 | + </textElement> | |
| 154 | + <textFieldExpression><![CDATA[$F{nm_instituicao}]]></textFieldExpression> | |
| 155 | + </textField> | |
| 156 | + <textField isBlankWhenNull="true"> | |
| 157 | + <reportElement uuid="636e13b9-bfff-4fa8-a18a-5fc3d5c181be" x="305" y="55" width="233" height="13" forecolor="#000000"/> | |
| 158 | + <textElement> | |
| 159 | + <font fontName="DejaVu Sans" size="8" isBold="true" isItalic="false"/> | |
| 160 | + </textElement> | |
| 161 | + <textFieldExpression><![CDATA["E-mail: "+$F{email}]]></textFieldExpression> | |
| 162 | + </textField> | |
| 163 | + <textField isBlankWhenNull="true"> | |
| 164 | + <reportElement uuid="fea0317c-b154-42a1-9666-798706fe5f3d" x="305" y="43" width="141" height="13"/> | |
| 165 | + <textElement> | |
| 166 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 167 | + </textElement> | |
| 168 | + <textFieldExpression><![CDATA[$F{municipio}+" - "+$F{uf_municipio}]]></textFieldExpression> | |
| 169 | + </textField> | |
| 170 | + <textField isBlankWhenNull="true"> | |
| 171 | + <reportElement uuid="adcd0540-6f15-4f65-b545-5c7ab8598e03" x="449" y="43" width="77" height="13"/> | |
| 172 | + <textElement> | |
| 173 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 174 | + </textElement> | |
| 175 | + <textFieldExpression><![CDATA["CEP: "+$F{cep}]]></textFieldExpression> | |
| 176 | + </textField> | |
| 177 | + <textField isBlankWhenNull="true"> | |
| 178 | + <reportElement uuid="e91902f9-34fa-4ccc-9321-bd98b920a44d" x="75" y="17" width="307" height="13"/> | |
| 179 | + <textElement> | |
| 180 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 181 | + </textElement> | |
| 182 | + <textFieldExpression><![CDATA[$F{nm_escola}]]></textFieldExpression> | |
| 183 | + </textField> | |
| 184 | + <textField isBlankWhenNull="true"> | |
| 185 | + <reportElement uuid="d98a7f55-d02d-4f8e-b839-475d1f68d893" x="75" y="43" width="228" height="13"/> | |
| 186 | + <textElement> | |
| 187 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 188 | + </textElement> | |
| 189 | + <textFieldExpression><![CDATA["Bairro:" +$F{bairro}]]></textFieldExpression> | |
| 190 | + </textField> | |
| 191 | + <textField isBlankWhenNull="true"> | |
| 192 | + <reportElement uuid="c13381d9-31ae-4ae8-8a33-32510373b74d" x="75" y="55" width="201" height="13"/> | |
| 193 | + <textElement> | |
| 194 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 195 | + </textElement> | |
| 196 | + <textFieldExpression><![CDATA["Telefone: ("+$F{fone_ddd}+") "+$F{fone}]]></textFieldExpression> | |
| 197 | + </textField> | |
| 198 | + <textField> | |
| 199 | + <reportElement uuid="8da7af30-27b7-4349-8ba5-7d3e84108b0e" x="67" y="116" width="383" height="13"/> | |
| 200 | + <textElement> | |
| 201 | + <font fontName="DejaVu Sans" size="8"/> | |
| 202 | + </textElement> | |
| 203 | + <textFieldExpression><![CDATA[$F{nm_biblioteca}]]></textFieldExpression> | |
| 204 | + </textField> | |
| 205 | + <staticText> | |
| 206 | + <reportElement uuid="9c36fbc4-ac0d-4a9a-9196-28797e2dc5f6" x="189" y="86" width="138" height="14"/> | |
| 207 | + <textElement textAlignment="Center"> | |
| 208 | + <font fontName="DejaVu Sans" size="12" isBold="true"/> | |
| 209 | + </textElement> | |
| 210 | + <text><![CDATA[Autores]]></text> | |
| 211 | + </staticText> | |
| 212 | + <image> | |
| 213 | + <reportElement uuid="92a8bbdb-0896-4749-a08c-1653a5a9c2e3" x="10" y="3" width="57" height="46"/> | |
| 214 | + <imageExpression><![CDATA[$P{logo}]]></imageExpression> | |
| 215 | + </image> | |
| 216 | + </band> | |
| 217 | + </pageHeader> | |
| 218 | + <columnHeader> | |
| 219 | + <band height="18" splitType="Stretch"> | |
| 220 | + <staticText> | |
| 221 | + <reportElement uuid="c41b4b27-6e74-4418-8f84-60491741ae8a" x="279" y="1" width="100" height="13"/> | |
| 222 | + <textElement> | |
| 223 | + <font fontName="DejaVu Sans" size="8"/> | |
| 224 | + </textElement> | |
| 225 | + <text><![CDATA[Descrição]]></text> | |
| 226 | + </staticText> | |
| 227 | + <staticText> | |
| 228 | + <reportElement uuid="78437f30-d99b-472b-8bad-9e5c5e9bcdec" x="25" y="1" width="35" height="13"/> | |
| 229 | + <textElement> | |
| 230 | + <font fontName="DejaVu Sans" size="8"/> | |
| 231 | + </textElement> | |
| 232 | + <text><![CDATA[Código]]></text> | |
| 233 | + </staticText> | |
| 234 | + <staticText> | |
| 235 | + <reportElement uuid="c69233c2-5092-4152-85d6-72aeae300c67" x="67" y="1" width="100" height="13"/> | |
| 236 | + <textElement> | |
| 237 | + <font fontName="DejaVu Sans" size="8"/> | |
| 238 | + </textElement> | |
| 239 | + <text><![CDATA[Autor]]></text> | |
| 240 | + </staticText> | |
| 241 | + <line> | |
| 242 | + <reportElement uuid="000518be-eb1d-48ed-a65f-0e9c625a4ca9" x="7" y="15" width="544" height="1"/> | |
| 243 | + <graphicElement> | |
| 244 | + <pen lineWidth="0.25"/> | |
| 245 | + </graphicElement> | |
| 246 | + </line> | |
| 247 | + <staticText> | |
| 248 | + <reportElement uuid="78437f30-d99b-472b-8bad-9e5c5e9bcdec" x="12" y="-15" width="48" height="13"/> | |
| 249 | + <textElement> | |
| 250 | + <font fontName="DejaVu Sans" size="8"/> | |
| 251 | + </textElement> | |
| 252 | + <text><![CDATA[Biblioteca:]]></text> | |
| 253 | + </staticText> | |
| 254 | + </band> | |
| 255 | + </columnHeader> | |
| 256 | + <detail> | |
| 257 | + <band height="15" splitType="Stretch"> | |
| 258 | + <textField isBlankWhenNull="true"> | |
| 259 | + <reportElement uuid="4f4b607f-d81e-4cf5-9b0e-77a7b46a7cd5" x="279" y="1" width="259" height="13"/> | |
| 260 | + <textElement> | |
| 261 | + <font fontName="DejaVu Sans" size="8"/> | |
| 262 | + </textElement> | |
| 263 | + <textFieldExpression><![CDATA[$F{descricao}]]></textFieldExpression> | |
| 264 | + </textField> | |
| 265 | + <textField> | |
| 266 | + <reportElement uuid="27bfe41c-f4c7-4ec0-873d-a695ac5edf1d" x="25" y="1" width="35" height="13"/> | |
| 267 | + <textElement> | |
| 268 | + <font fontName="DejaVu Sans" size="8"/> | |
| 269 | + </textElement> | |
| 270 | + <textFieldExpression><![CDATA[$F{cod_acervo_autor}]]></textFieldExpression> | |
| 271 | + </textField> | |
| 272 | + <textField isBlankWhenNull="true"> | |
| 273 | + <reportElement uuid="95e7c80c-18d0-4024-ad0f-d615c8e10052" x="67" y="1" width="209" height="13"/> | |
| 274 | + <textElement> | |
| 275 | + <font fontName="DejaVu Sans" size="8"/> | |
| 276 | + </textElement> | |
| 277 | + <textFieldExpression><![CDATA[$F{nm_autor}]]></textFieldExpression> | |
| 278 | + </textField> | |
| 279 | + </band> | |
| 280 | + </detail> | |
| 281 | + <columnFooter> | |
| 282 | + <band height="2" splitType="Stretch"/> | |
| 283 | + </columnFooter> | |
| 284 | + <pageFooter> | |
| 285 | + <band height="20" splitType="Stretch"> | |
| 286 | + <line> | |
| 287 | + <reportElement uuid="43a64607-e174-47c0-93a7-e319ab53ae62" x="7" y="2" width="544" height="1"/> | |
| 288 | + <graphicElement> | |
| 289 | + <pen lineWidth="0.25"/> | |
| 290 | + </graphicElement> | |
| 291 | + </line> | |
| 292 | + </band> | |
| 293 | + </pageFooter> | |
| 294 | + <summary> | |
| 295 | + <band height="3" splitType="Stretch"/> | |
| 296 | + </summary> | |
| 297 | +</jasperReport> | ... | ... |
ieducar/modules/Reports/ReportSources/portabilis_biblioteca_editora.jrxml
0 → 100644
| ... | ... | @@ -0,0 +1,402 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="portabilis_biblioteca_editora" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="d24d1df3-faa9-4a6d-acea-dc347ac8b7c4"> | |
| 3 | + <property name="ireport.zoom" value="1.2100000000000013"/> | |
| 4 | + <property name="ireport.x" value="0"/> | |
| 5 | + <property name="ireport.y" value="0"/> | |
| 6 | + <parameter name="instituicao" class="java.lang.Integer"> | |
| 7 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 8 | + </parameter> | |
| 9 | + <parameter name="escola" class="java.lang.Integer"> | |
| 10 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 11 | + </parameter> | |
| 12 | + <parameter name="logo" class="java.lang.String"/> | |
| 13 | + <queryString> | |
| 14 | + <![CDATA[SELECT public.fcn_upper(instituicao.nm_instituicao) as nm_instituicao, | |
| 15 | + acervo_editora.cod_acervo_editora, | |
| 16 | + acervo_editora.ref_idtlog, | |
| 17 | + acervo_editora.ref_sigla_uf, | |
| 18 | + translate(public.fcn_upper(acervo_editora.nm_editora),'åáàãâäéèêëíìîïóòõôöúùüûçÿýñÅÁÀÃÂÄÉÈÊËÍÌÎÏÓÒÕÔÖÚÙÛÜÇÝÑ', 'aaaaaaeeeeiiiiooooouuuucyynAAAAAAEEEEIIIIOOOOOUUUUCYN') as nm_editora, | |
| 19 | + acervo_editora.cep, | |
| 20 | + acervo_editora.cidade, | |
| 21 | + acervo_editora.bairro, | |
| 22 | + acervo_editora.logradouro, | |
| 23 | + acervo_editora.numero, | |
| 24 | + acervo_editora.telefone, | |
| 25 | + acervo_editora.ddd_telefone, | |
| 26 | + acervo_editora.ref_cod_biblioteca, | |
| 27 | + | |
| 28 | + (SELECT biblioteca.nm_biblioteca | |
| 29 | + FROM pmieducar.biblioteca | |
| 30 | + WHERE acervo_editora.ref_cod_biblioteca = biblioteca.cod_biblioteca) as nm_biblioteca, | |
| 31 | + | |
| 32 | + (SELECT COALESCE((SELECT COALESCE (fcn_upper(ps.nome),fcn_upper(juridica.fantasia)) | |
| 33 | + FROM cadastro.pessoa ps, | |
| 34 | + cadastro.juridica | |
| 35 | + WHERE escola.ref_idpes = juridica.idpes AND | |
| 36 | + juridica.idpes = ps.idpes AND | |
| 37 | + ps.idpes = escola.ref_idpes),(SELECT nm_escola | |
| 38 | + FROM pmieducar.escola_complemento | |
| 39 | + WHERE ref_cod_escola = escola.cod_escola))) AS nm_escola, | |
| 40 | + | |
| 41 | + (SELECT COALESCE((SELECT COALESCE((SELECT logradouro.nome | |
| 42 | + FROM public.logradouro, | |
| 43 | + cadastro.juridica, | |
| 44 | + cadastro.pessoa ps, | |
| 45 | + cadastro.endereco_pessoa | |
| 46 | + WHERE juridica.idpes = ps.idpes AND | |
| 47 | + ps.idpes = endereco_pessoa.idpes AND | |
| 48 | + endereco_pessoa.idlog = logradouro.idlog AND | |
| 49 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.logradouro | |
| 50 | + FROM cadastro.endereco_externo | |
| 51 | + WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT logradouro FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS logradouro, | |
| 52 | + | |
| 53 | + (SELECT COALESCE((SELECT COALESCE((SELECT bairro.nome | |
| 54 | + FROM public.municipio, | |
| 55 | + cadastro.endereco_pessoa, | |
| 56 | + cadastro.juridica, | |
| 57 | + public.bairro | |
| 58 | + WHERE endereco_pessoa.idbai = bairro.idbai AND | |
| 59 | + bairro.idmun = municipio.idmun AND | |
| 60 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 61 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.bairro FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT bairro FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS bairro, | |
| 62 | + | |
| 63 | + (SELECT COALESCE((SELECT COALESCE ((SELECT municipio.nome | |
| 64 | + FROM public.municipio, | |
| 65 | + cadastro.endereco_pessoa, | |
| 66 | + cadastro.juridica, | |
| 67 | + public.bairro | |
| 68 | + WHERE endereco_pessoa.idbai = bairro.idbai AND | |
| 69 | + bairro.idmun = municipio.idmun AND | |
| 70 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 71 | + juridica.idpes = escola.ref_idpes), (SELECT endereco_externo.cidade FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT municipio FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS municipio, | |
| 72 | + | |
| 73 | + (SELECT COALESCE((SELECT COALESCE((SELECT endereco_pessoa.numero | |
| 74 | + FROM cadastro.endereco_pessoa, | |
| 75 | + cadastro.juridica | |
| 76 | + WHERE juridica.idpes = endereco_pessoa.idpes AND | |
| 77 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.numero FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT numero FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS numero, | |
| 78 | + | |
| 79 | + | |
| 80 | + (SELECT COALESCE((SELECT COALESCE((SELECT municipio.sigla_uf | |
| 81 | + FROM public.municipio, | |
| 82 | + cadastro.endereco_pessoa, | |
| 83 | + cadastro.juridica, | |
| 84 | + public.bairro | |
| 85 | + WHERE endereco_pessoa.idbai = bairro.idbai AND | |
| 86 | + bairro.idmun = municipio.idmun AND | |
| 87 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 88 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.sigla_uf FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(select inst.ref_sigla_uf from pmieducar.instituicao inst where inst.cod_instituicao = instituicao.cod_instituicao))) AS uf_municipio, | |
| 89 | + | |
| 90 | + (SELECT COALESCE((SELECT min(to_char(fone_pessoa.ddd,'99')) | |
| 91 | + FROM cadastro.fone_pessoa, | |
| 92 | + cadastro.juridica | |
| 93 | + WHERE juridica.idpes = fone_pessoa.idpes AND | |
| 94 | + juridica.idpes = escola.ref_idpes),COALESCE((SELECT min(to_char(ddd_telefone,'99')) FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola),''))) AS fone_ddd, | |
| 95 | + | |
| 96 | + (SELECT COALESCE((SELECT COALESCE((SELECT to_char(endereco_pessoa.cep, '99999-999') | |
| 97 | + FROM cadastro.endereco_pessoa, | |
| 98 | + cadastro.juridica | |
| 99 | + WHERE juridica.idpes = endereco_pessoa.idpes AND | |
| 100 | + juridica.idpes = escola.ref_idpes),(SELECT to_char(endereco_externo.cep,'99999-999') FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT to_char(escola_complemento.cep,'99999-999') FROM pmieducar.escola_complemento where escola_complemento.ref_cod_escola = escola.cod_escola))) AS cep, | |
| 101 | + | |
| 102 | + | |
| 103 | + (SELECT COALESCE((SELECT min(to_char(fone_pessoa.fone, '9999-9999')) | |
| 104 | + FROM cadastro.fone_pessoa, | |
| 105 | + cadastro.juridica | |
| 106 | + WHERE juridica.idpes = fone_pessoa.idpes AND | |
| 107 | + juridica.idpes = escola.ref_idpes),COALESCE((SELECT min(to_char(telefone, '9999-9999')) FROM pmieducar.escola_complemento where escola_complemento.ref_cod_escola = escola.cod_escola),''))) AS fone, | |
| 108 | + | |
| 109 | + (SELECT COALESCE((SELECT ps.email | |
| 110 | + FROM cadastro.pessoa ps, | |
| 111 | + cadastro.juridica | |
| 112 | + WHERE juridica.idpes = ps.idpes AND | |
| 113 | + juridica.idpes = escola.ref_idpes),(SELECT email FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS email | |
| 114 | + | |
| 115 | + | |
| 116 | + FROM pmieducar.acervo_editora, | |
| 117 | + pmieducar.biblioteca, | |
| 118 | + pmieducar.instituicao, | |
| 119 | + pmieducar.escola | |
| 120 | + WHERE instituicao.cod_instituicao = $P{instituicao} AND | |
| 121 | + instituicao.cod_instituicao = biblioteca.ref_cod_instituicao AND | |
| 122 | + acervo_editora.ref_cod_biblioteca = biblioteca.cod_biblioteca AND | |
| 123 | + escola.cod_escola = $P{escola} AND | |
| 124 | + biblioteca.ref_cod_escola = escola.cod_escola AND | |
| 125 | + acervo_editora.ativo = 1 | |
| 126 | +ORDER BY nm_editora]]> | |
| 127 | + </queryString> | |
| 128 | + <field name="nm_instituicao" class="java.lang.String"/> | |
| 129 | + <field name="cod_acervo_editora" class="java.lang.Integer"/> | |
| 130 | + <field name="ref_idtlog" class="java.lang.String"/> | |
| 131 | + <field name="ref_sigla_uf" class="java.lang.String"/> | |
| 132 | + <field name="nm_editora" class="java.lang.String"/> | |
| 133 | + <field name="cep" class="java.math.BigDecimal"/> | |
| 134 | + <field name="cidade" class="java.lang.String"/> | |
| 135 | + <field name="bairro" class="java.lang.String"/> | |
| 136 | + <field name="logradouro" class="java.lang.String"/> | |
| 137 | + <field name="numero" class="java.math.BigDecimal"/> | |
| 138 | + <field name="telefone" class="java.lang.Integer"/> | |
| 139 | + <field name="ddd_telefone" class="java.math.BigDecimal"/> | |
| 140 | + <field name="ref_cod_biblioteca" class="java.lang.Integer"/> | |
| 141 | + <field name="nm_biblioteca" class="java.lang.String"/> | |
| 142 | + <field name="nm_escola" class="java.lang.String"/> | |
| 143 | + <field name="municipio" class="java.lang.String"/> | |
| 144 | + <field name="uf_municipio" class="java.lang.String"/> | |
| 145 | + <field name="fone_ddd" class="java.lang.String"/> | |
| 146 | + <field name="fone" class="java.lang.String"/> | |
| 147 | + <field name="email" class="java.lang.String"/> | |
| 148 | + <background> | |
| 149 | + <band splitType="Stretch"/> | |
| 150 | + </background> | |
| 151 | + <title> | |
| 152 | + <band height="5" splitType="Stretch"/> | |
| 153 | + </title> | |
| 154 | + <pageHeader> | |
| 155 | + <band height="130" splitType="Stretch"> | |
| 156 | + <textField isBlankWhenNull="true"> | |
| 157 | + <reportElement uuid="43927fec-666a-40e5-bbc4-e8391cabb61c" x="75" y="33" width="307" height="13"/> | |
| 158 | + <textElement> | |
| 159 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 160 | + </textElement> | |
| 161 | + <textFieldExpression><![CDATA["Endereço: "+$F{logradouro}+", "+$F{numero}]]></textFieldExpression> | |
| 162 | + </textField> | |
| 163 | + <textField> | |
| 164 | + <reportElement uuid="06394b65-3eb5-4825-9c02-89080eb33e89" x="75" y="5" width="307" height="13"/> | |
| 165 | + <textElement> | |
| 166 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 167 | + </textElement> | |
| 168 | + <textFieldExpression><![CDATA[$F{nm_instituicao}]]></textFieldExpression> | |
| 169 | + </textField> | |
| 170 | + <textField isBlankWhenNull="true"> | |
| 171 | + <reportElement uuid="487e51f2-b49c-4cce-9f5e-0e1a53f34c16" x="305" y="57" width="233" height="13" forecolor="#000000"/> | |
| 172 | + <textElement> | |
| 173 | + <font fontName="DejaVu Sans" size="8" isBold="true" isItalic="false"/> | |
| 174 | + </textElement> | |
| 175 | + <textFieldExpression><![CDATA["E-mail: "+$F{email}]]></textFieldExpression> | |
| 176 | + </textField> | |
| 177 | + <textField isBlankWhenNull="true"> | |
| 178 | + <reportElement uuid="5baa6dcf-91c4-4d60-b1d2-0ee5aecea1eb" x="305" y="45" width="141" height="13"/> | |
| 179 | + <textElement> | |
| 180 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 181 | + </textElement> | |
| 182 | + <textFieldExpression><![CDATA[$F{municipio}+" - "+$F{uf_municipio}]]></textFieldExpression> | |
| 183 | + </textField> | |
| 184 | + <textField isBlankWhenNull="true"> | |
| 185 | + <reportElement uuid="05bd3544-3540-45ef-a529-78e851c40d85" x="449" y="45" width="77" height="13"/> | |
| 186 | + <textElement> | |
| 187 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 188 | + </textElement> | |
| 189 | + <textFieldExpression><![CDATA["CEP: "+$F{cep}]]></textFieldExpression> | |
| 190 | + </textField> | |
| 191 | + <textField isBlankWhenNull="true"> | |
| 192 | + <reportElement uuid="e0a8d36e-f81b-42b3-9dba-f0cc12849eca" x="75" y="19" width="307" height="13"/> | |
| 193 | + <textElement> | |
| 194 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 195 | + </textElement> | |
| 196 | + <textFieldExpression><![CDATA[$F{nm_escola}]]></textFieldExpression> | |
| 197 | + </textField> | |
| 198 | + <textField isBlankWhenNull="true"> | |
| 199 | + <reportElement uuid="2632171a-f218-4e3d-96b3-fc4698c1bdb3" x="75" y="45" width="228" height="13"/> | |
| 200 | + <textElement> | |
| 201 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 202 | + </textElement> | |
| 203 | + <textFieldExpression><![CDATA["Bairro:" +$F{bairro}]]></textFieldExpression> | |
| 204 | + </textField> | |
| 205 | + <textField isBlankWhenNull="true"> | |
| 206 | + <reportElement uuid="70527138-7fa7-467b-a3ab-98a8542f29b8" x="75" y="57" width="201" height="13"/> | |
| 207 | + <textElement> | |
| 208 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 209 | + </textElement> | |
| 210 | + <textFieldExpression><![CDATA["Telefone: ("+$F{fone_ddd}+") "+$F{fone}]]></textFieldExpression> | |
| 211 | + </textField> | |
| 212 | + <textField> | |
| 213 | + <reportElement uuid="c82150e6-8a63-4c93-8985-d01d6f470792" x="67" y="114" width="244" height="13"/> | |
| 214 | + <textElement> | |
| 215 | + <font fontName="DejaVu Sans" size="8"/> | |
| 216 | + </textElement> | |
| 217 | + <textFieldExpression><![CDATA[$F{nm_biblioteca}]]></textFieldExpression> | |
| 218 | + </textField> | |
| 219 | + <image> | |
| 220 | + <reportElement uuid="3c1d2a13-f82b-48b1-988b-7730a5949c95" x="10" y="5" width="57" height="46"/> | |
| 221 | + <imageExpression><![CDATA[$P{logo}]]></imageExpression> | |
| 222 | + </image> | |
| 223 | + <staticText> | |
| 224 | + <reportElement uuid="5de79b62-7162-4013-a4ae-d6c9addb6fda" x="195" y="86" width="138" height="14"/> | |
| 225 | + <textElement textAlignment="Center"> | |
| 226 | + <font fontName="DejaVu Sans" size="12" isBold="true"/> | |
| 227 | + </textElement> | |
| 228 | + <text><![CDATA[Editoras]]></text> | |
| 229 | + </staticText> | |
| 230 | + </band> | |
| 231 | + </pageHeader> | |
| 232 | + <columnHeader> | |
| 233 | + <band height="18" splitType="Stretch"> | |
| 234 | + <staticText> | |
| 235 | + <reportElement uuid="72affd44-5a8b-4ff3-8c38-c9e62f2fceda" x="25" y="1" width="35" height="13"/> | |
| 236 | + <textElement> | |
| 237 | + <font fontName="DejaVu Sans" size="8"/> | |
| 238 | + </textElement> | |
| 239 | + <text><![CDATA[Código]]></text> | |
| 240 | + </staticText> | |
| 241 | + <staticText> | |
| 242 | + <reportElement uuid="ff76c2df-6a43-4890-a444-776be7987009" x="67" y="1" width="100" height="13"/> | |
| 243 | + <textElement> | |
| 244 | + <font fontName="DejaVu Sans" size="8"/> | |
| 245 | + </textElement> | |
| 246 | + <text><![CDATA[Editora]]></text> | |
| 247 | + </staticText> | |
| 248 | + <line> | |
| 249 | + <reportElement uuid="d5144faf-e248-408d-a650-55c733586e74" x="7" y="15" width="544" height="1"/> | |
| 250 | + <graphicElement> | |
| 251 | + <pen lineWidth="0.25"/> | |
| 252 | + </graphicElement> | |
| 253 | + </line> | |
| 254 | + <staticText> | |
| 255 | + <reportElement uuid="1f8cf918-7e18-4ace-932e-42fce58dba79" x="268" y="1" width="37" height="13"/> | |
| 256 | + <textElement> | |
| 257 | + <font fontName="DejaVu Sans" size="8"/> | |
| 258 | + </textElement> | |
| 259 | + <text><![CDATA[Cidade]]></text> | |
| 260 | + </staticText> | |
| 261 | + <staticText> | |
| 262 | + <reportElement uuid="e93e676b-003d-4e89-8cdf-6960246e1bb4" x="437" y="1" width="19" height="13"/> | |
| 263 | + <textElement> | |
| 264 | + <font fontName="DejaVu Sans" size="8"/> | |
| 265 | + </textElement> | |
| 266 | + <text><![CDATA[UF]]></text> | |
| 267 | + </staticText> | |
| 268 | + <staticText> | |
| 269 | + <reportElement uuid="f43ca653-57eb-4361-8365-b0535e5fe509" x="483" y="1" width="36" height="13"/> | |
| 270 | + <textElement> | |
| 271 | + <font fontName="DejaVu Sans" size="8"/> | |
| 272 | + </textElement> | |
| 273 | + <text><![CDATA[Telefone]]></text> | |
| 274 | + </staticText> | |
| 275 | + <staticText> | |
| 276 | + <reportElement uuid="72affd44-5a8b-4ff3-8c38-c9e62f2fceda" x="11" y="-16" width="49" height="13"/> | |
| 277 | + <textElement> | |
| 278 | + <font fontName="DejaVu Sans" size="8"/> | |
| 279 | + </textElement> | |
| 280 | + <text><![CDATA[Biblioteca:]]></text> | |
| 281 | + </staticText> | |
| 282 | + </band> | |
| 283 | + </columnHeader> | |
| 284 | + <detail> | |
| 285 | + <band height="35" splitType="Stretch"> | |
| 286 | + <textField> | |
| 287 | + <reportElement uuid="438e6956-ab78-4eb4-928e-f44a138fbf0c" x="25" y="1" width="35" height="13"/> | |
| 288 | + <textElement> | |
| 289 | + <font fontName="DejaVu Sans" size="8"/> | |
| 290 | + </textElement> | |
| 291 | + <textFieldExpression><![CDATA[$F{cod_acervo_editora}]]></textFieldExpression> | |
| 292 | + </textField> | |
| 293 | + <textField isBlankWhenNull="true"> | |
| 294 | + <reportElement uuid="9337503f-d950-4a6d-93ef-95877f99a7f5" x="67" y="1" width="191" height="13"/> | |
| 295 | + <textElement> | |
| 296 | + <font fontName="DejaVu Sans" size="8"/> | |
| 297 | + </textElement> | |
| 298 | + <textFieldExpression><![CDATA[$F{nm_editora}]]></textFieldExpression> | |
| 299 | + </textField> | |
| 300 | + <textField isBlankWhenNull="true"> | |
| 301 | + <reportElement uuid="9b8ada35-9232-4f54-aeef-9feb3b78de7e" x="268" y="1" width="166" height="13"/> | |
| 302 | + <textElement> | |
| 303 | + <font fontName="DejaVu Sans" size="8"/> | |
| 304 | + </textElement> | |
| 305 | + <textFieldExpression><![CDATA[$F{cidade}]]></textFieldExpression> | |
| 306 | + </textField> | |
| 307 | + <textField isBlankWhenNull="true"> | |
| 308 | + <reportElement uuid="e7f199fe-2c26-4104-98e8-15b10b027a5e" x="437" y="1" width="19" height="13"/> | |
| 309 | + <textElement> | |
| 310 | + <font fontName="DejaVu Sans" size="8"/> | |
| 311 | + </textElement> | |
| 312 | + <textFieldExpression><![CDATA[$F{ref_sigla_uf}]]></textFieldExpression> | |
| 313 | + </textField> | |
| 314 | + <staticText> | |
| 315 | + <reportElement uuid="3391ea0f-ca80-46c5-8328-ea54f63805a7" x="67" y="15" width="52" height="13"/> | |
| 316 | + <textElement> | |
| 317 | + <font fontName="DejaVu Sans" size="8"/> | |
| 318 | + </textElement> | |
| 319 | + <text><![CDATA[Logradouro:]]></text> | |
| 320 | + </staticText> | |
| 321 | + <textField isBlankWhenNull="true"> | |
| 322 | + <reportElement uuid="94c1bab3-1df3-41d5-91c3-ae84840ff65d" x="120" y="15" width="138" height="13"/> | |
| 323 | + <textElement> | |
| 324 | + <font fontName="DejaVu Sans" size="8"/> | |
| 325 | + </textElement> | |
| 326 | + <textFieldExpression><![CDATA[$F{logradouro}]]></textFieldExpression> | |
| 327 | + </textField> | |
| 328 | + <staticText> | |
| 329 | + <reportElement uuid="463597d3-059a-4091-83a7-46d7e509af83" x="268" y="15" width="19" height="13"/> | |
| 330 | + <textElement> | |
| 331 | + <font fontName="DejaVu Sans" size="8"/> | |
| 332 | + </textElement> | |
| 333 | + <text><![CDATA[Nº]]></text> | |
| 334 | + </staticText> | |
| 335 | + <textField isBlankWhenNull="true"> | |
| 336 | + <reportElement uuid="77c11405-63e2-4152-b14b-bfdc02d8b88f" x="287" y="15" width="29" height="13"/> | |
| 337 | + <textElement> | |
| 338 | + <font fontName="DejaVu Sans" size="8"/> | |
| 339 | + </textElement> | |
| 340 | + <textFieldExpression><![CDATA[$F{numero}]]></textFieldExpression> | |
| 341 | + </textField> | |
| 342 | + <staticText> | |
| 343 | + <reportElement uuid="caffd832-99ee-48b6-8b4f-dc287a84cb6a" x="318" y="15" width="29" height="13"/> | |
| 344 | + <textElement> | |
| 345 | + <font fontName="DejaVu Sans" size="8"/> | |
| 346 | + </textElement> | |
| 347 | + <text><![CDATA[Bairro:]]></text> | |
| 348 | + </staticText> | |
| 349 | + <textField isBlankWhenNull="true"> | |
| 350 | + <reportElement uuid="ce916ca0-1729-40c7-9a21-fdce74ab183e" x="348" y="15" width="189" height="13"/> | |
| 351 | + <textElement> | |
| 352 | + <font fontName="DejaVu Sans" size="8"/> | |
| 353 | + </textElement> | |
| 354 | + <textFieldExpression><![CDATA[$F{bairro}]]></textFieldExpression> | |
| 355 | + </textField> | |
| 356 | + <textField isBlankWhenNull="true"> | |
| 357 | + <reportElement uuid="e7f199fe-2c26-4104-98e8-15b10b027a5e" x="478" y="1" width="19" height="13"/> | |
| 358 | + <textElement textAlignment="Center"> | |
| 359 | + <font fontName="DejaVu Sans" size="8"/> | |
| 360 | + </textElement> | |
| 361 | + <textFieldExpression><![CDATA[$F{ddd_telefone}]]></textFieldExpression> | |
| 362 | + </textField> | |
| 363 | + <staticText> | |
| 364 | + <reportElement uuid="1f8cf918-7e18-4ace-932e-42fce58dba79" x="473" y="1" width="5" height="13"/> | |
| 365 | + <textElement> | |
| 366 | + <font fontName="DejaVu Sans" size="8"/> | |
| 367 | + </textElement> | |
| 368 | + <text><![CDATA[(]]></text> | |
| 369 | + </staticText> | |
| 370 | + <staticText> | |
| 371 | + <reportElement uuid="1f8cf918-7e18-4ace-932e-42fce58dba79" x="497" y="1" width="5" height="13"/> | |
| 372 | + <textElement> | |
| 373 | + <font fontName="DejaVu Sans" size="8"/> | |
| 374 | + </textElement> | |
| 375 | + <text><![CDATA[)]]></text> | |
| 376 | + </staticText> | |
| 377 | + <textField isBlankWhenNull="true"> | |
| 378 | + <reportElement uuid="e7f199fe-2c26-4104-98e8-15b10b027a5e" x="503" y="1" width="47" height="13"/> | |
| 379 | + <textElement> | |
| 380 | + <font fontName="DejaVu Sans" size="8"/> | |
| 381 | + </textElement> | |
| 382 | + <textFieldExpression><![CDATA[$F{telefone}]]></textFieldExpression> | |
| 383 | + </textField> | |
| 384 | + </band> | |
| 385 | + </detail> | |
| 386 | + <columnFooter> | |
| 387 | + <band height="2" splitType="Stretch"/> | |
| 388 | + </columnFooter> | |
| 389 | + <pageFooter> | |
| 390 | + <band height="20" splitType="Stretch"> | |
| 391 | + <line> | |
| 392 | + <reportElement uuid="ea08e92a-1824-4648-80eb-0cc130f28bfc" x="7" y="2" width="544" height="1"/> | |
| 393 | + <graphicElement> | |
| 394 | + <pen lineWidth="0.25"/> | |
| 395 | + </graphicElement> | |
| 396 | + </line> | |
| 397 | + </band> | |
| 398 | + </pageFooter> | |
| 399 | + <summary> | |
| 400 | + <band height="3" splitType="Stretch"/> | |
| 401 | + </summary> | |
| 402 | +</jasperReport> | ... | ... |
ieducar/modules/Reports/ReportSources/portabilis_biblioteca_obra.jrxml
0 → 100644
| ... | ... | @@ -0,0 +1,541 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="portabilis_biblioteca_obra" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="42a736ab-937c-4f66-9b1b-2375e49a22ec"> | |
| 3 | + <property name="ireport.zoom" value="1.2100000000000013"/> | |
| 4 | + <property name="ireport.x" value="0"/> | |
| 5 | + <property name="ireport.y" value="0"/> | |
| 6 | + <parameter name="instituicao" class="java.lang.Integer"> | |
| 7 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 8 | + </parameter> | |
| 9 | + <parameter name="escola" class="java.lang.Integer"> | |
| 10 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 11 | + </parameter> | |
| 12 | + <parameter name="logo" class="java.lang.String"/> | |
| 13 | + <queryString> | |
| 14 | + <![CDATA[SELECT public.fcn_upper(instituicao.nm_instituicao) as nm_instituicao, | |
| 15 | + acervo.cod_acervo, | |
| 16 | + (select exemplar_tipo.nm_tipo | |
| 17 | + from pmieducar.exemplar_tipo | |
| 18 | + where exemplar_tipo.cod_exemplar_tipo = acervo.ref_cod_exemplar_tipo) as nm_tipo_exemplar, | |
| 19 | + | |
| 20 | + (select acervo_colecao.nm_colecao | |
| 21 | + from pmieducar.acervo_colecao | |
| 22 | + where acervo_colecao.cod_acervo_colecao = acervo.ref_cod_acervo_colecao) as nm_colecao, | |
| 23 | + | |
| 24 | + (select acervo_idioma.nm_idioma | |
| 25 | + from pmieducar.acervo_idioma | |
| 26 | + where acervo_idioma.cod_acervo_idioma = acervo.ref_cod_acervo_idioma) as nm_idioma, | |
| 27 | + | |
| 28 | + (select acervo_editora.nm_editora | |
| 29 | + from pmieducar.acervo_editora | |
| 30 | + where acervo_editora.cod_acervo_editora = acervo.ref_cod_acervo_editora) as nm_editora, | |
| 31 | + | |
| 32 | + acervo.titulo, | |
| 33 | + acervo.estante, | |
| 34 | + acervo.cdd, | |
| 35 | + acervo.sub_titulo, | |
| 36 | + acervo.cdu, | |
| 37 | + acervo.cutter, | |
| 38 | + acervo.volume, | |
| 39 | + acervo.num_edicao, | |
| 40 | + acervo.ano, | |
| 41 | + acervo.num_paginas, | |
| 42 | + acervo.ref_cod_biblioteca, | |
| 43 | + acervo.isbn, | |
| 44 | + | |
| 45 | + (SELECT biblioteca.nm_biblioteca | |
| 46 | + FROM pmieducar.biblioteca | |
| 47 | + WHERE acervo.ref_cod_biblioteca = biblioteca.cod_biblioteca) as nm_biblioteca, | |
| 48 | + | |
| 49 | + (SELECT COALESCE((SELECT COALESCE (fcn_upper(ps.nome),fcn_upper(juridica.fantasia)) | |
| 50 | + FROM cadastro.pessoa ps, | |
| 51 | + cadastro.juridica | |
| 52 | + WHERE escola.ref_idpes = juridica.idpes AND | |
| 53 | + juridica.idpes = ps.idpes AND | |
| 54 | + ps.idpes = escola.ref_idpes),(SELECT nm_escola | |
| 55 | + FROM pmieducar.escola_complemento | |
| 56 | + WHERE ref_cod_escola = escola.cod_escola))) AS nm_escola, | |
| 57 | + | |
| 58 | + (SELECT COALESCE((SELECT COALESCE((SELECT logradouro.nome | |
| 59 | + FROM public.logradouro, | |
| 60 | + cadastro.juridica, | |
| 61 | + cadastro.pessoa ps, | |
| 62 | + cadastro.endereco_pessoa | |
| 63 | + WHERE juridica.idpes = ps.idpes AND | |
| 64 | + ps.idpes = endereco_pessoa.idpes AND | |
| 65 | + endereco_pessoa.idlog = logradouro.idlog AND | |
| 66 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.logradouro | |
| 67 | + FROM cadastro.endereco_externo | |
| 68 | + WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT logradouro FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS logradouro, | |
| 69 | + | |
| 70 | + (SELECT COALESCE((SELECT COALESCE((SELECT bairro.nome | |
| 71 | + FROM public.municipio, | |
| 72 | + cadastro.endereco_pessoa, | |
| 73 | + cadastro.juridica, | |
| 74 | + public.bairro | |
| 75 | + WHERE endereco_pessoa.idbai = bairro.idbai AND | |
| 76 | + bairro.idmun = municipio.idmun AND | |
| 77 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 78 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.bairro FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT bairro FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS bairro, | |
| 79 | + | |
| 80 | + (SELECT COALESCE((SELECT COALESCE ((SELECT municipio.nome | |
| 81 | + FROM public.municipio, | |
| 82 | + cadastro.endereco_pessoa, | |
| 83 | + cadastro.juridica, | |
| 84 | + public.bairro | |
| 85 | + WHERE endereco_pessoa.idbai = bairro.idbai AND | |
| 86 | + bairro.idmun = municipio.idmun AND | |
| 87 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 88 | + juridica.idpes = escola.ref_idpes), (SELECT endereco_externo.cidade FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT municipio FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS municipio, | |
| 89 | + | |
| 90 | + (SELECT COALESCE((SELECT COALESCE((SELECT endereco_pessoa.numero | |
| 91 | + FROM cadastro.endereco_pessoa, | |
| 92 | + cadastro.juridica | |
| 93 | + WHERE juridica.idpes = endereco_pessoa.idpes AND | |
| 94 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.numero FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT numero FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS numero, | |
| 95 | + | |
| 96 | + | |
| 97 | + (SELECT COALESCE((SELECT COALESCE((SELECT municipio.sigla_uf | |
| 98 | + FROM public.municipio, | |
| 99 | + cadastro.endereco_pessoa, | |
| 100 | + cadastro.juridica, | |
| 101 | + public.bairro | |
| 102 | + WHERE endereco_pessoa.idbai = bairro.idbai AND | |
| 103 | + bairro.idmun = municipio.idmun AND | |
| 104 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 105 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.sigla_uf FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(select inst.ref_sigla_uf from pmieducar.instituicao inst where inst.cod_instituicao = instituicao.cod_instituicao))) AS uf_municipio, | |
| 106 | + | |
| 107 | + (SELECT COALESCE((SELECT min(to_char(fone_pessoa.ddd,'99')) | |
| 108 | + FROM cadastro.fone_pessoa, | |
| 109 | + cadastro.juridica | |
| 110 | + WHERE juridica.idpes = fone_pessoa.idpes AND | |
| 111 | + juridica.idpes = escola.ref_idpes),COALESCE((SELECT min(to_char(ddd_telefone,'99')) FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola),''))) AS fone_ddd, | |
| 112 | + | |
| 113 | + (SELECT COALESCE((SELECT COALESCE((SELECT to_char(endereco_pessoa.cep, '99999-999') | |
| 114 | + FROM cadastro.endereco_pessoa, | |
| 115 | + cadastro.juridica | |
| 116 | + WHERE juridica.idpes = endereco_pessoa.idpes AND | |
| 117 | + juridica.idpes = escola.ref_idpes),(SELECT to_char(endereco_externo.cep,'99999-999') FROM cadastro.endereco_externo WHERE endereco_externo.idpes = escola.ref_idpes))),(SELECT to_char(escola_complemento.cep,'99999-999') FROM pmieducar.escola_complemento where escola_complemento.ref_cod_escola = escola.cod_escola))) AS cep, | |
| 118 | + | |
| 119 | + | |
| 120 | + (SELECT COALESCE((SELECT min(to_char(fone_pessoa.fone, '9999-9999')) | |
| 121 | + FROM cadastro.fone_pessoa, | |
| 122 | + cadastro.juridica | |
| 123 | + WHERE juridica.idpes = fone_pessoa.idpes AND | |
| 124 | + juridica.idpes = escola.ref_idpes),COALESCE((SELECT min(to_char(telefone, '9999-9999')) FROM pmieducar.escola_complemento where escola_complemento.ref_cod_escola = escola.cod_escola),''))) AS fone, | |
| 125 | + | |
| 126 | + (SELECT COALESCE((SELECT ps.email | |
| 127 | + FROM cadastro.pessoa ps, | |
| 128 | + cadastro.juridica | |
| 129 | + WHERE juridica.idpes = ps.idpes AND | |
| 130 | + juridica.idpes = escola.ref_idpes),(SELECT email FROM pmieducar.escola_complemento where ref_cod_escola = escola.cod_escola))) AS email, | |
| 131 | + | |
| 132 | + (select acervo_autor.nm_autor | |
| 133 | + from pmieducar.acervo_autor, | |
| 134 | + pmieducar.acervo_acervo_autor | |
| 135 | + where acervo_acervo_autor.ref_cod_acervo_autor = acervo_autor.cod_acervo_autor AND | |
| 136 | + acervo_acervo_autor.ref_cod_acervo = acervo.cod_acervo AND | |
| 137 | + acervo_acervo_autor.principal = 1) as autor | |
| 138 | + | |
| 139 | + | |
| 140 | + FROM pmieducar.acervo, | |
| 141 | + pmieducar.biblioteca, | |
| 142 | + pmieducar.instituicao, | |
| 143 | + pmieducar.escola | |
| 144 | + WHERE instituicao.cod_instituicao = $P{instituicao} AND | |
| 145 | + instituicao.cod_instituicao = biblioteca.ref_cod_instituicao AND | |
| 146 | + acervo.ref_cod_biblioteca = biblioteca.cod_biblioteca AND | |
| 147 | + escola.cod_escola = $P{escola} AND | |
| 148 | + biblioteca.ref_cod_escola = escola.cod_escola AND | |
| 149 | + acervo.ativo = 1 | |
| 150 | +ORDER BY acervo.titulo]]> | |
| 151 | + </queryString> | |
| 152 | + <field name="nm_instituicao" class="java.lang.String"/> | |
| 153 | + <field name="cod_acervo" class="java.lang.Integer"/> | |
| 154 | + <field name="nm_tipo_exemplar" class="java.lang.String"/> | |
| 155 | + <field name="nm_colecao" class="java.lang.String"/> | |
| 156 | + <field name="nm_idioma" class="java.lang.String"/> | |
| 157 | + <field name="nm_editora" class="java.lang.String"/> | |
| 158 | + <field name="titulo" class="java.lang.String"/> | |
| 159 | + <field name="estante" class="java.lang.String"/> | |
| 160 | + <field name="cdd" class="java.lang.String"/> | |
| 161 | + <field name="sub_titulo" class="java.lang.String"/> | |
| 162 | + <field name="cdu" class="java.lang.String"/> | |
| 163 | + <field name="cutter" class="java.lang.String"/> | |
| 164 | + <field name="volume" class="java.lang.Integer"/> | |
| 165 | + <field name="num_edicao" class="java.lang.Integer"/> | |
| 166 | + <field name="ano" class="java.math.BigDecimal"/> | |
| 167 | + <field name="num_paginas" class="java.lang.Integer"/> | |
| 168 | + <field name="ref_cod_biblioteca" class="java.lang.Integer"/> | |
| 169 | + <field name="isbn" class="java.math.BigDecimal"/> | |
| 170 | + <field name="nm_biblioteca" class="java.lang.String"/> | |
| 171 | + <field name="nm_escola" class="java.lang.String"/> | |
| 172 | + <field name="logradouro" class="java.lang.String"/> | |
| 173 | + <field name="bairro" class="java.lang.String"/> | |
| 174 | + <field name="municipio" class="java.lang.String"/> | |
| 175 | + <field name="numero" class="java.math.BigDecimal"/> | |
| 176 | + <field name="uf_municipio" class="java.lang.String"/> | |
| 177 | + <field name="fone_ddd" class="java.lang.String"/> | |
| 178 | + <field name="cep" class="java.lang.String"/> | |
| 179 | + <field name="fone" class="java.lang.String"/> | |
| 180 | + <field name="email" class="java.lang.String"/> | |
| 181 | + <field name="autor" class="java.lang.String"/> | |
| 182 | + <background> | |
| 183 | + <band splitType="Stretch"/> | |
| 184 | + </background> | |
| 185 | + <title> | |
| 186 | + <band height="4" splitType="Stretch"/> | |
| 187 | + </title> | |
| 188 | + <pageHeader> | |
| 189 | + <band height="121" splitType="Stretch"> | |
| 190 | + <textField isBlankWhenNull="true"> | |
| 191 | + <reportElement uuid="a2ef7a36-29ab-4cce-816b-5839a98454a7" x="75" y="31" width="307" height="13"/> | |
| 192 | + <textElement> | |
| 193 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 194 | + </textElement> | |
| 195 | + <textFieldExpression><![CDATA["Endereço: "+$F{logradouro}+", "+$F{numero}]]></textFieldExpression> | |
| 196 | + </textField> | |
| 197 | + <textField> | |
| 198 | + <reportElement uuid="de16b881-a8a2-4b51-9eb1-8434af7e6772" x="75" y="3" width="307" height="13"/> | |
| 199 | + <textElement> | |
| 200 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 201 | + </textElement> | |
| 202 | + <textFieldExpression><![CDATA[$F{nm_instituicao}]]></textFieldExpression> | |
| 203 | + </textField> | |
| 204 | + <textField isBlankWhenNull="true"> | |
| 205 | + <reportElement uuid="9c554784-0bb9-493d-b875-50498082c2de" x="305" y="55" width="233" height="13" forecolor="#000000"/> | |
| 206 | + <textElement> | |
| 207 | + <font fontName="DejaVu Sans" size="8" isBold="true" isItalic="false"/> | |
| 208 | + </textElement> | |
| 209 | + <textFieldExpression><![CDATA["E-mail: "+$F{email}]]></textFieldExpression> | |
| 210 | + </textField> | |
| 211 | + <textField isBlankWhenNull="true"> | |
| 212 | + <reportElement uuid="996ce680-dda1-424a-961b-6ff7e3298dca" x="305" y="43" width="141" height="13"/> | |
| 213 | + <textElement> | |
| 214 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 215 | + </textElement> | |
| 216 | + <textFieldExpression><![CDATA[$F{municipio}+" - "+$F{uf_municipio}]]></textFieldExpression> | |
| 217 | + </textField> | |
| 218 | + <textField isBlankWhenNull="true"> | |
| 219 | + <reportElement uuid="6e7150d2-778f-4f27-a3f8-1352c026e863" x="449" y="43" width="77" height="13"/> | |
| 220 | + <textElement> | |
| 221 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 222 | + </textElement> | |
| 223 | + <textFieldExpression><![CDATA["CEP: "+$F{cep}]]></textFieldExpression> | |
| 224 | + </textField> | |
| 225 | + <textField isBlankWhenNull="true"> | |
| 226 | + <reportElement uuid="3ebe537f-48cc-4c06-86f1-2b658338c16b" x="75" y="17" width="307" height="13"/> | |
| 227 | + <textElement> | |
| 228 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 229 | + </textElement> | |
| 230 | + <textFieldExpression><![CDATA[$F{nm_escola}]]></textFieldExpression> | |
| 231 | + </textField> | |
| 232 | + <textField isBlankWhenNull="true"> | |
| 233 | + <reportElement uuid="33575519-3c83-4be1-bef5-56793697f50c" x="75" y="43" width="228" height="13"/> | |
| 234 | + <textElement> | |
| 235 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 236 | + </textElement> | |
| 237 | + <textFieldExpression><![CDATA["Bairro:" +$F{bairro}]]></textFieldExpression> | |
| 238 | + </textField> | |
| 239 | + <textField isBlankWhenNull="true"> | |
| 240 | + <reportElement uuid="6386a405-8b3e-46f8-b9f0-284a085b0957" x="75" y="55" width="201" height="13"/> | |
| 241 | + <textElement> | |
| 242 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 243 | + </textElement> | |
| 244 | + <textFieldExpression><![CDATA["Telefone: ("+$F{fone_ddd}+") "+$F{fone}]]></textFieldExpression> | |
| 245 | + </textField> | |
| 246 | + <textField> | |
| 247 | + <reportElement uuid="fb5c1068-bea6-434d-80d6-f247015f194f" x="65" y="106" width="277" height="13"/> | |
| 248 | + <textElement> | |
| 249 | + <font fontName="DejaVu Sans" size="8"/> | |
| 250 | + </textElement> | |
| 251 | + <textFieldExpression><![CDATA[$F{nm_biblioteca}]]></textFieldExpression> | |
| 252 | + </textField> | |
| 253 | + <staticText> | |
| 254 | + <reportElement uuid="42ddab8f-fc2a-4dcc-8f7d-be5823d404e5" x="10" y="106" width="50" height="13"/> | |
| 255 | + <textElement> | |
| 256 | + <font fontName="DejaVu Sans" size="8"/> | |
| 257 | + </textElement> | |
| 258 | + <text><![CDATA[Biblioteca:]]></text> | |
| 259 | + </staticText> | |
| 260 | + <image> | |
| 261 | + <reportElement uuid="38a08853-95f5-47ca-a19d-09fb2ad6afbb" x="10" y="3" width="57" height="46"/> | |
| 262 | + <imageExpression><![CDATA[$P{logo}]]></imageExpression> | |
| 263 | + </image> | |
| 264 | + <staticText> | |
| 265 | + <reportElement uuid="7247b13e-70b8-447f-8fb5-af89ffc22c69" x="198" y="80" width="138" height="14"/> | |
| 266 | + <textElement textAlignment="Center"> | |
| 267 | + <font fontName="DejaVu Sans" size="12" isBold="true"/> | |
| 268 | + </textElement> | |
| 269 | + <text><![CDATA[Obras]]></text> | |
| 270 | + </staticText> | |
| 271 | + </band> | |
| 272 | + </pageHeader> | |
| 273 | + <columnHeader> | |
| 274 | + <band height="18" splitType="Stretch"> | |
| 275 | + <staticText> | |
| 276 | + <reportElement uuid="42ddab8f-fc2a-4dcc-8f7d-be5823d404e5" x="25" y="1" width="35" height="13"/> | |
| 277 | + <textElement> | |
| 278 | + <font fontName="DejaVu Sans" size="8"/> | |
| 279 | + </textElement> | |
| 280 | + <text><![CDATA[Código]]></text> | |
| 281 | + </staticText> | |
| 282 | + <staticText> | |
| 283 | + <reportElement uuid="d83de16c-e0e4-41a1-a882-3accc364f3a7" x="65" y="1" width="30" height="13"/> | |
| 284 | + <textElement> | |
| 285 | + <font fontName="DejaVu Sans" size="8"/> | |
| 286 | + </textElement> | |
| 287 | + <text><![CDATA[Obra]]></text> | |
| 288 | + </staticText> | |
| 289 | + <line> | |
| 290 | + <reportElement uuid="a064a441-d427-4db2-813a-75f6741661eb" x="7" y="15" width="544" height="1"/> | |
| 291 | + <graphicElement> | |
| 292 | + <pen lineWidth="0.25"/> | |
| 293 | + </graphicElement> | |
| 294 | + </line> | |
| 295 | + <staticText> | |
| 296 | + <reportElement uuid="22b99e32-e014-4285-9163-46e5ef572996" x="213" y="1" width="59" height="13"/> | |
| 297 | + <textElement> | |
| 298 | + <font fontName="DejaVu Sans" size="8"/> | |
| 299 | + </textElement> | |
| 300 | + <text><![CDATA[Subtítulo]]></text> | |
| 301 | + </staticText> | |
| 302 | + <staticText> | |
| 303 | + <reportElement uuid="066bf357-e675-4f27-9faf-41c4d61e97c6" x="340" y="1" width="59" height="13"/> | |
| 304 | + <textElement> | |
| 305 | + <font fontName="DejaVu Sans" size="8"/> | |
| 306 | + </textElement> | |
| 307 | + <text><![CDATA[Tipo exemplar]]></text> | |
| 308 | + </staticText> | |
| 309 | + </band> | |
| 310 | + </columnHeader> | |
| 311 | + <detail> | |
| 312 | + <band height="82" splitType="Stretch"> | |
| 313 | + <textField isBlankWhenNull="true"> | |
| 314 | + <reportElement uuid="2cb30d31-a73e-4a7e-8513-97a9a78db30b" x="65" y="1" width="145" height="13"/> | |
| 315 | + <textElement> | |
| 316 | + <font fontName="DejaVu Sans" size="8"/> | |
| 317 | + </textElement> | |
| 318 | + <textFieldExpression><![CDATA[$F{titulo}]]></textFieldExpression> | |
| 319 | + </textField> | |
| 320 | + <textField isBlankWhenNull="true"> | |
| 321 | + <reportElement uuid="06ae71e3-9e72-4e0a-b865-ff8ce50a1b8e" x="213" y="1" width="121" height="13"/> | |
| 322 | + <textElement> | |
| 323 | + <font fontName="DejaVu Sans" size="8"/> | |
| 324 | + </textElement> | |
| 325 | + <textFieldExpression><![CDATA[$F{sub_titulo}]]></textFieldExpression> | |
| 326 | + </textField> | |
| 327 | + <textField isBlankWhenNull="true"> | |
| 328 | + <reportElement uuid="103b68ca-5a82-42ef-a97d-7d65adb58b59" x="25" y="1" width="35" height="13"/> | |
| 329 | + <textElement> | |
| 330 | + <font fontName="DejaVu Sans" size="8"/> | |
| 331 | + </textElement> | |
| 332 | + <textFieldExpression><![CDATA[$F{cod_acervo}]]></textFieldExpression> | |
| 333 | + </textField> | |
| 334 | + <textField isBlankWhenNull="true"> | |
| 335 | + <reportElement uuid="9c86b114-948e-4611-9713-ac4c67d5d6a4" x="340" y="1" width="142" height="13"/> | |
| 336 | + <textElement> | |
| 337 | + <font fontName="DejaVu Sans" size="8"/> | |
| 338 | + </textElement> | |
| 339 | + <textFieldExpression><![CDATA[$F{nm_tipo_exemplar}]]></textFieldExpression> | |
| 340 | + </textField> | |
| 341 | + <staticText> | |
| 342 | + <reportElement uuid="49a62f25-aa86-4630-bfc3-e00349654386" x="65" y="15" width="40" height="13"/> | |
| 343 | + <textElement> | |
| 344 | + <font fontName="DejaVu Sans" size="8"/> | |
| 345 | + </textElement> | |
| 346 | + <text><![CDATA[Coleção:]]></text> | |
| 347 | + </staticText> | |
| 348 | + <textField isBlankWhenNull="true"> | |
| 349 | + <reportElement uuid="0aa5706d-a29e-461f-b6b5-ade3a39239ff" x="106" y="15" width="103" height="13"/> | |
| 350 | + <textElement> | |
| 351 | + <font fontName="DejaVu Sans" size="8"/> | |
| 352 | + </textElement> | |
| 353 | + <textFieldExpression><![CDATA[$F{nm_colecao}]]></textFieldExpression> | |
| 354 | + </textField> | |
| 355 | + <staticText> | |
| 356 | + <reportElement uuid="a7e35092-1175-45cd-8523-d1c83b83bccd" x="213" y="15" width="35" height="13"/> | |
| 357 | + <textElement> | |
| 358 | + <font fontName="DejaVu Sans" size="8"/> | |
| 359 | + </textElement> | |
| 360 | + <text><![CDATA[Idioma:]]></text> | |
| 361 | + </staticText> | |
| 362 | + <textField isBlankWhenNull="true"> | |
| 363 | + <reportElement uuid="97bdf200-56c6-4dc2-bf82-fc8c894abd17" x="249" y="15" width="85" height="13"/> | |
| 364 | + <textElement> | |
| 365 | + <font fontName="DejaVu Sans" size="8"/> | |
| 366 | + </textElement> | |
| 367 | + <textFieldExpression><![CDATA[$F{nm_idioma}]]></textFieldExpression> | |
| 368 | + </textField> | |
| 369 | + <staticText> | |
| 370 | + <reportElement uuid="87caf1af-764d-4796-894e-c011648e1313" x="340" y="15" width="35" height="13"/> | |
| 371 | + <textElement> | |
| 372 | + <font fontName="DejaVu Sans" size="8"/> | |
| 373 | + </textElement> | |
| 374 | + <text><![CDATA[Editora:]]></text> | |
| 375 | + </staticText> | |
| 376 | + <textField isBlankWhenNull="true"> | |
| 377 | + <reportElement uuid="9d278357-517e-4c11-931d-d1aa71e89b51" x="376" y="15" width="106" height="13"/> | |
| 378 | + <textElement> | |
| 379 | + <font fontName="DejaVu Sans" size="8"/> | |
| 380 | + </textElement> | |
| 381 | + <textFieldExpression><![CDATA[$F{nm_editora}]]></textFieldExpression> | |
| 382 | + </textField> | |
| 383 | + <staticText> | |
| 384 | + <reportElement uuid="1d9d7886-25e5-4ccb-a68a-4eae7ba252dd" x="65" y="29" width="40" height="13"/> | |
| 385 | + <textElement> | |
| 386 | + <font fontName="DejaVu Sans" size="8"/> | |
| 387 | + </textElement> | |
| 388 | + <text><![CDATA[Autor:]]></text> | |
| 389 | + </staticText> | |
| 390 | + <textField isBlankWhenNull="true"> | |
| 391 | + <reportElement uuid="16bee438-ec2b-4e8d-ab80-b697741daddb" x="106" y="29" width="196" height="13"/> | |
| 392 | + <textElement> | |
| 393 | + <font fontName="DejaVu Sans" size="8"/> | |
| 394 | + </textElement> | |
| 395 | + <textFieldExpression><![CDATA[$F{autor}]]></textFieldExpression> | |
| 396 | + </textField> | |
| 397 | + <staticText> | |
| 398 | + <reportElement uuid="42dea64f-9a1b-4c72-8e58-1b5a45f03696" x="251" y="43" width="25" height="13"/> | |
| 399 | + <textElement> | |
| 400 | + <font fontName="DejaVu Sans" size="8"/> | |
| 401 | + </textElement> | |
| 402 | + <text><![CDATA[CDU:]]></text> | |
| 403 | + </staticText> | |
| 404 | + <staticText> | |
| 405 | + <reportElement uuid="c93e76d6-f72f-455e-a445-d2b936f01b03" x="377" y="43" width="31" height="13"/> | |
| 406 | + <textElement> | |
| 407 | + <font fontName="DejaVu Sans" size="8"/> | |
| 408 | + </textElement> | |
| 409 | + <text><![CDATA[Cutter:]]></text> | |
| 410 | + </staticText> | |
| 411 | + <staticText> | |
| 412 | + <reportElement uuid="15d2fdbb-1b84-4317-b03e-1af3cefc9235" x="65" y="57" width="40" height="13"/> | |
| 413 | + <textElement> | |
| 414 | + <font fontName="DejaVu Sans" size="8"/> | |
| 415 | + </textElement> | |
| 416 | + <text><![CDATA[Volume:]]></text> | |
| 417 | + </staticText> | |
| 418 | + <staticText> | |
| 419 | + <reportElement uuid="81343bfa-b34f-4dc2-8af7-d353459a8dfc" x="170" y="57" width="35" height="13"/> | |
| 420 | + <textElement> | |
| 421 | + <font fontName="DejaVu Sans" size="8"/> | |
| 422 | + </textElement> | |
| 423 | + <text><![CDATA[Edição:]]></text> | |
| 424 | + </staticText> | |
| 425 | + <staticText> | |
| 426 | + <reportElement uuid="1da363a7-02bf-442d-a974-39c0d69ca3e7" x="251" y="57" width="25" height="13"/> | |
| 427 | + <textElement> | |
| 428 | + <font fontName="DejaVu Sans" size="8"/> | |
| 429 | + </textElement> | |
| 430 | + <text><![CDATA[Ano:]]></text> | |
| 431 | + </staticText> | |
| 432 | + <staticText> | |
| 433 | + <reportElement uuid="000328d7-eee9-4271-8183-14d2f8a55df5" x="315" y="57" width="37" height="13"/> | |
| 434 | + <textElement> | |
| 435 | + <font fontName="DejaVu Sans" size="8"/> | |
| 436 | + </textElement> | |
| 437 | + <text><![CDATA[Páginas:]]></text> | |
| 438 | + </staticText> | |
| 439 | + <staticText> | |
| 440 | + <reportElement uuid="2dddbdfe-e343-4f59-b041-f446f29ae1ae" x="377" y="57" width="31" height="13"/> | |
| 441 | + <textElement> | |
| 442 | + <font fontName="DejaVu Sans" size="8"/> | |
| 443 | + </textElement> | |
| 444 | + <text><![CDATA[ISBN:]]></text> | |
| 445 | + </staticText> | |
| 446 | + <textField isBlankWhenNull="true"> | |
| 447 | + <reportElement uuid="60328af3-5f4b-40eb-95e9-ab202a2e7105" x="276" y="43" width="58" height="13"/> | |
| 448 | + <textElement> | |
| 449 | + <font fontName="DejaVu Sans" size="8"/> | |
| 450 | + </textElement> | |
| 451 | + <textFieldExpression><![CDATA[$F{cdu}]]></textFieldExpression> | |
| 452 | + </textField> | |
| 453 | + <textField isBlankWhenNull="true"> | |
| 454 | + <reportElement uuid="6f4cda61-c77b-40ff-89d8-187d346f57d4" x="408" y="43" width="74" height="13"/> | |
| 455 | + <textElement> | |
| 456 | + <font fontName="DejaVu Sans" size="8"/> | |
| 457 | + </textElement> | |
| 458 | + <textFieldExpression><![CDATA[$F{cutter}]]></textFieldExpression> | |
| 459 | + </textField> | |
| 460 | + <textField isBlankWhenNull="true"> | |
| 461 | + <reportElement uuid="1756341c-8196-41de-9f6a-e422fee63f91" x="106" y="57" width="55" height="13"/> | |
| 462 | + <textElement> | |
| 463 | + <font fontName="DejaVu Sans" size="8"/> | |
| 464 | + </textElement> | |
| 465 | + <textFieldExpression><![CDATA[$F{volume}]]></textFieldExpression> | |
| 466 | + </textField> | |
| 467 | + <textField isBlankWhenNull="true"> | |
| 468 | + <reportElement uuid="722c0c4f-eecb-4dc8-8e9e-e0f923890ad0" x="206" y="57" width="36" height="13"/> | |
| 469 | + <textElement> | |
| 470 | + <font fontName="DejaVu Sans" size="8"/> | |
| 471 | + </textElement> | |
| 472 | + <textFieldExpression><![CDATA[$F{num_edicao}]]></textFieldExpression> | |
| 473 | + </textField> | |
| 474 | + <textField isBlankWhenNull="true"> | |
| 475 | + <reportElement uuid="166fa2a0-9a0b-4d09-b7ab-b4ef5afec10e" x="276" y="57" width="30" height="13"/> | |
| 476 | + <textElement> | |
| 477 | + <font fontName="DejaVu Sans" size="8"/> | |
| 478 | + </textElement> | |
| 479 | + <textFieldExpression><![CDATA[$F{ano}]]></textFieldExpression> | |
| 480 | + </textField> | |
| 481 | + <textField isBlankWhenNull="true"> | |
| 482 | + <reportElement uuid="cf912f4e-3d77-4481-9a0f-5d1548a576f5" x="352" y="57" width="17" height="13"/> | |
| 483 | + <textElement> | |
| 484 | + <font fontName="DejaVu Sans" size="8"/> | |
| 485 | + </textElement> | |
| 486 | + <textFieldExpression><![CDATA[$F{num_paginas}]]></textFieldExpression> | |
| 487 | + </textField> | |
| 488 | + <textField isBlankWhenNull="true"> | |
| 489 | + <reportElement uuid="0301d837-b6f1-4872-bb6a-161868bf6e56" x="408" y="57" width="100" height="13"/> | |
| 490 | + <textElement> | |
| 491 | + <font fontName="DejaVu Sans" size="8"/> | |
| 492 | + </textElement> | |
| 493 | + <textFieldExpression><![CDATA[$F{isbn}]]></textFieldExpression> | |
| 494 | + </textField> | |
| 495 | + <staticText> | |
| 496 | + <reportElement uuid="1d9d7886-25e5-4ccb-a68a-4eae7ba252dd" x="65" y="43" width="40" height="13"/> | |
| 497 | + <textElement> | |
| 498 | + <font fontName="DejaVu Sans" size="8"/> | |
| 499 | + </textElement> | |
| 500 | + <text><![CDATA[Estante:]]></text> | |
| 501 | + </staticText> | |
| 502 | + <textField isBlankWhenNull="true"> | |
| 503 | + <reportElement uuid="b7feb1fd-0f07-481b-b2f9-d5178a3396ae" x="106" y="43" width="33" height="13"/> | |
| 504 | + <textElement> | |
| 505 | + <font fontName="DejaVu Sans" size="8"/> | |
| 506 | + </textElement> | |
| 507 | + <textFieldExpression><![CDATA[$F{estante}]]></textFieldExpression> | |
| 508 | + </textField> | |
| 509 | + <staticText> | |
| 510 | + <reportElement uuid="1d9d7886-25e5-4ccb-a68a-4eae7ba252dd" x="170" y="43" width="35" height="13"/> | |
| 511 | + <textElement> | |
| 512 | + <font fontName="DejaVu Sans" size="8"/> | |
| 513 | + </textElement> | |
| 514 | + <text><![CDATA[CDD:]]></text> | |
| 515 | + </staticText> | |
| 516 | + <textField isBlankWhenNull="true"> | |
| 517 | + <reportElement uuid="722c0c4f-eecb-4dc8-8e9e-e0f923890ad0" x="206" y="43" width="36" height="13"/> | |
| 518 | + <textElement> | |
| 519 | + <font fontName="DejaVu Sans" size="8"/> | |
| 520 | + </textElement> | |
| 521 | + <textFieldExpression><![CDATA[$F{cdd}]]></textFieldExpression> | |
| 522 | + </textField> | |
| 523 | + </band> | |
| 524 | + </detail> | |
| 525 | + <columnFooter> | |
| 526 | + <band height="23" splitType="Stretch"/> | |
| 527 | + </columnFooter> | |
| 528 | + <pageFooter> | |
| 529 | + <band height="20" splitType="Stretch"> | |
| 530 | + <line> | |
| 531 | + <reportElement uuid="61262edc-6e1e-4015-9ee5-70b7805de039" x="7" y="2" width="544" height="1"/> | |
| 532 | + <graphicElement> | |
| 533 | + <pen lineWidth="0.25"/> | |
| 534 | + </graphicElement> | |
| 535 | + </line> | |
| 536 | + </band> | |
| 537 | + </pageFooter> | |
| 538 | + <summary> | |
| 539 | + <band height="3" splitType="Stretch"/> | |
| 540 | + </summary> | |
| 541 | +</jasperReport> | ... | ... |
ieducar/modules/Reports/ReportSources/portabilis_boletim.jrxml
| ... | ... | @@ -307,7 +307,7 @@ nome_disciplina, |
| 307 | 307 | turma.ativo = 1 AND |
| 308 | 308 | matricula_turma.ativo = 1) AS nome_turma, |
| 309 | 309 | |
| 310 | - (select turma_turno.nm_turno from pmieducar.turma_turno, pmieducar.turma where turma_turno.turma_turno_id = turma.turma_turno_id and turma.cod_turma = matricula_turma.ref_cod_turma and instituicao_id = $P{instituicao} limit 1) as periodo, | |
| 310 | + (select turma_turno.nome from pmieducar.turma_turno, pmieducar.turma where turma_turno.id = turma.turma_turno_id and turma.cod_turma = matricula_turma.ref_cod_turma limit 1) as periodo, | |
| 311 | 311 | |
| 312 | 312 | (SELECT CASE WHEN (SELECT mt.aprovado |
| 313 | 313 | FROM pmieducar.matricula mt | ... | ... |
ieducar/modules/Reports/ReportSources/portabilis_ficha_aluno.jrxml
0 → 100644
| ... | ... | @@ -0,0 +1,1440 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="portabilis_atestado_vaga" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="80c96018-59aa-4572-b3d5-66ec29e78417"> | |
| 3 | + <property name="ireport.zoom" value="1.1000000000000005"/> | |
| 4 | + <property name="ireport.x" value="0"/> | |
| 5 | + <property name="ireport.y" value="0"/> | |
| 6 | + <parameter name="instituicao" class="java.lang.Integer"> | |
| 7 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 8 | + </parameter> | |
| 9 | + <parameter name="aluno" class="java.lang.Integer"> | |
| 10 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 11 | + </parameter> | |
| 12 | + <parameter name="escola" class="java.lang.Integer"> | |
| 13 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 14 | + </parameter> | |
| 15 | + <parameter name="logo" class="java.lang.String"/> | |
| 16 | + <queryString> | |
| 17 | + <![CDATA[SELECT public.fcn_upper(nm_instituicao) AS nome_instituicao, | |
| 18 | + public.fcn_upper(nm_responsavel) AS nome_secretaria, | |
| 19 | + instituicao.cidade AS cidade_instituicao, | |
| 20 | + public.fcn_upper(ref_sigla_uf) AS uf_instituicao, | |
| 21 | + to_char(CURRENT_DATE,'dd/mm/yyyy') AS data_atual, | |
| 22 | + to_char(current_timestamp, 'HH24:MI:SS') AS hora_atual, | |
| 23 | + pessoa.nome as aluno, | |
| 24 | + fisica.nome_pai as nm_pai, | |
| 25 | + fisica.nome_mae as nm_mae, | |
| 26 | + aluno.nm_pai as nm_pai2, | |
| 27 | + aluno.nm_mae as nm_mae2, | |
| 28 | + fisica.sexo, | |
| 29 | + to_char(fisica.data_nasc,'dd/mm/yyyy') AS data_nasc, | |
| 30 | + (CASE WHEN fisica.nacionalidade = 1 THEN 'Brasileiro' | |
| 31 | + WHEN fisica.nacionalidade = 2 THEN 'Naturalizado Brasileiro' | |
| 32 | + ELSE 'Estrangeiro' | |
| 33 | + END) as nacionalidade, | |
| 34 | + | |
| 35 | + (CASE WHEN aluno.analfabeto = 0 THEN | |
| 36 | + 'Sim' | |
| 37 | + ELSE | |
| 38 | + 'Não' | |
| 39 | + END) as alfabetizado, | |
| 40 | + | |
| 41 | + (select religiao.nm_religiao from pmieducar.religiao where religiao.cod_religiao = aluno.ref_cod_religiao) as religiao, | |
| 42 | + (select municipio.nome from public.municipio where municipio.idmun = fisica.idmun_nascimento) as municipio_nasc, | |
| 43 | + (select municipio.sigla_uf from public.municipio where municipio.idmun = fisica.idmun_nascimento) as municipio_uf, | |
| 44 | + (select pais.nome from public.pais where pais.idpais = fisica.idpais_estrangeiro) as pais_origem, | |
| 45 | + (select estado_civil.descricao from cadastro.estado_civil where estado_civil.ideciv = fisica.ideciv) as estado_civil, | |
| 46 | + (select pessoa.nome from cadastro.pessoa ps where ps.idpes = fisica.idpes_mae) as nm_mae, | |
| 47 | + (select pessoa.nome from cadastro.pessoa ps where ps.idpes = fisica.idpes_pai) as nm_pai, | |
| 48 | + | |
| 49 | + (select COALESCE((select fisica_cpf.cpf from cadastro.fisica_cpf where fisica_cpf.idpes = fisica.idpes_mae),(select fs.cpf | |
| 50 | + from cadastro.fisica fs where fs.idpes = fisica.idpes_mae))) as cpf_mae, | |
| 51 | + | |
| 52 | + (select COALESCE((select fisica_cpf.cpf from cadastro.fisica_cpf where fisica_cpf.idpes = fisica.idpes_mae),(select fs.cpf | |
| 53 | + from cadastro.fisica fs where fs.idpes = fisica.idpes_pai))) as cpf_pai, | |
| 54 | + | |
| 55 | + (select nm_beneficio | |
| 56 | + from pmieducar.aluno_beneficio | |
| 57 | + where aluno_beneficio.cod_aluno_beneficio = aluno.ref_cod_aluno_beneficio) as beneficio, | |
| 58 | + | |
| 59 | + (select COALESCE((select endereco_pessoa.numero from cadastro.endereco_pessoa where endereco_pessoa.idpes = pessoa.idpes), | |
| 60 | + (select endereco_externo.numero from cadastro.endereco_externo where endereco_externo.idpes = aluno.ref_idpes))) as numero, | |
| 61 | + | |
| 62 | + (select COALESCE((select endereco_pessoa.letra from cadastro.endereco_pessoa where endereco_pessoa.idpes = pessoa.idpes), | |
| 63 | + (select endereco_externo.letra from cadastro.endereco_externo where endereco_externo.idpes = aluno.ref_idpes))) as letra, | |
| 64 | + | |
| 65 | + (select COALESCE((select endereco_pessoa.bloco from cadastro.endereco_pessoa where endereco_pessoa.idpes = pessoa.idpes), | |
| 66 | + (select endereco_externo.bloco from cadastro.endereco_externo where endereco_externo.idpes = aluno.ref_idpes))) as bloco, | |
| 67 | + | |
| 68 | + (select COALESCE((select endereco_pessoa.andar from cadastro.endereco_pessoa where endereco_pessoa.idpes = pessoa.idpes), | |
| 69 | + (select endereco_externo.andar from cadastro.endereco_externo where endereco_externo.idpes = aluno.ref_idpes))) as andar, | |
| 70 | + | |
| 71 | + (select COALESCE((select endereco_pessoa.apartamento from cadastro.endereco_pessoa where endereco_pessoa.idpes = pessoa.idpes), | |
| 72 | + (select endereco_externo.apartamento from cadastro.endereco_externo where endereco_externo.idpes = aluno.ref_idpes))) as apartamento, | |
| 73 | + | |
| 74 | + (select COALESCE((select endereco_pessoa.complemento from cadastro.endereco_pessoa where endereco_pessoa.idpes = pessoa.idpes), | |
| 75 | + (select endereco_externo.complemento from cadastro.endereco_externo where endereco_externo.idpes = aluno.ref_idpes))) as complemento, | |
| 76 | + | |
| 77 | + | |
| 78 | + (select COALESCE((select endereco_pessoa.cep from cadastro.endereco_pessoa where endereco_pessoa.idpes = pessoa.idpes), | |
| 79 | + (select endereco_externo.cep from cadastro.endereco_externo where endereco_externo.idpes = aluno.ref_idpes))) as cep, | |
| 80 | + | |
| 81 | + (select COALESCE((select logradouro.nome | |
| 82 | + from public.logradouro, | |
| 83 | + cadastro.endereco_pessoa | |
| 84 | + where logradouro.idlog = endereco_pessoa.idlog AND | |
| 85 | + endereco_pessoa.idpes = pessoa.idpes),(select endereco_externo.logradouro from cadastro.endereco_externo where endereco_externo.idpes = aluno.ref_idpes))) as logradouro, | |
| 86 | + | |
| 87 | + (select COALESCE((select municipio.nome | |
| 88 | + from public.municipio, | |
| 89 | + public.logradouro, | |
| 90 | + cadastro.endereco_pessoa | |
| 91 | + where municipio.idmun = logradouro.idmun AND | |
| 92 | + logradouro.idlog = endereco_pessoa.idlog AND | |
| 93 | + endereco_pessoa.idpes = pessoa.idpes),(select endereco_externo.cidade from cadastro.endereco_externo where endereco_externo.idpes = aluno.ref_idpes))) as municipio, | |
| 94 | + | |
| 95 | + (select COALESCE((select municipio.sigla_uf | |
| 96 | + from public.municipio, | |
| 97 | + public.logradouro, | |
| 98 | + cadastro.endereco_pessoa | |
| 99 | + where municipio.idmun = logradouro.idmun AND | |
| 100 | + logradouro.idlog = endereco_pessoa.idlog AND | |
| 101 | + endereco_pessoa.idpes = pessoa.idpes),(select endereco_externo.sigla_uf from cadastro.endereco_externo where endereco_externo.idpes = aluno.ref_idpes))) as sigla_uf, | |
| 102 | + | |
| 103 | + (select COALESCE((select min(bairro.nome) | |
| 104 | + from public.bairro, | |
| 105 | + public.municipio, | |
| 106 | + public.logradouro, | |
| 107 | + cadastro.endereco_pessoa | |
| 108 | + where bairro.idmun = municipio.idmun AND | |
| 109 | + municipio.idmun = logradouro.idmun AND | |
| 110 | + logradouro.idlog = endereco_pessoa.idlog AND | |
| 111 | + endereco_pessoa.idpes = aluno.ref_idpes AND | |
| 112 | + endereco_pessoa.idbai = bairro.idbai),(select endereco_externo.bairro from cadastro.endereco_externo where endereco_externo.idpes = aluno.ref_idpes))) as bairro, | |
| 113 | + | |
| 114 | + pessoa.email, | |
| 115 | + (select min(fone_pessoa.ddd) from cadastro.fone_pessoa where fone_pessoa.idpes = pessoa.idpes) as ddd, | |
| 116 | + (select min(fone_pessoa.fone) from cadastro.fone_pessoa where fone_pessoa.idpes = pessoa.idpes) as fone, | |
| 117 | + | |
| 118 | + (select min(deficiencia.nm_deficiencia) | |
| 119 | + from cadastro.deficiencia, | |
| 120 | + cadastro.fisica_deficiencia | |
| 121 | + where deficiencia.cod_deficiencia = fisica_deficiencia.ref_cod_deficiencia AND | |
| 122 | + fisica_deficiencia.ref_idpes = fisica.idpes) as deficiencia, | |
| 123 | + | |
| 124 | + (select COALESCE(fisica_cpf.cpf,fisica.cpf) from cadastro.fisica_cpf where fisica_cpf.idpes = fisica.idpes) as cpf, | |
| 125 | + (select documento.rg from cadastro.documento where documento.idpes = fisica.idpes) as rg, | |
| 126 | + (select documento.data_exp_rg from cadastro.documento where documento.idpes = fisica.idpes) as data_exp_rg, | |
| 127 | + (select documento.sigla_uf_exp_rg from cadastro.documento where documento.idpes = fisica.idpes) as sigla_uf_exp_rg, | |
| 128 | + | |
| 129 | + (select orgao_emissor_rg.sigla | |
| 130 | + from cadastro.orgao_emissor_rg, | |
| 131 | + cadastro.documento | |
| 132 | + where orgao_emissor_rg.idorg_rg = documento.idorg_exp_rg AND | |
| 133 | + documento.idpes = fisica.idpes) as orgao_emissor_rg, | |
| 134 | + | |
| 135 | + (select documento.num_tit_eleitor from cadastro.documento where documento.idpes = fisica.idpes) as num_tit_eleitor, | |
| 136 | + (select documento.zona_tit_eleitor from cadastro.documento where documento.idpes = fisica.idpes) as zona_tit_eleitor, | |
| 137 | + (select documento.secao_tit_eleitor from cadastro.documento where documento.idpes = fisica.idpes) as secao_tit_eleitor, | |
| 138 | + (select documento.tipo_cert_civil from cadastro.documento where documento.idpes = fisica.idpes) as tipo_cert_civil, | |
| 139 | + (select documento.sigla_uf_cert_civil from cadastro.documento where documento.idpes = fisica.idpes) as sigla_uf_cert_civil, | |
| 140 | + (select documento.data_emissao_cert_civil from cadastro.documento where documento.idpes = fisica.idpes) as data_emissao_cert_civil, | |
| 141 | + (select documento.num_termo from cadastro.documento where documento.idpes = fisica.idpes) as num_termo, | |
| 142 | + (select documento.num_livro from cadastro.documento where documento.idpes = fisica.idpes) as num_livro, | |
| 143 | + (select documento.num_folha from cadastro.documento where documento.idpes = fisica.idpes) as num_folha, | |
| 144 | + (select documento.cartorio_cert_civil from cadastro.documento where documento.idpes = fisica.idpes) as cartorio_cert_civil, | |
| 145 | + (select documento.certidao_nascimento from cadastro.documento where documento.idpes = fisica.idpes) as certidao_nascimento, | |
| 146 | + | |
| 147 | + (select ps.nome from cadastro.pessoa ps where ps.idpes = fisica.idpes_responsavel) as nome_responsavel, | |
| 148 | + | |
| 149 | + (select ps.nome from cadastro.pessoa ps where ps.idpes = fisica.idpes_responsavel) as nome_responsavel, | |
| 150 | + | |
| 151 | + (select fs.cpf from cadastro.fisica fs where fs.idpes = fisica.idpes_responsavel) as cpf_responsavel, | |
| 152 | + | |
| 153 | + (select fs.sexo from cadastro.fisica fs where fs.idpes = fisica.idpes_responsavel) as sexo_responsavel, | |
| 154 | + | |
| 155 | + (select min(fone_pessoa.ddd) | |
| 156 | + from cadastro.fone_pessoa | |
| 157 | + where fone_pessoa.idpes = fisica.idpes_responsavel) as ddd_responsavel, | |
| 158 | + | |
| 159 | + | |
| 160 | + (select min(fone_pessoa.fone) | |
| 161 | + from cadastro.fone_pessoa | |
| 162 | + where fone_pessoa.idpes = fisica.idpes_responsavel) as fone_responsavel, | |
| 163 | + | |
| 164 | + (select pessoa.email | |
| 165 | + from cadastro.pessoa | |
| 166 | + where pessoa.idpes = fisica.idpes_responsavel) as email_responsavel, | |
| 167 | + | |
| 168 | + (select COALESCE((select endereco_pessoa.numero | |
| 169 | + from cadastro.endereco_pessoa | |
| 170 | + where endereco_pessoa.idpes = fisica.idpes_responsavel),(select endereco_externo.numero from cadastro.endereco_externo where endereco_externo.idpes = fisica.idpes_responsavel))) as numero_responsavel, | |
| 171 | + | |
| 172 | + (select COALESCE((select endereco_pessoa.letra | |
| 173 | + from cadastro.endereco_pessoa | |
| 174 | + where endereco_pessoa.idpes = fisica.idpes_responsavel),(select endereco_externo.letra from cadastro.endereco_externo where endereco_externo.idpes = fisica.idpes_responsavel))) as letra_responsavel, | |
| 175 | + | |
| 176 | +(select COALESCE((select endereco_pessoa.bloco | |
| 177 | + from cadastro.endereco_pessoa | |
| 178 | + where endereco_pessoa.idpes = fisica.idpes_responsavel),(select endereco_externo.bloco from cadastro.endereco_externo where endereco_externo.idpes = fisica.idpes_responsavel))) as bloco_responsavel, | |
| 179 | + | |
| 180 | + | |
| 181 | +(select COALESCE((select endereco_pessoa.andar | |
| 182 | + from cadastro.endereco_pessoa | |
| 183 | + where endereco_pessoa.idpes = fisica.idpes_responsavel),(select endereco_externo.andar from cadastro.endereco_externo where endereco_externo.idpes = fisica.idpes_responsavel))) as andar_responsavel, | |
| 184 | + | |
| 185 | +(select COALESCE((select endereco_pessoa.apartamento | |
| 186 | + from cadastro.endereco_pessoa | |
| 187 | + where endereco_pessoa.idpes = fisica.idpes_responsavel),(select endereco_externo.apartamento from cadastro.endereco_externo where endereco_externo.idpes = fisica.idpes_responsavel))) as apartamento_responsavel, | |
| 188 | + | |
| 189 | +(select COALESCE((select endereco_pessoa.cep | |
| 190 | + from cadastro.endereco_pessoa | |
| 191 | + where endereco_pessoa.idpes = fisica.idpes_responsavel),(select endereco_externo.cep from cadastro.endereco_externo where endereco_externo.idpes = fisica.idpes_responsavel))) as cep_responsavel, | |
| 192 | + | |
| 193 | +(select COALESCE((select logradouro.nome | |
| 194 | + from public.logradouro, | |
| 195 | + cadastro.endereco_pessoa | |
| 196 | + where logradouro.idlog = endereco_pessoa.idlog AND | |
| 197 | + endereco_pessoa.idpes = fisica.idpes_responsavel),(select endereco_externo.logradouro from cadastro.endereco_externo where endereco_externo.idpes = fisica.idpes_responsavel))) as logradouro_responsavel, | |
| 198 | + | |
| 199 | + (select COALESCE((select municipio.nome | |
| 200 | + from public.municipio, | |
| 201 | + public.logradouro, | |
| 202 | + cadastro.endereco_pessoa | |
| 203 | + where municipio.idmun = logradouro.idmun AND | |
| 204 | + logradouro.idlog = endereco_pessoa.idlog AND | |
| 205 | + endereco_pessoa.idpes = fisica.idpes_responsavel),(select endereco_externo.cidade from cadastro.endereco_externo where endereco_externo.idpes = fisica.idpes_responsavel))) as municipio_responsavel, | |
| 206 | + | |
| 207 | +(select COALESCE((select municipio.sigla_uf | |
| 208 | + from public.municipio, | |
| 209 | + public.logradouro, | |
| 210 | + cadastro.endereco_pessoa | |
| 211 | + where municipio.idmun = logradouro.idmun AND | |
| 212 | + logradouro.idlog = endereco_pessoa.idlog AND | |
| 213 | + endereco_pessoa.idpes = fisica.idpes_responsavel),(select endereco_externo.sigla_uf from cadastro.endereco_externo where endereco_externo.idpes = fisica.idpes_responsavel))) as sigla_uf_responsavel, | |
| 214 | + | |
| 215 | + | |
| 216 | +(select COALESCE((select bairro.nome | |
| 217 | + from public.bairro, | |
| 218 | + public.municipio, | |
| 219 | + public.logradouro, | |
| 220 | + cadastro.endereco_pessoa | |
| 221 | + where bairro.idmun = municipio.idmun AND | |
| 222 | + municipio.idmun = logradouro.idmun AND | |
| 223 | + logradouro.idlog = endereco_pessoa.idlog AND | |
| 224 | + endereco_pessoa.idpes = fisica.idpes_responsavel AND | |
| 225 | + endereco_pessoa.idbai = bairro.idbai),(select endereco_externo.bairro from cadastro.endereco_externo where endereco_externo.idpes = fisica.idpes_responsavel))) as bairro_responsavel, | |
| 226 | + | |
| 227 | + (SELECT COALESCE((SELECT COALESCE (fcn_upper(ps.nome),fcn_upper(juridica.fantasia)) | |
| 228 | + from cadastro.pessoa ps, | |
| 229 | + cadastro.juridica, | |
| 230 | + pmieducar.escola | |
| 231 | + where escola.ref_idpes = ps.idpes AND | |
| 232 | + ps.idpes = juridica .idpes AND | |
| 233 | + escola.cod_escola = $P{escola}),(SELECT nm_escola FROM pmieducar.escola_complemento where ref_cod_escola = $P{escola}))) AS nm_escola | |
| 234 | + | |
| 235 | + FROM pmieducar.instituicao, | |
| 236 | + pmieducar.aluno, | |
| 237 | + cadastro.fisica, | |
| 238 | + cadastro.pessoa | |
| 239 | + | |
| 240 | + WHERE instituicao.cod_instituicao = $P{instituicao} AND | |
| 241 | + aluno.ref_idpes = fisica.idpes AND | |
| 242 | + fisica.idpes = pessoa.idpes AND | |
| 243 | + aluno.cod_aluno = $P{aluno}]]> | |
| 244 | + </queryString> | |
| 245 | + <field name="nome_instituicao" class="java.lang.String"/> | |
| 246 | + <field name="nome_secretaria" class="java.lang.String"/> | |
| 247 | + <field name="cidade_instituicao" class="java.lang.String"/> | |
| 248 | + <field name="uf_instituicao" class="java.lang.String"/> | |
| 249 | + <field name="data_atual" class="java.lang.String"/> | |
| 250 | + <field name="hora_atual" class="java.lang.String"/> | |
| 251 | + <field name="aluno" class="java.lang.String"/> | |
| 252 | + <field name="nm_pai" class="java.lang.String"/> | |
| 253 | + <field name="nm_mae" class="java.lang.String"/> | |
| 254 | + <field name="nm_pai2" class="java.lang.String"/> | |
| 255 | + <field name="nm_mae2" class="java.lang.String"/> | |
| 256 | + <field name="sexo" class="java.lang.String"/> | |
| 257 | + <field name="data_nasc" class="java.lang.String"/> | |
| 258 | + <field name="nacionalidade" class="java.lang.String"/> | |
| 259 | + <field name="alfabetizado" class="java.lang.String"/> | |
| 260 | + <field name="religiao" class="java.lang.String"/> | |
| 261 | + <field name="municipio_nasc" class="java.lang.String"/> | |
| 262 | + <field name="municipio_uf" class="java.lang.String"/> | |
| 263 | + <field name="pais_origem" class="java.lang.String"/> | |
| 264 | + <field name="estado_civil" class="java.lang.String"/> | |
| 265 | + <field name="cpf_mae" class="java.math.BigDecimal"/> | |
| 266 | + <field name="cpf_pai" class="java.math.BigDecimal"/> | |
| 267 | + <field name="beneficio" class="java.lang.String"/> | |
| 268 | + <field name="numero" class="java.math.BigDecimal"/> | |
| 269 | + <field name="letra" class="java.lang.String"/> | |
| 270 | + <field name="bloco" class="java.lang.String"/> | |
| 271 | + <field name="andar" class="java.math.BigDecimal"/> | |
| 272 | + <field name="apartamento" class="java.math.BigDecimal"/> | |
| 273 | + <field name="complemento" class="java.lang.String"/> | |
| 274 | + <field name="cep" class="java.math.BigDecimal"/> | |
| 275 | + <field name="logradouro" class="java.lang.String"/> | |
| 276 | + <field name="municipio" class="java.lang.String"/> | |
| 277 | + <field name="sigla_uf" class="java.lang.String"/> | |
| 278 | + <field name="bairro" class="java.lang.String"/> | |
| 279 | + <field name="email" class="java.lang.String"/> | |
| 280 | + <field name="ddd" class="java.math.BigDecimal"/> | |
| 281 | + <field name="fone" class="java.math.BigDecimal"/> | |
| 282 | + <field name="deficiencia" class="java.lang.String"/> | |
| 283 | + <field name="cpf" class="java.math.BigDecimal"/> | |
| 284 | + <field name="rg" class="java.math.BigDecimal"/> | |
| 285 | + <field name="data_exp_rg" class="java.sql.Date"/> | |
| 286 | + <field name="sigla_uf_exp_rg" class="java.lang.String"/> | |
| 287 | + <field name="orgao_emissor_rg" class="java.lang.String"/> | |
| 288 | + <field name="num_tit_eleitor" class="java.math.BigDecimal"/> | |
| 289 | + <field name="zona_tit_eleitor" class="java.math.BigDecimal"/> | |
| 290 | + <field name="secao_tit_eleitor" class="java.math.BigDecimal"/> | |
| 291 | + <field name="tipo_cert_civil" class="java.math.BigDecimal"/> | |
| 292 | + <field name="sigla_uf_cert_civil" class="java.lang.String"/> | |
| 293 | + <field name="data_emissao_cert_civil" class="java.sql.Date"/> | |
| 294 | + <field name="num_termo" class="java.math.BigDecimal"/> | |
| 295 | + <field name="num_livro" class="java.lang.String"/> | |
| 296 | + <field name="num_folha" class="java.math.BigDecimal"/> | |
| 297 | + <field name="cartorio_cert_civil" class="java.lang.String"/> | |
| 298 | + <field name="certidao_nascimento" class="java.lang.String"/> | |
| 299 | + <field name="nome_responsavel" class="java.lang.String"/> | |
| 300 | + <field name="cpf_responsavel" class="java.math.BigDecimal"/> | |
| 301 | + <field name="sexo_responsavel" class="java.lang.String"/> | |
| 302 | + <field name="ddd_responsavel" class="java.math.BigDecimal"/> | |
| 303 | + <field name="fone_responsavel" class="java.math.BigDecimal"/> | |
| 304 | + <field name="email_responsavel" class="java.lang.String"/> | |
| 305 | + <field name="numero_responsavel" class="java.math.BigDecimal"/> | |
| 306 | + <field name="letra_responsavel" class="java.lang.String"/> | |
| 307 | + <field name="bloco_responsavel" class="java.lang.String"/> | |
| 308 | + <field name="andar_responsavel" class="java.math.BigDecimal"/> | |
| 309 | + <field name="apartamento_responsavel" class="java.math.BigDecimal"/> | |
| 310 | + <field name="cep_responsavel" class="java.math.BigDecimal"/> | |
| 311 | + <field name="logradouro_responsavel" class="java.lang.String"/> | |
| 312 | + <field name="municipio_responsavel" class="java.lang.String"/> | |
| 313 | + <field name="sigla_uf_responsavel" class="java.lang.String"/> | |
| 314 | + <field name="bairro_responsavel" class="java.lang.String"/> | |
| 315 | + <field name="nm_escola" class="java.lang.String"/> | |
| 316 | + <background> | |
| 317 | + <band splitType="Stretch"/> | |
| 318 | + </background> | |
| 319 | + <title> | |
| 320 | + <band splitType="Stretch"/> | |
| 321 | + </title> | |
| 322 | + <pageHeader> | |
| 323 | + <band height="100" splitType="Stretch"> | |
| 324 | + <rectangle radius="10"> | |
| 325 | + <reportElement uuid="f621a479-37f5-444b-a284-52efb43f36d4" x="3" y="2" width="548" height="73"/> | |
| 326 | + <graphicElement> | |
| 327 | + <pen lineWidth="0.25"/> | |
| 328 | + </graphicElement> | |
| 329 | + </rectangle> | |
| 330 | + <textField> | |
| 331 | + <reportElement uuid="af2ddee0-defc-44d1-8e93-1c3d64ef3d61" x="102" y="5" width="369" height="13"/> | |
| 332 | + <textElement> | |
| 333 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 334 | + </textElement> | |
| 335 | + <textFieldExpression><![CDATA[$F{nome_instituicao}]]></textFieldExpression> | |
| 336 | + </textField> | |
| 337 | + <rectangle> | |
| 338 | + <reportElement uuid="f939f6e5-a4fa-4661-b51a-923a7c054bf2" x="3" y="78" width="548" height="20"/> | |
| 339 | + <graphicElement> | |
| 340 | + <pen lineWidth="0.25"/> | |
| 341 | + </graphicElement> | |
| 342 | + </rectangle> | |
| 343 | + <staticText> | |
| 344 | + <reportElement uuid="a5fa28b6-f75c-41c3-8642-f2776796b36e" x="185" y="80" width="179" height="16"/> | |
| 345 | + <textElement textAlignment="Center"> | |
| 346 | + <font fontName="DejaVu Sans" size="12" isBold="true" isUnderline="true"/> | |
| 347 | + </textElement> | |
| 348 | + <text><![CDATA[FICHA DO ALUNO]]></text> | |
| 349 | + </staticText> | |
| 350 | + <textField> | |
| 351 | + <reportElement uuid="6c8b239b-e594-4e94-ab25-ecbeab0934fb" x="102" y="29" width="369" height="13"/> | |
| 352 | + <textElement> | |
| 353 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 354 | + </textElement> | |
| 355 | + <textFieldExpression><![CDATA[$F{nm_escola}]]></textFieldExpression> | |
| 356 | + </textField> | |
| 357 | + <textField isBlankWhenNull="true"> | |
| 358 | + <reportElement uuid="cfea5020-b62d-4288-848d-52809a776d0b" x="102" y="16" width="369" height="13"/> | |
| 359 | + <textElement> | |
| 360 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 361 | + </textElement> | |
| 362 | + <textFieldExpression><![CDATA[$F{nome_secretaria}]]></textFieldExpression> | |
| 363 | + </textField> | |
| 364 | + <image> | |
| 365 | + <reportElement uuid="2bfc0d62-be99-4c57-98d9-4a76ca5fe719" x="23" y="5" width="57" height="46"/> | |
| 366 | + <imageExpression><![CDATA[$P{logo}]]></imageExpression> | |
| 367 | + </image> | |
| 368 | + </band> | |
| 369 | + </pageHeader> | |
| 370 | + <columnHeader> | |
| 371 | + <band height="7" splitType="Stretch"/> | |
| 372 | + </columnHeader> | |
| 373 | + <detail> | |
| 374 | + <band height="600" splitType="Stretch"> | |
| 375 | + <rectangle> | |
| 376 | + <reportElement uuid="9541f42d-49eb-4c33-a839-01b07e64a191" x="3" y="108" width="548" height="52"/> | |
| 377 | + <graphicElement> | |
| 378 | + <pen lineWidth="0.25"/> | |
| 379 | + </graphicElement> | |
| 380 | + </rectangle> | |
| 381 | + <rectangle> | |
| 382 | + <reportElement uuid="f797188d-048a-4f89-94e8-d9b881752aa1" x="3" y="2" width="548" height="98"/> | |
| 383 | + <graphicElement> | |
| 384 | + <pen lineWidth="0.25"/> | |
| 385 | + </graphicElement> | |
| 386 | + </rectangle> | |
| 387 | + <textField isBlankWhenNull="true"> | |
| 388 | + <reportElement uuid="94521ec3-1b0d-4579-a116-6d5a44469fed" x="45" y="490" width="79" height="12"/> | |
| 389 | + <textElement> | |
| 390 | + <font fontName="DejaVu Sans" size="8"/> | |
| 391 | + </textElement> | |
| 392 | + <textFieldExpression><![CDATA[$F{num_termo}]]></textFieldExpression> | |
| 393 | + </textField> | |
| 394 | + <textField pattern="dd/MM/yyyy" isBlankWhenNull="true"> | |
| 395 | + <reportElement uuid="c8f99e01-c101-47a6-9722-eff125fcedef" x="383" y="419" width="79" height="12"/> | |
| 396 | + <textElement> | |
| 397 | + <font fontName="DejaVu Sans" size="8"/> | |
| 398 | + </textElement> | |
| 399 | + <textFieldExpression><![CDATA[$F{data_exp_rg}]]></textFieldExpression> | |
| 400 | + </textField> | |
| 401 | + <staticText> | |
| 402 | + <reportElement uuid="0bf42b2b-a990-45dc-b6b3-6dd106d6b28b" x="346" y="436" width="36" height="12"/> | |
| 403 | + <textElement> | |
| 404 | + <font fontName="DejaVu Sans" size="8"/> | |
| 405 | + </textElement> | |
| 406 | + <text><![CDATA[SEÇÃO:]]></text> | |
| 407 | + </staticText> | |
| 408 | + <textField isBlankWhenNull="true"> | |
| 409 | + <reportElement uuid="be7b810b-a1d3-42e5-ac83-e229648fb144" x="173" y="490" width="79" height="12"/> | |
| 410 | + <textElement> | |
| 411 | + <font fontName="DejaVu Sans" size="8"/> | |
| 412 | + </textElement> | |
| 413 | + <textFieldExpression><![CDATA[$F{num_livro}]]></textFieldExpression> | |
| 414 | + </textField> | |
| 415 | + <textField isBlankWhenNull="true"> | |
| 416 | + <reportElement uuid="fc0c836e-15c0-46e6-8ded-5efc9ed83085" x="74" y="419" width="100" height="12"/> | |
| 417 | + <textElement> | |
| 418 | + <font fontName="DejaVu Sans" size="8"/> | |
| 419 | + </textElement> | |
| 420 | + <textFieldExpression><![CDATA[$F{rg}]]></textFieldExpression> | |
| 421 | + </textField> | |
| 422 | + <staticText> | |
| 423 | + <reportElement uuid="690cf2bd-1c18-46db-9ce4-8694c4342e2d" x="346" y="419" width="36" height="12"/> | |
| 424 | + <textElement> | |
| 425 | + <font fontName="DejaVu Sans" size="8"/> | |
| 426 | + </textElement> | |
| 427 | + <text><![CDATA[DATA:]]></text> | |
| 428 | + </staticText> | |
| 429 | + <textField isBlankWhenNull="true"> | |
| 430 | + <reportElement uuid="df06046c-769b-4e4e-a2ea-6492a7d8f09e" x="296" y="490" width="50" height="12"/> | |
| 431 | + <textElement> | |
| 432 | + <font fontName="DejaVu Sans" size="8"/> | |
| 433 | + </textElement> | |
| 434 | + <textFieldExpression><![CDATA[$F{num_folha}]]></textFieldExpression> | |
| 435 | + </textField> | |
| 436 | + <staticText> | |
| 437 | + <reportElement uuid="944308be-70e7-453c-a382-ab43a27a71f1" x="176" y="454" width="47" height="12"/> | |
| 438 | + <textElement> | |
| 439 | + <font fontName="DejaVu Sans" size="8"/> | |
| 440 | + </textElement> | |
| 441 | + <text><![CDATA[ESTADO:]]></text> | |
| 442 | + </staticText> | |
| 443 | + <staticText> | |
| 444 | + <reportElement uuid="ef595462-110a-40b1-bb72-173838d9eff1" x="7" y="401" width="31" height="12"/> | |
| 445 | + <textElement> | |
| 446 | + <font fontName="DejaVu Sans" size="8"/> | |
| 447 | + </textElement> | |
| 448 | + <text><![CDATA[CPF:]]></text> | |
| 449 | + </staticText> | |
| 450 | + <textField isBlankWhenNull="true"> | |
| 451 | + <reportElement uuid="470a90a8-7690-4823-b40f-6da88248bf59" x="39" y="401" width="125" height="12"/> | |
| 452 | + <textElement> | |
| 453 | + <font fontName="DejaVu Sans" size="8"/> | |
| 454 | + </textElement> | |
| 455 | + <textFieldExpression><![CDATA[$F{cpf}]]></textFieldExpression> | |
| 456 | + </textField> | |
| 457 | + <staticText> | |
| 458 | + <reportElement uuid="ffb17d0a-26ab-4c96-b826-9e6d963ac3a7" x="7" y="380" width="178" height="19"/> | |
| 459 | + <textElement> | |
| 460 | + <font fontName="DejaVu Sans" size="10" isBold="true"/> | |
| 461 | + </textElement> | |
| 462 | + <text><![CDATA[DOCUMENTOS]]></text> | |
| 463 | + </staticText> | |
| 464 | + <staticText> | |
| 465 | + <reportElement uuid="5fd2fe9e-ad45-443e-b1d0-677b778bab68" x="176" y="419" width="77" height="12"/> | |
| 466 | + <textElement> | |
| 467 | + <font fontName="DejaVu Sans" size="8"/> | |
| 468 | + </textElement> | |
| 469 | + <text><![CDATA[ÓRGÃO EXP./UF:]]></text> | |
| 470 | + </staticText> | |
| 471 | + <staticText> | |
| 472 | + <reportElement uuid="94eb3ade-a21f-4149-b153-aa04899daaf1" x="283" y="419" width="9" height="12"/> | |
| 473 | + <textElement> | |
| 474 | + <font fontName="DejaVu Sans" size="8"/> | |
| 475 | + </textElement> | |
| 476 | + <text><![CDATA[/]]></text> | |
| 477 | + </staticText> | |
| 478 | + <textField isBlankWhenNull="true"> | |
| 479 | + <reportElement uuid="c7945027-b99c-434d-9961-169379760762" x="293" y="419" width="25" height="12"/> | |
| 480 | + <textElement> | |
| 481 | + <font fontName="DejaVu Sans" size="8"/> | |
| 482 | + </textElement> | |
| 483 | + <textFieldExpression><![CDATA[$F{sigla_uf_exp_rg}]]></textFieldExpression> | |
| 484 | + </textField> | |
| 485 | + <textField isBlankWhenNull="true"> | |
| 486 | + <reportElement uuid="daed4985-5000-4440-b84e-f49471bb86f2" x="95" y="436" width="79" height="12"/> | |
| 487 | + <textElement> | |
| 488 | + <font fontName="DejaVu Sans" size="8"/> | |
| 489 | + </textElement> | |
| 490 | + <textFieldExpression><![CDATA[$F{num_tit_eleitor}]]></textFieldExpression> | |
| 491 | + </textField> | |
| 492 | + <textField isBlankWhenNull="true"> | |
| 493 | + <reportElement uuid="f7344b14-9639-4a85-af8e-16d824e056c2" x="214" y="436" width="39" height="12"/> | |
| 494 | + <textElement> | |
| 495 | + <font fontName="DejaVu Sans" size="8"/> | |
| 496 | + </textElement> | |
| 497 | + <textFieldExpression><![CDATA[$F{zona_tit_eleitor}]]></textFieldExpression> | |
| 498 | + </textField> | |
| 499 | + <textField isBlankWhenNull="true"> | |
| 500 | + <reportElement uuid="9903a60b-e93a-4a85-a3dc-266decda85a8" x="384" y="436" width="39" height="12"/> | |
| 501 | + <textElement> | |
| 502 | + <font fontName="DejaVu Sans" size="8"/> | |
| 503 | + </textElement> | |
| 504 | + <textFieldExpression><![CDATA[$F{secao_tit_eleitor}]]></textFieldExpression> | |
| 505 | + </textField> | |
| 506 | + <staticText> | |
| 507 | + <reportElement uuid="c81e5491-db34-4490-ab4e-7847df1a3e68" x="346" y="454" width="36" height="12"/> | |
| 508 | + <textElement> | |
| 509 | + <font fontName="DejaVu Sans" size="8"/> | |
| 510 | + </textElement> | |
| 511 | + <text><![CDATA[DATA:]]></text> | |
| 512 | + </staticText> | |
| 513 | + <textField isBlankWhenNull="true"> | |
| 514 | + <reportElement uuid="b3475bb0-ef1f-49e3-8f18-4ae1f9b06a7d" x="95" y="454" width="79" height="12"/> | |
| 515 | + <textElement> | |
| 516 | + <font fontName="DejaVu Sans" size="8"/> | |
| 517 | + </textElement> | |
| 518 | + <textFieldExpression><![CDATA[$F{tipo_cert_civil}]]></textFieldExpression> | |
| 519 | + </textField> | |
| 520 | + <textField isBlankWhenNull="true"> | |
| 521 | + <reportElement uuid="a7657187-cc69-4166-b0d6-b8090300ec79" x="224" y="454" width="25" height="12"/> | |
| 522 | + <textElement> | |
| 523 | + <font fontName="DejaVu Sans" size="8"/> | |
| 524 | + </textElement> | |
| 525 | + <textFieldExpression><![CDATA[$F{sigla_uf_cert_civil}]]></textFieldExpression> | |
| 526 | + </textField> | |
| 527 | + <textField pattern="dd/MM/yyyy" isBlankWhenNull="true"> | |
| 528 | + <reportElement uuid="8555c1b6-3216-4455-9969-c0f658eaa7ef" x="383" y="454" width="79" height="12"/> | |
| 529 | + <textElement> | |
| 530 | + <font fontName="DejaVu Sans" size="8"/> | |
| 531 | + </textElement> | |
| 532 | + <textFieldExpression><![CDATA[$F{data_emissao_cert_civil}]]></textFieldExpression> | |
| 533 | + </textField> | |
| 534 | + <textField isBlankWhenNull="true"> | |
| 535 | + <reportElement uuid="3e58879a-348c-4a5e-9735-74d5ec8955d8" x="415" y="490" width="131" height="12"/> | |
| 536 | + <textElement> | |
| 537 | + <font fontName="DejaVu Sans" size="8"/> | |
| 538 | + </textElement> | |
| 539 | + <textFieldExpression><![CDATA[$F{cartorio_cert_civil}]]></textFieldExpression> | |
| 540 | + </textField> | |
| 541 | + <staticText> | |
| 542 | + <reportElement uuid="2270bef7-cc74-46b8-ba22-3ac792b6df72" x="136" y="490" width="36" height="12"/> | |
| 543 | + <textElement> | |
| 544 | + <font fontName="DejaVu Sans" size="8"/> | |
| 545 | + </textElement> | |
| 546 | + <text><![CDATA[LIVRO:]]></text> | |
| 547 | + </staticText> | |
| 548 | + <staticText> | |
| 549 | + <reportElement uuid="903b1203-c5ba-415f-b391-1922657fdddf" x="259" y="490" width="36" height="12"/> | |
| 550 | + <textElement> | |
| 551 | + <font fontName="DejaVu Sans" size="8"/> | |
| 552 | + </textElement> | |
| 553 | + <text><![CDATA[FOLHA:]]></text> | |
| 554 | + </staticText> | |
| 555 | + <staticText> | |
| 556 | + <reportElement uuid="ac062109-7fe2-455c-bdb2-682d8c227d46" x="358" y="490" width="56" height="12"/> | |
| 557 | + <textElement> | |
| 558 | + <font fontName="DejaVu Sans" size="8"/> | |
| 559 | + </textElement> | |
| 560 | + <text><![CDATA[CARTÓRIO:]]></text> | |
| 561 | + </staticText> | |
| 562 | + <staticText> | |
| 563 | + <reportElement uuid="7f960240-14c9-4c52-8366-d4cd5fe97573" x="7" y="419" width="66" height="12"/> | |
| 564 | + <textElement> | |
| 565 | + <font fontName="DejaVu Sans" size="8"/> | |
| 566 | + </textElement> | |
| 567 | + <text><![CDATA[IDENTIDADE:]]></text> | |
| 568 | + </staticText> | |
| 569 | + <staticText> | |
| 570 | + <reportElement uuid="77cdda40-1844-4cdb-b45b-c75aefbdccb8" x="7" y="436" width="87" height="12"/> | |
| 571 | + <textElement> | |
| 572 | + <font fontName="DejaVu Sans" size="8"/> | |
| 573 | + </textElement> | |
| 574 | + <text><![CDATA[TÍTULO ELEITORAL:]]></text> | |
| 575 | + </staticText> | |
| 576 | + <staticText> | |
| 577 | + <reportElement uuid="077011c6-9154-4c31-85cc-5861750a9b8e" x="7" y="454" width="87" height="12"/> | |
| 578 | + <textElement> | |
| 579 | + <font fontName="DejaVu Sans" size="8"/> | |
| 580 | + </textElement> | |
| 581 | + <text><![CDATA[CERTIFICADO CIVIL:]]></text> | |
| 582 | + </staticText> | |
| 583 | + <staticText> | |
| 584 | + <reportElement uuid="bdb57201-f198-4977-844e-a5c7329a42be" x="7" y="490" width="38" height="12"/> | |
| 585 | + <textElement> | |
| 586 | + <font fontName="DejaVu Sans" size="8"/> | |
| 587 | + </textElement> | |
| 588 | + <text><![CDATA[TERMO:]]></text> | |
| 589 | + </staticText> | |
| 590 | + <rectangle> | |
| 591 | + <reportElement uuid="a2895c96-bc3f-4738-9df1-f8c988fe892f" x="3" y="168" width="548" height="68"/> | |
| 592 | + <graphicElement> | |
| 593 | + <pen lineWidth="0.25"/> | |
| 594 | + </graphicElement> | |
| 595 | + </rectangle> | |
| 596 | + <staticText> | |
| 597 | + <reportElement uuid="61c335d2-cede-4d62-85a4-b958c7047399" x="7" y="111" width="178" height="19"/> | |
| 598 | + <textElement> | |
| 599 | + <font fontName="DejaVu Sans" size="10" isBold="true"/> | |
| 600 | + </textElement> | |
| 601 | + <text><![CDATA[FILIAÇÃO]]></text> | |
| 602 | + </staticText> | |
| 603 | + <staticText> | |
| 604 | + <reportElement uuid="c7a205d3-b392-48ec-8ac3-b2bd56fc7545" x="7" y="132" width="66" height="12"/> | |
| 605 | + <textElement> | |
| 606 | + <font fontName="DejaVu Sans" size="8"/> | |
| 607 | + </textElement> | |
| 608 | + <text><![CDATA[NOME DO PAI:]]></text> | |
| 609 | + </staticText> | |
| 610 | + <staticText> | |
| 611 | + <reportElement uuid="e636d30f-56ec-43c8-89dd-b42f204f461a" x="7" y="147" width="66" height="12"/> | |
| 612 | + <textElement> | |
| 613 | + <font fontName="DejaVu Sans" size="8"/> | |
| 614 | + </textElement> | |
| 615 | + <text><![CDATA[NOME DA MÃE:]]></text> | |
| 616 | + </staticText> | |
| 617 | + <staticText> | |
| 618 | + <reportElement uuid="3bb4731a-8888-4680-9e1a-1b6f5d4489d0" x="313" y="132" width="66" height="12"/> | |
| 619 | + <textElement> | |
| 620 | + <font fontName="DejaVu Sans" size="8"/> | |
| 621 | + </textElement> | |
| 622 | + <text><![CDATA[CPF DO PAI:]]></text> | |
| 623 | + </staticText> | |
| 624 | + <staticText> | |
| 625 | + <reportElement uuid="0d092bb5-753a-4dc6-8dc6-e164239784e8" x="313" y="147" width="66" height="12"/> | |
| 626 | + <textElement> | |
| 627 | + <font fontName="DejaVu Sans" size="8"/> | |
| 628 | + </textElement> | |
| 629 | + <text><![CDATA[CPF DA MÃE:]]></text> | |
| 630 | + </staticText> | |
| 631 | + <textField isBlankWhenNull="true"> | |
| 632 | + <reportElement uuid="7f6c735b-b3eb-4997-8b3e-65b134718b4b" x="74" y="147" width="216" height="12"/> | |
| 633 | + <textElement> | |
| 634 | + <font fontName="DejaVu Sans" size="8"/> | |
| 635 | + </textElement> | |
| 636 | + <textFieldExpression><![CDATA[$F{nm_mae}]]></textFieldExpression> | |
| 637 | + </textField> | |
| 638 | + <textField isBlankWhenNull="true"> | |
| 639 | + <reportElement uuid="80f81ccb-967d-4148-9ea6-04e8da33e1b4" x="496" y="192" width="35" height="12"/> | |
| 640 | + <textElement> | |
| 641 | + <font fontName="DejaVu Sans" size="8"/> | |
| 642 | + </textElement> | |
| 643 | + <textFieldExpression><![CDATA[$F{apartamento}]]></textFieldExpression> | |
| 644 | + </textField> | |
| 645 | + <textField isBlankWhenNull="true"> | |
| 646 | + <reportElement uuid="cf17dd9c-a897-40dd-813c-85fd50d17f7a" x="74" y="132" width="216" height="12"/> | |
| 647 | + <textElement> | |
| 648 | + <font fontName="DejaVu Sans" size="8"/> | |
| 649 | + </textElement> | |
| 650 | + <textFieldExpression><![CDATA[$F{nm_pai}]]></textFieldExpression> | |
| 651 | + </textField> | |
| 652 | + <textField pattern="" isBlankWhenNull="true"> | |
| 653 | + <reportElement uuid="4de7f54a-a4dd-423d-abdd-5c831df65a0f" x="381" y="132" width="100" height="12"/> | |
| 654 | + <textElement> | |
| 655 | + <font fontName="DejaVu Sans" size="8"/> | |
| 656 | + </textElement> | |
| 657 | + <textFieldExpression><![CDATA[$F{cpf_pai}]]></textFieldExpression> | |
| 658 | + </textField> | |
| 659 | + <textField isBlankWhenNull="true"> | |
| 660 | + <reportElement uuid="5c653bef-08a6-4061-ad2f-8d3cc4987cc2" x="381" y="147" width="100" height="12"/> | |
| 661 | + <textElement> | |
| 662 | + <font fontName="DejaVu Sans" size="8"/> | |
| 663 | + </textElement> | |
| 664 | + <textFieldExpression><![CDATA[$F{cpf_mae}]]></textFieldExpression> | |
| 665 | + </textField> | |
| 666 | + <staticText> | |
| 667 | + <reportElement uuid="b4f61611-20f4-4150-8992-0b887221881e" x="304" y="25" width="108" height="12"/> | |
| 668 | + <textElement> | |
| 669 | + <font fontName="DejaVu Sans" size="8"/> | |
| 670 | + </textElement> | |
| 671 | + <text><![CDATA[DATA DE NASCIMENTO:]]></text> | |
| 672 | + </staticText> | |
| 673 | + <staticText> | |
| 674 | + <reportElement uuid="7fd2e40e-80b2-4c49-b837-1148bf868123" x="304" y="40" width="69" height="12"/> | |
| 675 | + <textElement> | |
| 676 | + <font fontName="DejaVu Sans" size="8"/> | |
| 677 | + </textElement> | |
| 678 | + <text><![CDATA[ESTADO CIVIL:]]></text> | |
| 679 | + </staticText> | |
| 680 | + <staticText> | |
| 681 | + <reportElement uuid="d58d0f8b-303e-41b4-a6ed-e9cdeceaa87b" x="304" y="56" width="42" height="12"/> | |
| 682 | + <textElement> | |
| 683 | + <font fontName="DejaVu Sans" size="8"/> | |
| 684 | + </textElement> | |
| 685 | + <text><![CDATA[ESTADO:]]></text> | |
| 686 | + </staticText> | |
| 687 | + <staticText> | |
| 688 | + <reportElement uuid="efcfd5de-ace2-47bb-8865-9dc96a7e4ef8" x="304" y="72" width="80" height="12"/> | |
| 689 | + <textElement> | |
| 690 | + <font fontName="DejaVu Sans" size="8"/> | |
| 691 | + </textElement> | |
| 692 | + <text><![CDATA[PAÍS DE ORIGEM:]]></text> | |
| 693 | + </staticText> | |
| 694 | + <rectangle> | |
| 695 | + <reportElement uuid="cf30196d-7da5-4de3-a72c-47d98d7b73d3" x="471" y="6" width="72" height="90"/> | |
| 696 | + <graphicElement> | |
| 697 | + <pen lineWidth="0.25"/> | |
| 698 | + </graphicElement> | |
| 699 | + </rectangle> | |
| 700 | + <staticText> | |
| 701 | + <reportElement uuid="c2713064-d203-4433-b086-70d4dcb2557e" x="483" y="42" width="44" height="12"/> | |
| 702 | + <textElement textAlignment="Center"> | |
| 703 | + <font fontName="DejaVu Sans" size="8"/> | |
| 704 | + </textElement> | |
| 705 | + <text><![CDATA[FOTO 3X4]]></text> | |
| 706 | + </staticText> | |
| 707 | + <textField isBlankWhenNull="true"> | |
| 708 | + <reportElement uuid="9e7414a4-ac32-4387-86c9-ff256081e3a5" x="46" y="25" width="251" height="12"/> | |
| 709 | + <textElement> | |
| 710 | + <font fontName="DejaVu Sans" size="8"/> | |
| 711 | + </textElement> | |
| 712 | + <textFieldExpression><![CDATA[$F{aluno}]]></textFieldExpression> | |
| 713 | + </textField> | |
| 714 | + <staticText> | |
| 715 | + <reportElement uuid="e015eaa2-7a5e-423e-8ce3-4c841dbe261a" x="7" y="352" width="59" height="12"/> | |
| 716 | + <textElement> | |
| 717 | + <font fontName="DejaVu Sans" size="8"/> | |
| 718 | + </textElement> | |
| 719 | + <text><![CDATA[DESCRIÇÃO:]]></text> | |
| 720 | + </staticText> | |
| 721 | + <textField isBlankWhenNull="true"> | |
| 722 | + <reportElement uuid="5a0e4502-d2dc-40c4-aae5-d43a712e786f" x="84" y="56" width="206" height="12"/> | |
| 723 | + <textElement> | |
| 724 | + <font fontName="DejaVu Sans" size="8"/> | |
| 725 | + </textElement> | |
| 726 | + <textFieldExpression><![CDATA[$F{municipio_nasc}]]></textFieldExpression> | |
| 727 | + </textField> | |
| 728 | + <textField isBlankWhenNull="true"> | |
| 729 | + <reportElement uuid="1f957671-8ea9-4c02-91fb-1e87d01afdaa" x="59" y="87" width="174" height="12"/> | |
| 730 | + <textElement> | |
| 731 | + <font fontName="DejaVu Sans" size="8"/> | |
| 732 | + </textElement> | |
| 733 | + <textFieldExpression><![CDATA[$F{religiao}]]></textFieldExpression> | |
| 734 | + </textField> | |
| 735 | + <rectangle> | |
| 736 | + <reportElement uuid="cbd88d29-bb22-4b4a-aa16-3efca81b5e2a" x="3" y="246" width="548" height="71"/> | |
| 737 | + <graphicElement> | |
| 738 | + <pen lineWidth="0.25"/> | |
| 739 | + </graphicElement> | |
| 740 | + </rectangle> | |
| 741 | + <staticText> | |
| 742 | + <reportElement uuid="8297bda6-4076-4323-917c-7fc9f71b81af" x="7" y="249" width="178" height="19"/> | |
| 743 | + <textElement> | |
| 744 | + <font fontName="DejaVu Sans" size="10" isBold="true"/> | |
| 745 | + </textElement> | |
| 746 | + <text><![CDATA[OUTRAS INFORMAÇÕES]]></text> | |
| 747 | + </staticText> | |
| 748 | + <textField isBlankWhenNull="true"> | |
| 749 | + <reportElement uuid="99a18143-0ab7-4bf0-9774-a09a29bf0c14" x="46" y="303" width="231" height="12"/> | |
| 750 | + <textElement> | |
| 751 | + <font fontName="DejaVu Sans" size="8"/> | |
| 752 | + </textElement> | |
| 753 | + <textFieldExpression><![CDATA[$F{email}]]></textFieldExpression> | |
| 754 | + </textField> | |
| 755 | + <textField isBlankWhenNull="true"> | |
| 756 | + <reportElement uuid="548ceb30-e70e-4661-b81d-de8ca6a250cb" x="376" y="192" width="21" height="12"/> | |
| 757 | + <textElement> | |
| 758 | + <font fontName="DejaVu Sans" size="8"/> | |
| 759 | + </textElement> | |
| 760 | + <textFieldExpression><![CDATA[$F{bloco}]]></textFieldExpression> | |
| 761 | + </textField> | |
| 762 | + <textField isBlankWhenNull="true"> | |
| 763 | + <reportElement uuid="3dcf7525-0c96-4adb-afa1-1d24dbfdd032" x="444" y="208" width="18" height="12"/> | |
| 764 | + <textElement> | |
| 765 | + <font fontName="DejaVu Sans" size="8"/> | |
| 766 | + </textElement> | |
| 767 | + <textFieldExpression><![CDATA[$F{sigla_uf}]]></textFieldExpression> | |
| 768 | + </textField> | |
| 769 | + <staticText> | |
| 770 | + <reportElement uuid="c53508d8-3e07-4c34-afaf-71403ac5bf8a" x="233" y="192" width="21" height="12"/> | |
| 771 | + <textElement> | |
| 772 | + <font fontName="DejaVu Sans" size="8"/> | |
| 773 | + </textElement> | |
| 774 | + <text><![CDATA[Nº:]]></text> | |
| 775 | + </staticText> | |
| 776 | + <staticText> | |
| 777 | + <reportElement uuid="3b68ae8b-c344-44f7-937b-a9de64f7e017" x="399" y="192" width="37" height="12"/> | |
| 778 | + <textElement> | |
| 779 | + <font fontName="DejaVu Sans" size="8"/> | |
| 780 | + </textElement> | |
| 781 | + <text><![CDATA[ANDAR:]]></text> | |
| 782 | + </staticText> | |
| 783 | + <staticText> | |
| 784 | + <reportElement uuid="6c1c5beb-f503-49d6-9492-5b38fcde37fc" x="465" y="192" width="30" height="12"/> | |
| 785 | + <textElement> | |
| 786 | + <font fontName="DejaVu Sans" size="8"/> | |
| 787 | + </textElement> | |
| 788 | + <text><![CDATA[APTO:]]></text> | |
| 789 | + </staticText> | |
| 790 | + <staticText> | |
| 791 | + <reportElement uuid="d5e8187f-84de-4eb2-939c-d35b9e371a8d" x="7" y="192" width="66" height="12"/> | |
| 792 | + <textElement> | |
| 793 | + <font fontName="DejaVu Sans" size="8"/> | |
| 794 | + </textElement> | |
| 795 | + <text><![CDATA[ENDEREÇO:]]></text> | |
| 796 | + </staticText> | |
| 797 | + <textField isBlankWhenNull="true"> | |
| 798 | + <reportElement uuid="72e31cc4-a96c-478d-aff5-f28d10852b9d" x="254" y="419" width="28" height="12"/> | |
| 799 | + <textElement> | |
| 800 | + <font fontName="DejaVu Sans" size="8"/> | |
| 801 | + </textElement> | |
| 802 | + <textFieldExpression><![CDATA[$F{orgao_emissor_rg}]]></textFieldExpression> | |
| 803 | + </textField> | |
| 804 | + <textField isBlankWhenNull="true"> | |
| 805 | + <reportElement uuid="d08ded7b-1d21-4bce-a4ef-f6203b86ca0f" x="295" y="539" width="25" height="12"/> | |
| 806 | + <textElement> | |
| 807 | + <font fontName="DejaVu Sans" size="8"/> | |
| 808 | + </textElement> | |
| 809 | + <textFieldExpression><![CDATA[$F{sexo_responsavel}]]></textFieldExpression> | |
| 810 | + </textField> | |
| 811 | + <textField isBlankWhenNull="true"> | |
| 812 | + <reportElement uuid="a221d376-ec30-460c-a835-16c632e95886" x="45" y="539" width="127" height="12"/> | |
| 813 | + <textElement> | |
| 814 | + <font fontName="DejaVu Sans" size="8"/> | |
| 815 | + </textElement> | |
| 816 | + <textFieldExpression><![CDATA[$F{nome_responsavel}]]></textFieldExpression> | |
| 817 | + </textField> | |
| 818 | + <staticText> | |
| 819 | + <reportElement uuid="a1b7da56-7195-42a5-9833-3e954c70534c" x="7" y="4" width="188" height="19"/> | |
| 820 | + <textElement> | |
| 821 | + <font fontName="DejaVu Sans" size="10" isBold="true"/> | |
| 822 | + </textElement> | |
| 823 | + <text><![CDATA[DADOS PESSOAIS DO ALUNO]]></text> | |
| 824 | + </staticText> | |
| 825 | + <textField isBlankWhenNull="true"> | |
| 826 | + <reportElement uuid="e1cf1e75-5d18-4a2c-9a52-50b5806a698a" x="84" y="223" width="229" height="12"/> | |
| 827 | + <textElement> | |
| 828 | + <font fontName="DejaVu Sans" size="8"/> | |
| 829 | + </textElement> | |
| 830 | + <textFieldExpression><![CDATA[$F{complemento}]]></textFieldExpression> | |
| 831 | + </textField> | |
| 832 | + <staticText> | |
| 833 | + <reportElement uuid="19ae7be5-7448-4ec3-a733-6d8d637774d8" x="66" y="288" width="3" height="12"/> | |
| 834 | + <textElement> | |
| 835 | + <font fontName="DejaVu Sans" size="8"/> | |
| 836 | + </textElement> | |
| 837 | + <text><![CDATA[(]]></text> | |
| 838 | + </staticText> | |
| 839 | + <staticText> | |
| 840 | + <reportElement uuid="a4b72c94-384a-47a0-9031-01f01b7d185f" x="7" y="171" width="178" height="19"/> | |
| 841 | + <textElement> | |
| 842 | + <font fontName="DejaVu Sans" size="10" isBold="true"/> | |
| 843 | + </textElement> | |
| 844 | + <text><![CDATA[ENDEREÇO]]></text> | |
| 845 | + </staticText> | |
| 846 | + <textField isBlankWhenNull="true"> | |
| 847 | + <reportElement uuid="7267beed-9a79-4a20-b64d-f2ab8d9d45b6" x="255" y="192" width="23" height="12"/> | |
| 848 | + <textElement> | |
| 849 | + <font fontName="DejaVu Sans" size="8"/> | |
| 850 | + </textElement> | |
| 851 | + <textFieldExpression><![CDATA[$F{numero}]]></textFieldExpression> | |
| 852 | + </textField> | |
| 853 | + <staticText> | |
| 854 | + <reportElement uuid="4896a2b0-fda0-44a5-9b8f-e96964d0437c" x="279" y="192" width="34" height="12"/> | |
| 855 | + <textElement> | |
| 856 | + <font fontName="DejaVu Sans" size="8"/> | |
| 857 | + </textElement> | |
| 858 | + <text><![CDATA[LETRA:]]></text> | |
| 859 | + </staticText> | |
| 860 | + <textField isBlankWhenNull="true"> | |
| 861 | + <reportElement uuid="a7778129-2f5e-4fe0-92b4-8319b644c3aa" x="198" y="539" width="63" height="12"/> | |
| 862 | + <textElement> | |
| 863 | + <font fontName="DejaVu Sans" size="8"/> | |
| 864 | + </textElement> | |
| 865 | + <textFieldExpression><![CDATA[$F{cpf_responsavel}]]></textFieldExpression> | |
| 866 | + </textField> | |
| 867 | + <textField isBlankWhenNull="true"> | |
| 868 | + <reportElement uuid="292a0bf3-2a8e-4d34-a3f6-7cbaa1c5b461" x="475" y="539" width="72" height="12"/> | |
| 869 | + <textElement> | |
| 870 | + <font fontName="DejaVu Sans" size="8"/> | |
| 871 | + </textElement> | |
| 872 | + <textFieldExpression><![CDATA[$F{email_responsavel}]]></textFieldExpression> | |
| 873 | + </textField> | |
| 874 | + <textField isBlankWhenNull="true"> | |
| 875 | + <reportElement uuid="8fdf2e05-007a-441c-99ea-ff55f8a1b8dd" x="72" y="557" width="125" height="12"/> | |
| 876 | + <textElement> | |
| 877 | + <font fontName="DejaVu Sans" size="8"/> | |
| 878 | + </textElement> | |
| 879 | + <textFieldExpression><![CDATA[$F{logradouro_responsavel}]]></textFieldExpression> | |
| 880 | + </textField> | |
| 881 | + <textField isBlankWhenNull="true"> | |
| 882 | + <reportElement uuid="1a430e54-c55c-4886-aa4e-5d5ef17546e8" x="253" y="574" width="110" height="12"/> | |
| 883 | + <textElement> | |
| 884 | + <font fontName="DejaVu Sans" size="8"/> | |
| 885 | + </textElement> | |
| 886 | + <textFieldExpression><![CDATA[$F{municipio_responsavel}]]></textFieldExpression> | |
| 887 | + </textField> | |
| 888 | + <textField isBlankWhenNull="true"> | |
| 889 | + <reportElement uuid="6ce77d4a-22ad-42d5-bdb9-8ee28a018fd9" x="415" y="575" width="18" height="12"/> | |
| 890 | + <textElement> | |
| 891 | + <font fontName="DejaVu Sans" size="8"/> | |
| 892 | + </textElement> | |
| 893 | + <textFieldExpression><![CDATA[$F{sigla_uf_responsavel}]]></textFieldExpression> | |
| 894 | + </textField> | |
| 895 | + <textField isBlankWhenNull="true"> | |
| 896 | + <reportElement uuid="2d797b62-e88e-4282-aa9d-b2f2fa570430" x="68" y="352" width="244" height="12"/> | |
| 897 | + <textElement> | |
| 898 | + <font fontName="DejaVu Sans" size="8"/> | |
| 899 | + </textElement> | |
| 900 | + <textFieldExpression><![CDATA[$F{deficiencia}]]></textFieldExpression> | |
| 901 | + </textField> | |
| 902 | + <staticText> | |
| 903 | + <reportElement uuid="35bf3d75-3b26-4346-aa01-f43c7dafebce" x="7" y="329" width="178" height="19"/> | |
| 904 | + <textElement> | |
| 905 | + <font fontName="DejaVu Sans" size="10" isBold="true"/> | |
| 906 | + </textElement> | |
| 907 | + <text><![CDATA[DEFICIÊNCIAS]]></text> | |
| 908 | + </staticText> | |
| 909 | + <staticText> | |
| 910 | + <reportElement uuid="964683f8-4237-4276-9846-e203d6246746" x="233" y="208" width="44" height="12"/> | |
| 911 | + <textElement> | |
| 912 | + <font fontName="DejaVu Sans" size="8"/> | |
| 913 | + </textElement> | |
| 914 | + <text><![CDATA[CIDADE:]]></text> | |
| 915 | + </staticText> | |
| 916 | + <staticText> | |
| 917 | + <reportElement uuid="42f2d7ca-da39-447b-a5b5-05cc34b437e4" x="7" y="223" width="75" height="12"/> | |
| 918 | + <textElement> | |
| 919 | + <font fontName="DejaVu Sans" size="8"/> | |
| 920 | + </textElement> | |
| 921 | + <text><![CDATA[COMPLEMENTO:]]></text> | |
| 922 | + </staticText> | |
| 923 | + <textField isBlankWhenNull="true"> | |
| 924 | + <reportElement uuid="de254738-bb2e-4934-b732-ad54b68522a6" x="314" y="192" width="21" height="12"/> | |
| 925 | + <textElement> | |
| 926 | + <font fontName="DejaVu Sans" size="8"/> | |
| 927 | + </textElement> | |
| 928 | + <textFieldExpression><![CDATA[$F{letra}]]></textFieldExpression> | |
| 929 | + </textField> | |
| 930 | + <textField isBlankWhenNull="true"> | |
| 931 | + <reportElement uuid="8381a877-6904-4aa7-bb18-2c1fed5514e6" x="53" y="208" width="167" height="12"/> | |
| 932 | + <textElement> | |
| 933 | + <font fontName="DejaVu Sans" size="8"/> | |
| 934 | + </textElement> | |
| 935 | + <textFieldExpression><![CDATA[$F{bairro}]]></textFieldExpression> | |
| 936 | + </textField> | |
| 937 | + <textField isBlankWhenNull="true"> | |
| 938 | + <reportElement uuid="894aa8d6-8950-48c3-9636-a687f205c23c" x="437" y="192" width="25" height="12"/> | |
| 939 | + <textElement> | |
| 940 | + <font fontName="DejaVu Sans" size="8"/> | |
| 941 | + </textElement> | |
| 942 | + <textFieldExpression><![CDATA[$F{andar}]]></textFieldExpression> | |
| 943 | + </textField> | |
| 944 | + <textField isBlankWhenNull="true"> | |
| 945 | + <reportElement uuid="b6f64d8b-9655-4501-9a8d-f4b678923312" x="278" y="208" width="116" height="12"/> | |
| 946 | + <textElement> | |
| 947 | + <font fontName="DejaVu Sans" size="8"/> | |
| 948 | + </textElement> | |
| 949 | + <textFieldExpression><![CDATA[$F{municipio}]]></textFieldExpression> | |
| 950 | + </textField> | |
| 951 | + <staticText> | |
| 952 | + <reportElement uuid="cb533d66-0e73-4065-8987-6d8f0f8926bc" x="337" y="192" width="38" height="12"/> | |
| 953 | + <textElement> | |
| 954 | + <font fontName="DejaVu Sans" size="8"/> | |
| 955 | + </textElement> | |
| 956 | + <text><![CDATA[BLOCO:]]></text> | |
| 957 | + </staticText> | |
| 958 | + <staticText> | |
| 959 | + <reportElement uuid="44ee2910-1b29-4939-b546-c75bc1e4376b" x="7" y="208" width="44" height="12"/> | |
| 960 | + <textElement> | |
| 961 | + <font fontName="DejaVu Sans" size="8"/> | |
| 962 | + </textElement> | |
| 963 | + <text><![CDATA[BAIRRO:]]></text> | |
| 964 | + </staticText> | |
| 965 | + <staticText> | |
| 966 | + <reportElement uuid="cf66a688-47bf-44a3-8e25-4e91fd7c93fe" x="399" y="208" width="44" height="12"/> | |
| 967 | + <textElement> | |
| 968 | + <font fontName="DejaVu Sans" size="8"/> | |
| 969 | + </textElement> | |
| 970 | + <text><![CDATA[ESTADO:]]></text> | |
| 971 | + </staticText> | |
| 972 | + <staticText> | |
| 973 | + <reportElement uuid="020045c1-d0ca-4016-b571-d6606afd6d55" x="7" y="303" width="38" height="12"/> | |
| 974 | + <textElement> | |
| 975 | + <font fontName="DejaVu Sans" size="8"/> | |
| 976 | + </textElement> | |
| 977 | + <text><![CDATA[E-MAIL:]]></text> | |
| 978 | + </staticText> | |
| 979 | + <staticText> | |
| 980 | + <reportElement uuid="578d6f99-ebff-470d-b326-02a329e6a0e4" x="85" y="288" width="6" height="12"/> | |
| 981 | + <textElement> | |
| 982 | + <font fontName="DejaVu Sans" size="8"/> | |
| 983 | + </textElement> | |
| 984 | + <text><![CDATA[)]]></text> | |
| 985 | + </staticText> | |
| 986 | + <textField isBlankWhenNull="true"> | |
| 987 | + <reportElement uuid="172f023e-acff-45c9-9c15-9827d7fa49be" x="68" y="288" width="19" height="12"/> | |
| 988 | + <textElement textAlignment="Center"> | |
| 989 | + <font fontName="DejaVu Sans" size="8"/> | |
| 990 | + </textElement> | |
| 991 | + <textFieldExpression><![CDATA[$F{ddd}]]></textFieldExpression> | |
| 992 | + </textField> | |
| 993 | + <staticText> | |
| 994 | + <reportElement uuid="c12e2494-6a23-498c-9779-57f907466f7f" x="7" y="288" width="56" height="12"/> | |
| 995 | + <textElement> | |
| 996 | + <font fontName="DejaVu Sans" size="8"/> | |
| 997 | + </textElement> | |
| 998 | + <text><![CDATA[TELEFONE:]]></text> | |
| 999 | + </staticText> | |
| 1000 | + <staticText> | |
| 1001 | + <reportElement uuid="845cbf25-d509-4691-afa7-17ac4a317d40" x="7" y="270" width="56" height="12"/> | |
| 1002 | + <textElement> | |
| 1003 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1004 | + </textElement> | |
| 1005 | + <text><![CDATA[BENEFÍCIO:]]></text> | |
| 1006 | + </staticText> | |
| 1007 | + <textField isBlankWhenNull="true"> | |
| 1008 | + <reportElement uuid="f3d4292a-b621-4f81-8a31-325179473052" x="494" y="208" width="55" height="12"/> | |
| 1009 | + <textElement> | |
| 1010 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1011 | + </textElement> | |
| 1012 | + <textFieldExpression><![CDATA[$F{cep}]]></textFieldExpression> | |
| 1013 | + </textField> | |
| 1014 | + <textField isBlankWhenNull="true"> | |
| 1015 | + <reportElement uuid="59c854c2-7961-4357-b21a-9fa3beaa416d" x="74" y="192" width="146" height="12"/> | |
| 1016 | + <textElement> | |
| 1017 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1018 | + </textElement> | |
| 1019 | + <textFieldExpression><![CDATA[$F{logradouro}]]></textFieldExpression> | |
| 1020 | + </textField> | |
| 1021 | + <staticText> | |
| 1022 | + <reportElement uuid="a0bc7b57-a42a-44f6-b4c1-e28a2e058073" x="313" y="270" width="69" height="12"/> | |
| 1023 | + <textElement> | |
| 1024 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1025 | + </textElement> | |
| 1026 | + <text><![CDATA[ALFABETIZADO:]]></text> | |
| 1027 | + </staticText> | |
| 1028 | + <textField pattern="###0" isBlankWhenNull="true"> | |
| 1029 | + <reportElement uuid="5195282a-b5fd-46de-a8c7-ff00d5fe18b6" x="92" y="288" width="81" height="12"/> | |
| 1030 | + <textElement> | |
| 1031 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1032 | + </textElement> | |
| 1033 | + <textFieldExpression><![CDATA[$F{fone}]]></textFieldExpression> | |
| 1034 | + </textField> | |
| 1035 | + <textField isBlankWhenNull="true"> | |
| 1036 | + <reportElement uuid="c6511799-60f5-41cf-8a70-e8f5d04be847" x="385" y="72" width="76" height="12"/> | |
| 1037 | + <textElement> | |
| 1038 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1039 | + </textElement> | |
| 1040 | + <textFieldExpression><![CDATA[$F{pais_origem}]]></textFieldExpression> | |
| 1041 | + </textField> | |
| 1042 | + <textField isBlankWhenNull="true"> | |
| 1043 | + <reportElement uuid="f30752fc-803f-4321-9718-ddfce91daa01" x="375" y="40" width="86" height="12"/> | |
| 1044 | + <textElement> | |
| 1045 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1046 | + </textElement> | |
| 1047 | + <textFieldExpression><![CDATA[$F{estado_civil}]]></textFieldExpression> | |
| 1048 | + </textField> | |
| 1049 | + <staticText> | |
| 1050 | + <reportElement uuid="fdb57389-e1a7-4b3e-a530-67238ce1a96d" x="7" y="25" width="38" height="12"/> | |
| 1051 | + <textElement> | |
| 1052 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1053 | + </textElement> | |
| 1054 | + <text><![CDATA[NOME:]]></text> | |
| 1055 | + </staticText> | |
| 1056 | + <textField isBlankWhenNull="true"> | |
| 1057 | + <reportElement uuid="5ec0fadd-8ffe-43f0-b893-282cef35469f" x="347" y="56" width="26" height="12"/> | |
| 1058 | + <textElement> | |
| 1059 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1060 | + </textElement> | |
| 1061 | + <textFieldExpression><![CDATA[$F{municipio_uf}]]></textFieldExpression> | |
| 1062 | + </textField> | |
| 1063 | + <staticText> | |
| 1064 | + <reportElement uuid="09815a2b-de04-4efd-a7cc-4cf73177a336" x="7" y="40" width="38" height="12"/> | |
| 1065 | + <textElement> | |
| 1066 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1067 | + </textElement> | |
| 1068 | + <text><![CDATA[SEXO:]]></text> | |
| 1069 | + </staticText> | |
| 1070 | + <textField pattern="" isBlankWhenNull="true"> | |
| 1071 | + <reportElement uuid="8a36d309-e3e5-4108-9e79-617eef4efaa6" x="377" y="539" width="19" height="12"/> | |
| 1072 | + <textElement textAlignment="Center"> | |
| 1073 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1074 | + </textElement> | |
| 1075 | + <textFieldExpression><![CDATA[$F{ddd_responsavel}]]></textFieldExpression> | |
| 1076 | + </textField> | |
| 1077 | + <textField pattern="" isBlankWhenNull="true"> | |
| 1078 | + <reportElement uuid="32750d2b-736b-458c-89b8-fa6c2ea293e7" x="398" y="539" width="40" height="12"/> | |
| 1079 | + <textElement> | |
| 1080 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1081 | + </textElement> | |
| 1082 | + <textFieldExpression><![CDATA[$F{fone_responsavel}]]></textFieldExpression> | |
| 1083 | + </textField> | |
| 1084 | + <staticText> | |
| 1085 | + <reportElement uuid="fd6b7010-e862-4f34-80fe-2ad8fc4d615a" x="377" y="539" width="3" height="12"/> | |
| 1086 | + <textElement> | |
| 1087 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1088 | + </textElement> | |
| 1089 | + <text><![CDATA[(]]></text> | |
| 1090 | + </staticText> | |
| 1091 | + <staticText> | |
| 1092 | + <reportElement uuid="163b039b-b355-4452-98a5-c98565450f18" x="394" y="539" width="3" height="12"/> | |
| 1093 | + <textElement> | |
| 1094 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1095 | + </textElement> | |
| 1096 | + <text><![CDATA[)]]></text> | |
| 1097 | + </staticText> | |
| 1098 | + <textField isBlankWhenNull="true"> | |
| 1099 | + <reportElement uuid="6eb6fdd1-5680-474f-8d99-01c7ecc6a383" x="233" y="559" width="21" height="12"/> | |
| 1100 | + <textElement> | |
| 1101 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1102 | + </textElement> | |
| 1103 | + <textFieldExpression><![CDATA[$F{numero_responsavel}]]></textFieldExpression> | |
| 1104 | + </textField> | |
| 1105 | + <textField isBlankWhenNull="true"> | |
| 1106 | + <reportElement uuid="bb872eb1-94dd-488b-87cc-22e466e2aa24" x="297" y="559" width="14" height="12"/> | |
| 1107 | + <textElement> | |
| 1108 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1109 | + </textElement> | |
| 1110 | + <textFieldExpression><![CDATA[$F{letra_responsavel}]]></textFieldExpression> | |
| 1111 | + </textField> | |
| 1112 | + <textField isBlankWhenNull="true"> | |
| 1113 | + <reportElement uuid="d452fade-51c8-4492-aaca-5197dd59c63e" x="350" y="559" width="19" height="12"/> | |
| 1114 | + <textElement> | |
| 1115 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1116 | + </textElement> | |
| 1117 | + <textFieldExpression><![CDATA[$F{bloco_responsavel}]]></textFieldExpression> | |
| 1118 | + </textField> | |
| 1119 | + <staticText> | |
| 1120 | + <reportElement uuid="d41a104a-1814-41d4-90cc-7cdc45e75e83" x="7" y="519" width="178" height="19"/> | |
| 1121 | + <textElement> | |
| 1122 | + <font fontName="DejaVu Sans" size="10" isBold="true"/> | |
| 1123 | + </textElement> | |
| 1124 | + <text><![CDATA[DADOS DO RESPONSÁVEL]]></text> | |
| 1125 | + </staticText> | |
| 1126 | + <staticText> | |
| 1127 | + <reportElement uuid="3ceb65fd-429a-4a46-981d-d98c2782a7e6" x="7" y="539" width="38" height="12"/> | |
| 1128 | + <textElement> | |
| 1129 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1130 | + </textElement> | |
| 1131 | + <text><![CDATA[NOME:]]></text> | |
| 1132 | + </staticText> | |
| 1133 | + <staticText> | |
| 1134 | + <reportElement uuid="62d3cafe-42d2-4cac-af3d-57562cac8fe9" x="173" y="539" width="24" height="12"/> | |
| 1135 | + <textElement> | |
| 1136 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1137 | + </textElement> | |
| 1138 | + <text><![CDATA[CPF:]]></text> | |
| 1139 | + </staticText> | |
| 1140 | + <staticText> | |
| 1141 | + <reportElement uuid="eee29665-5e4c-40d5-a734-b297139ea48e" x="262" y="539" width="33" height="12"/> | |
| 1142 | + <textElement> | |
| 1143 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1144 | + </textElement> | |
| 1145 | + <text><![CDATA[SEXO:]]></text> | |
| 1146 | + </staticText> | |
| 1147 | + <staticText> | |
| 1148 | + <reportElement uuid="403ef83d-fb55-4cf5-9219-b9dd4950cabd" x="7" y="557" width="64" height="12"/> | |
| 1149 | + <textElement> | |
| 1150 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1151 | + </textElement> | |
| 1152 | + <text><![CDATA[ENDEREÇO:]]></text> | |
| 1153 | + </staticText> | |
| 1154 | + <staticText> | |
| 1155 | + <reportElement uuid="83ffeab8-47b5-4a03-9377-19ad4704bfed" x="212" y="559" width="20" height="12"/> | |
| 1156 | + <textElement> | |
| 1157 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1158 | + </textElement> | |
| 1159 | + <text><![CDATA[Nº:]]></text> | |
| 1160 | + </staticText> | |
| 1161 | + <staticText> | |
| 1162 | + <reportElement uuid="6c14606b-4887-4961-acef-a9f8abc5809a" x="262" y="559" width="34" height="12"/> | |
| 1163 | + <textElement> | |
| 1164 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1165 | + </textElement> | |
| 1166 | + <text><![CDATA[LETRA:]]></text> | |
| 1167 | + </staticText> | |
| 1168 | + <staticText> | |
| 1169 | + <reportElement uuid="b26865dc-fda2-4417-8b4a-83d0e67c42c0" x="313" y="559" width="37" height="12"/> | |
| 1170 | + <textElement> | |
| 1171 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1172 | + </textElement> | |
| 1173 | + <text><![CDATA[BLOCO:]]></text> | |
| 1174 | + </staticText> | |
| 1175 | + <staticText> | |
| 1176 | + <reportElement uuid="d5bcd989-3237-4792-8329-bd6994a36923" x="370" y="559" width="37" height="12"/> | |
| 1177 | + <textElement> | |
| 1178 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1179 | + </textElement> | |
| 1180 | + <text><![CDATA[ANDAR:]]></text> | |
| 1181 | + </staticText> | |
| 1182 | + <staticText> | |
| 1183 | + <reportElement uuid="ac6e3b96-80ff-441d-9b5b-aa1e789f4507" x="440" y="559" width="34" height="12"/> | |
| 1184 | + <textElement> | |
| 1185 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1186 | + </textElement> | |
| 1187 | + <text><![CDATA[APTO:]]></text> | |
| 1188 | + </staticText> | |
| 1189 | + <staticText> | |
| 1190 | + <reportElement uuid="12397163-97ab-4f57-9e6f-d0f930a13e47" x="7" y="574" width="44" height="12"/> | |
| 1191 | + <textElement> | |
| 1192 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1193 | + </textElement> | |
| 1194 | + <text><![CDATA[BAIRRO:]]></text> | |
| 1195 | + </staticText> | |
| 1196 | + <staticText> | |
| 1197 | + <reportElement uuid="f9bab239-3e40-4d1f-97f8-49697fbe9dc4" x="212" y="574" width="41" height="12"/> | |
| 1198 | + <textElement> | |
| 1199 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1200 | + </textElement> | |
| 1201 | + <text><![CDATA[CIDADE:]]></text> | |
| 1202 | + </staticText> | |
| 1203 | + <staticText> | |
| 1204 | + <reportElement uuid="7561c3d4-497b-4463-96ae-6383e216576d" x="368" y="575" width="47" height="12"/> | |
| 1205 | + <textElement> | |
| 1206 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1207 | + </textElement> | |
| 1208 | + <text><![CDATA[ESTADO:]]></text> | |
| 1209 | + </staticText> | |
| 1210 | + <staticText> | |
| 1211 | + <reportElement uuid="d3204bea-a5e1-4796-9c08-21c9b539161f" x="442" y="575" width="32" height="12"/> | |
| 1212 | + <textElement> | |
| 1213 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1214 | + </textElement> | |
| 1215 | + <text><![CDATA[CEP:]]></text> | |
| 1216 | + </staticText> | |
| 1217 | + <staticText> | |
| 1218 | + <reportElement uuid="bc019ee6-7b8c-4380-a535-25f794890910" x="321" y="539" width="55" height="12"/> | |
| 1219 | + <textElement> | |
| 1220 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1221 | + </textElement> | |
| 1222 | + <text><![CDATA[TELEFONE:]]></text> | |
| 1223 | + </staticText> | |
| 1224 | + <staticText> | |
| 1225 | + <reportElement uuid="9d03630b-d0c3-421a-a877-5e4a7b1c1589" x="439" y="539" width="35" height="12"/> | |
| 1226 | + <textElement> | |
| 1227 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1228 | + </textElement> | |
| 1229 | + <text><![CDATA[E-MAIL:]]></text> | |
| 1230 | + </staticText> | |
| 1231 | + <textField isBlankWhenNull="true"> | |
| 1232 | + <reportElement uuid="08041d13-47e8-4445-8eec-262d161a892c" x="407" y="559" width="30" height="12"/> | |
| 1233 | + <textElement> | |
| 1234 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1235 | + </textElement> | |
| 1236 | + <textFieldExpression><![CDATA[$F{andar_responsavel}]]></textFieldExpression> | |
| 1237 | + </textField> | |
| 1238 | + <textField isBlankWhenNull="true"> | |
| 1239 | + <reportElement uuid="d324947b-7676-40cc-bc74-1d2302470d02" x="475" y="559" width="28" height="12"/> | |
| 1240 | + <textElement> | |
| 1241 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1242 | + </textElement> | |
| 1243 | + <textFieldExpression><![CDATA[$F{apartamento_responsavel}]]></textFieldExpression> | |
| 1244 | + </textField> | |
| 1245 | + <textField isBlankWhenNull="true"> | |
| 1246 | + <reportElement uuid="0d809066-5105-4e1c-b7c0-79a2d1939d0a" x="475" y="575" width="55" height="12"/> | |
| 1247 | + <textElement> | |
| 1248 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1249 | + </textElement> | |
| 1250 | + <textFieldExpression><![CDATA[$F{cep_responsavel}]]></textFieldExpression> | |
| 1251 | + </textField> | |
| 1252 | + <textField isBlankWhenNull="true"> | |
| 1253 | + <reportElement uuid="4e0e73bc-8aac-4550-b6e5-54de272c62e1" x="52" y="574" width="124" height="12"/> | |
| 1254 | + <textElement> | |
| 1255 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1256 | + </textElement> | |
| 1257 | + <textFieldExpression><![CDATA[$F{bairro_responsavel}]]></textFieldExpression> | |
| 1258 | + </textField> | |
| 1259 | + <staticText> | |
| 1260 | + <reportElement uuid="e80df107-fae2-40c0-9359-c1115fa7878c" x="176" y="436" width="36" height="12"/> | |
| 1261 | + <textElement> | |
| 1262 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1263 | + </textElement> | |
| 1264 | + <text><![CDATA[ZONA:]]></text> | |
| 1265 | + </staticText> | |
| 1266 | + <staticText> | |
| 1267 | + <reportElement uuid="60db6e47-407a-4a52-b18d-386f987c1928" x="7" y="56" width="76" height="12"/> | |
| 1268 | + <textElement> | |
| 1269 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1270 | + </textElement> | |
| 1271 | + <text><![CDATA[NATURALIDADE:]]></text> | |
| 1272 | + </staticText> | |
| 1273 | + <textField isBlankWhenNull="true"> | |
| 1274 | + <reportElement uuid="809d6e12-8206-447f-8048-fb896640edb5" x="84" y="72" width="207" height="12"/> | |
| 1275 | + <textElement> | |
| 1276 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1277 | + </textElement> | |
| 1278 | + <textFieldExpression><![CDATA[$F{nacionalidade}]]></textFieldExpression> | |
| 1279 | + </textField> | |
| 1280 | + <staticText> | |
| 1281 | + <reportElement uuid="2c32828f-7343-4305-8c4d-98b256b1cb36" x="7" y="72" width="76" height="12"/> | |
| 1282 | + <textElement> | |
| 1283 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1284 | + </textElement> | |
| 1285 | + <text><![CDATA[NACIONALIDADE:]]></text> | |
| 1286 | + </staticText> | |
| 1287 | + <textField isBlankWhenNull="true"> | |
| 1288 | + <reportElement uuid="1d543449-bce5-46bb-9a70-c6634a3738f6" x="46" y="40" width="100" height="12"/> | |
| 1289 | + <textElement> | |
| 1290 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1291 | + </textElement> | |
| 1292 | + <textFieldExpression><![CDATA[$F{sexo}]]></textFieldExpression> | |
| 1293 | + </textField> | |
| 1294 | + <staticText> | |
| 1295 | + <reportElement uuid="4f74ce67-ee65-4570-9caf-7d129fddd528" x="7" y="87" width="51" height="12"/> | |
| 1296 | + <textElement> | |
| 1297 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1298 | + </textElement> | |
| 1299 | + <text><![CDATA[RELIGIÃO:]]></text> | |
| 1300 | + </staticText> | |
| 1301 | + <staticText> | |
| 1302 | + <reportElement uuid="3a1d28a4-23a4-4551-906c-716150a46aee" x="465" y="208" width="28" height="12"/> | |
| 1303 | + <textElement> | |
| 1304 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1305 | + </textElement> | |
| 1306 | + <text><![CDATA[CEP:]]></text> | |
| 1307 | + </staticText> | |
| 1308 | + <line> | |
| 1309 | + <reportElement uuid="682a8e21-884a-471f-aa2d-3a94022bf0f6" x="2" y="326" width="549" height="1"/> | |
| 1310 | + <graphicElement> | |
| 1311 | + <pen lineWidth="0.25"/> | |
| 1312 | + </graphicElement> | |
| 1313 | + </line> | |
| 1314 | + <line> | |
| 1315 | + <reportElement uuid="9e9aa228-4021-47bb-a0a3-6ba20bf841b7" x="551" y="326" width="1" height="39"/> | |
| 1316 | + <graphicElement> | |
| 1317 | + <pen lineWidth="0.25"/> | |
| 1318 | + </graphicElement> | |
| 1319 | + </line> | |
| 1320 | + <line> | |
| 1321 | + <reportElement uuid="ed3a6406-c9a7-455a-968c-2574ce97fa0b" x="2" y="326" width="1" height="39"/> | |
| 1322 | + <graphicElement> | |
| 1323 | + <pen lineWidth="0.25"/> | |
| 1324 | + </graphicElement> | |
| 1325 | + </line> | |
| 1326 | + <line> | |
| 1327 | + <reportElement uuid="c55a03fa-b51b-4054-b571-cf5e3a9d9aff" x="2" y="365" width="549" height="1"/> | |
| 1328 | + <graphicElement> | |
| 1329 | + <pen lineWidth="0.25"/> | |
| 1330 | + </graphicElement> | |
| 1331 | + </line> | |
| 1332 | + <line> | |
| 1333 | + <reportElement uuid="2ac03314-ee4e-42a4-8398-a817d8b6b6be" x="2" y="376" width="549" height="1"/> | |
| 1334 | + <graphicElement> | |
| 1335 | + <pen lineWidth="0.25"/> | |
| 1336 | + </graphicElement> | |
| 1337 | + </line> | |
| 1338 | + <line> | |
| 1339 | + <reportElement uuid="714c408a-4139-4701-812d-bcb10d786eac" x="2" y="504" width="549" height="1"/> | |
| 1340 | + <graphicElement> | |
| 1341 | + <pen lineWidth="0.25"/> | |
| 1342 | + </graphicElement> | |
| 1343 | + </line> | |
| 1344 | + <line> | |
| 1345 | + <reportElement uuid="b6856112-9e0d-4235-92c5-15dba0871f69" x="551" y="377" width="1" height="127"/> | |
| 1346 | + <graphicElement> | |
| 1347 | + <pen lineWidth="0.25"/> | |
| 1348 | + </graphicElement> | |
| 1349 | + </line> | |
| 1350 | + <line> | |
| 1351 | + <reportElement uuid="2a6605b1-0869-4baf-908e-c7d1d3f75225" x="2" y="377" width="1" height="127"/> | |
| 1352 | + <graphicElement> | |
| 1353 | + <pen lineWidth="0.25"/> | |
| 1354 | + </graphicElement> | |
| 1355 | + </line> | |
| 1356 | + <line> | |
| 1357 | + <reportElement uuid="030df1c7-fb71-4317-89d3-e55d05e39a0c" x="2" y="515" width="549" height="1"/> | |
| 1358 | + <graphicElement> | |
| 1359 | + <pen lineWidth="0.25"/> | |
| 1360 | + </graphicElement> | |
| 1361 | + </line> | |
| 1362 | + <line> | |
| 1363 | + <reportElement uuid="6ed56168-25d8-449c-ba9d-a8cc6f67371f" x="2" y="589" width="549" height="1"/> | |
| 1364 | + <graphicElement> | |
| 1365 | + <pen lineWidth="0.25"/> | |
| 1366 | + </graphicElement> | |
| 1367 | + </line> | |
| 1368 | + <line> | |
| 1369 | + <reportElement uuid="2eaa11a7-c654-433b-a081-770eb33f48bb" x="551" y="515" width="1" height="74"/> | |
| 1370 | + <graphicElement> | |
| 1371 | + <pen lineWidth="0.25"/> | |
| 1372 | + </graphicElement> | |
| 1373 | + </line> | |
| 1374 | + <line> | |
| 1375 | + <reportElement uuid="f7d5b7c0-f48c-4ff7-808d-306c4c0abfb3" x="2" y="515" width="1" height="74"/> | |
| 1376 | + <graphicElement> | |
| 1377 | + <pen lineWidth="0.25"/> | |
| 1378 | + </graphicElement> | |
| 1379 | + </line> | |
| 1380 | + <textField pattern="dd/MM/yyyy" isBlankWhenNull="true"> | |
| 1381 | + <reportElement uuid="2c8d1de8-b85f-4929-b72f-efe995a14ff7" x="412" y="25" width="53" height="12"/> | |
| 1382 | + <textElement> | |
| 1383 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1384 | + </textElement> | |
| 1385 | + <textFieldExpression><![CDATA[$F{data_nasc}]]></textFieldExpression> | |
| 1386 | + </textField> | |
| 1387 | + <textField isBlankWhenNull="true"> | |
| 1388 | + <reportElement uuid="16c6eca7-26fb-456a-958b-bef4d3fdd86e" x="74" y="132" width="216" height="12"/> | |
| 1389 | + <textElement> | |
| 1390 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1391 | + </textElement> | |
| 1392 | + <textFieldExpression><![CDATA[$F{nm_pai2}]]></textFieldExpression> | |
| 1393 | + </textField> | |
| 1394 | + <textField isBlankWhenNull="true"> | |
| 1395 | + <reportElement uuid="d0c0956f-81d9-4cec-8557-c0fedf6f23ef" x="74" y="147" width="216" height="12"/> | |
| 1396 | + <textElement> | |
| 1397 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1398 | + </textElement> | |
| 1399 | + <textFieldExpression><![CDATA[$F{nm_mae2}]]></textFieldExpression> | |
| 1400 | + </textField> | |
| 1401 | + <textField isBlankWhenNull="true"> | |
| 1402 | + <reportElement uuid="dbfc1f3d-a771-42db-9eb6-37ba6c38a29d" x="68" y="270" width="237" height="12"/> | |
| 1403 | + <textElement> | |
| 1404 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1405 | + </textElement> | |
| 1406 | + <textFieldExpression><![CDATA[$F{beneficio}]]></textFieldExpression> | |
| 1407 | + </textField> | |
| 1408 | + <staticText> | |
| 1409 | + <reportElement uuid="bdb57201-f198-4977-844e-a5c7329a42be" x="7" y="473" width="53" height="12"/> | |
| 1410 | + <textElement> | |
| 1411 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1412 | + </textElement> | |
| 1413 | + <text><![CDATA[CERTIDÃO:]]></text> | |
| 1414 | + </staticText> | |
| 1415 | + <textField isBlankWhenNull="true"> | |
| 1416 | + <reportElement uuid="198a9f1e-38eb-4475-8016-41ee4ef1c1d2" x="61" y="473" width="410" height="12"/> | |
| 1417 | + <textElement> | |
| 1418 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1419 | + </textElement> | |
| 1420 | + <textFieldExpression><![CDATA[$F{certidao_nascimento}]]></textFieldExpression> | |
| 1421 | + </textField> | |
| 1422 | + <textField isBlankWhenNull="true"> | |
| 1423 | + <reportElement uuid="3f385427-d4cf-4eb7-b4f0-62a8c70a0e86" x="385" y="270" width="48" height="12"/> | |
| 1424 | + <textElement> | |
| 1425 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1426 | + </textElement> | |
| 1427 | + <textFieldExpression><![CDATA[$F{alfabetizado}]]></textFieldExpression> | |
| 1428 | + </textField> | |
| 1429 | + </band> | |
| 1430 | + </detail> | |
| 1431 | + <columnFooter> | |
| 1432 | + <band height="11" splitType="Stretch"/> | |
| 1433 | + </columnFooter> | |
| 1434 | + <pageFooter> | |
| 1435 | + <band height="15" splitType="Stretch"/> | |
| 1436 | + </pageFooter> | |
| 1437 | + <summary> | |
| 1438 | + <band height="18" splitType="Stretch"/> | |
| 1439 | + </summary> | |
| 1440 | +</jasperReport> | ... | ... |
ieducar/modules/Reports/ReportSources/portabilis_historico_escolar_9anos.jrxml
0 → 100644
| ... | ... | @@ -0,0 +1,2334 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="portabilis_historico_escolar" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="b207692a-3e84-4d74-845d-329366699ea8"> | |
| 3 | + <property name="ireport.zoom" value="1.0"/> | |
| 4 | + <property name="ireport.x" value="0"/> | |
| 5 | + <property name="ireport.y" value="38"/> | |
| 6 | + <style name="Crosstab Data Text" hAlign="Center"/> | |
| 7 | + <subDataset name="dataset1" uuid="5d8785c2-e4e7-4276-8f51-0b774abc773f"/> | |
| 8 | + <subDataset name="dataset2" uuid="921a3d0c-00bb-41a8-af22-5f75c89e8523"/> | |
| 9 | + <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false"> | |
| 10 | + <defaultValueExpression><![CDATA["C:\\Xampp\\xampp\\htdocs\\PHPJasperXML\\"]]></defaultValueExpression> | |
| 11 | + </parameter> | |
| 12 | + <parameter name="instituicao" class="java.lang.Integer"> | |
| 13 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 14 | + </parameter> | |
| 15 | + <parameter name="escola" class="java.lang.Integer"> | |
| 16 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 17 | + </parameter> | |
| 18 | + <parameter name="aluno" class="java.lang.Integer"> | |
| 19 | + <defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression> | |
| 20 | + </parameter> | |
| 21 | + <parameter name="logo" class="java.lang.String"> | |
| 22 | + <defaultValueExpression><![CDATA[]]></defaultValueExpression> | |
| 23 | + </parameter> | |
| 24 | + <queryString> | |
| 25 | + <![CDATA[select nm_disciplina, | |
| 26 | + MAX(nota) AS NOTA, | |
| 27 | + MAX(nota_1serie) AS NOTA_1SERIE, | |
| 28 | + MAX(nota_2serie) AS NOTA_2SERIE, | |
| 29 | + MAX(nota_3serie) AS NOTA_3SERIE, | |
| 30 | + MAX(nota_4serie) AS NOTA_4SERIE, | |
| 31 | + MAX(nota_5serie) AS NOTA_5SERIE, | |
| 32 | + MAX(nota_6serie) AS NOTA_6SERIE, | |
| 33 | + MAX(nota_7serie) AS NOTA_7SERIE, | |
| 34 | + MAX(nota_8serie) AS NOTA_8SERIE, | |
| 35 | + MAX(nota_9serie) AS NOTA_9SERIE, | |
| 36 | + MAX(ano_1serie) AS ano_1serie, | |
| 37 | + MAX(escola_1serie) AS escola_1serie, | |
| 38 | + MAX(escola_cidade_1serie) AS escola_cidade_1serie, | |
| 39 | + MAX(escola_uf_1serie) AS escola_uf_1serie, | |
| 40 | + MAX(ano_2serie) AS ano_2serie, | |
| 41 | + MAX(escola_2serie) AS escola_2serie, | |
| 42 | + MAX(escola_cidade_2serie) AS escola_cidade_2serie, | |
| 43 | + MAX(escola_uf_2serie) AS escola_uf_2serie, | |
| 44 | + MAX(ano_3serie) AS ano_3serie, | |
| 45 | + MAX(escola_3serie) AS escola_3serie, | |
| 46 | + MAX(escola_cidade_3serie) AS escola_cidade_3serie, | |
| 47 | + MAX(escola_uf_3serie) AS escola_uf_3serie, | |
| 48 | + MAX(ano_4serie) AS ano_4serie, | |
| 49 | + MAX(escola_4serie) AS escola_4serie, | |
| 50 | + MAX(escola_cidade_4serie) AS escola_cidade_4serie, | |
| 51 | + MAX(escola_uf_4serie) AS escola_uf_4serie, | |
| 52 | + MAX(ano_5serie) AS ano_5serie, | |
| 53 | + MAX(escola_5serie) AS escola_5serie, | |
| 54 | + MAX(escola_cidade_5serie) AS escola_cidade_5serie, | |
| 55 | + MAX(escola_uf_5serie) AS escola_uf_5serie, | |
| 56 | + MAX(ano_6serie) AS ano_6serie, | |
| 57 | + MAX(escola_6serie) AS escola_6serie, | |
| 58 | + MAX(escola_cidade_6serie) AS escola_cidade_6serie, | |
| 59 | + MAX(escola_uf_6serie) AS escola_uf_6serie, | |
| 60 | + MAX(ano_7serie) AS ano_7serie, | |
| 61 | + MAX(escola_7serie) AS escola_7serie, | |
| 62 | + MAX(escola_cidade_7serie) AS escola_cidade_7serie, | |
| 63 | + MAX(escola_uf_7serie) AS escola_uf_7serie, | |
| 64 | + MAX(ano_8serie) AS ano_8serie, | |
| 65 | + MAX(escola_8serie) AS escola_8serie, | |
| 66 | + MAX(escola_cidade_8serie) AS escola_cidade_8serie, | |
| 67 | + MAX(escola_uf_8serie) AS escola_uf_8serie, | |
| 68 | + MAX(ano_9serie) AS ano_9serie, | |
| 69 | + MAX(escola_9serie) AS escola_9serie, | |
| 70 | + MAX(escola_cidade_9serie) AS escola_cidade_9serie, | |
| 71 | + MAX(escola_uf_9serie) AS escola_uf_9serie, | |
| 72 | + MAX(data_atual) AS data_atual, | |
| 73 | + MAX(cod_aluno) AS cod_aluno, | |
| 74 | + MAX(nm_instituicao) AS nm_instituicao, | |
| 75 | + MAX(nm_responsavel) AS nm_responsavel, | |
| 76 | + MAX(num_termo) AS nm_termo, | |
| 77 | + MAX(num_livro) AS nm_livro, | |
| 78 | + MAX(num_folha) AS num_folha, | |
| 79 | + MAX(nome_serie_aux) AS nome_serie_aux, | |
| 80 | + MAx(nome_curso) AS nome_curso, | |
| 81 | + MAX(obs1) AS obs1, | |
| 82 | + MAX(obs2) AS obs2, | |
| 83 | + MAX(obs3) AS obs3, | |
| 84 | + MAX(obs4) AS obs4, | |
| 85 | + MAX(obs5) AS obs5, | |
| 86 | + MAX(obs6) AS obs6, | |
| 87 | + MAX(obs7) AS obs7, | |
| 88 | + MAX(obs8) AS obs8, | |
| 89 | + MAX(obs9) AS obs9, | |
| 90 | + MAX(freq1) AS freq1, | |
| 91 | + MAX(freq2) AS freq2, | |
| 92 | + MAX(freq3) AS freq3, | |
| 93 | + MAX(freq4) AS freq4, | |
| 94 | + MAX(freq5) AS freq5, | |
| 95 | + MAX(freq6) AS freq6, | |
| 96 | + MAX(freq7) AS freq7, | |
| 97 | + MAX(freq8) AS freq8, | |
| 98 | + MAX(freq8) AS freq9, | |
| 99 | + MAX(status_serie1) AS status_serie1, | |
| 100 | + MAX(status_serie2) AS status_serie2, | |
| 101 | + MAX(status_serie3) AS status_serie3, | |
| 102 | + MAX(status_serie4) AS status_serie4, | |
| 103 | + MAX(status_serie5) AS status_serie5, | |
| 104 | + MAX(status_serie6) AS status_serie6, | |
| 105 | + MAX(status_serie7) AS status_serie7, | |
| 106 | + MAX(status_serie8) AS status_serie8, | |
| 107 | + MAX(status_serie9) AS status_serie9, | |
| 108 | + MAX(quebra) AS quebra, | |
| 109 | + | |
| 110 | + (SELECT COALESCE((SELECT COALESCE (fcn_upper(ps.nome),fcn_upper(juridica.fantasia)) | |
| 111 | + FROM cadastro.pessoa ps, | |
| 112 | + cadastro.juridica, | |
| 113 | + pmieducar.escola | |
| 114 | + WHERE escola.cod_escola = $P{escola} AND | |
| 115 | + escola.ref_idpes = juridica.idpes AND | |
| 116 | + juridica.idpes = ps.idpes AND | |
| 117 | + ps.idpes = escola.ref_idpes),(SELECT nm_escola FROM pmieducar.escola_complemento where ref_cod_escola = $P{escola}))) AS nm_escola, | |
| 118 | + | |
| 119 | + | |
| 120 | + (SELECT fcn_upper(substring(logradouro.idtlog from 1 for 1)) || | |
| 121 | + lower(substring(logradouro.idtlog, 2)) | |
| 122 | + FROM public.logradouro, | |
| 123 | + cadastro.juridica, | |
| 124 | + cadastro.pessoa ps, | |
| 125 | + cadastro.endereco_pessoa, | |
| 126 | + pmieducar.escola | |
| 127 | + WHERE escola.cod_escola = $P{escola} AND | |
| 128 | + juridica.idpes = ps.idpes AND | |
| 129 | + ps.idpes = endereco_pessoa.idpes AND | |
| 130 | + endereco_pessoa.idlog = logradouro.idlog AND | |
| 131 | + juridica.idpes = escola.ref_idpes) AS tipo_logradouro, | |
| 132 | + | |
| 133 | + | |
| 134 | + (SELECT COALESCE((SELECT COALESCE((SELECT logradouro.nome | |
| 135 | + FROM public.logradouro, | |
| 136 | + cadastro.juridica, | |
| 137 | + cadastro.pessoa ps, | |
| 138 | + cadastro.endereco_pessoa, | |
| 139 | + pmieducar.escola | |
| 140 | + WHERE escola.cod_escola = $P{escola} AND | |
| 141 | + juridica.idpes = ps.idpes AND | |
| 142 | + ps.idpes = endereco_pessoa.idpes AND | |
| 143 | + endereco_pessoa.idlog = logradouro.idlog AND | |
| 144 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.logradouro FROM cadastro.endereco_externo, pmieducar.escola WHERE endereco_externo.idpes = escola.ref_idpes AND escola.cod_escola = $P{escola}))),(SELECT logradouro FROM pmieducar.escola_complemento where ref_cod_escola = $P{escola}))) AS logradouro, | |
| 145 | + | |
| 146 | + | |
| 147 | + (SELECT COALESCE((SELECT COALESCE ((SELECT municipio.nome | |
| 148 | + FROM public.municipio, | |
| 149 | + cadastro.endereco_pessoa, | |
| 150 | + cadastro.juridica, | |
| 151 | + public.bairro, | |
| 152 | + pmieducar.escola | |
| 153 | + WHERE escola.cod_escola = $P{escola} AND | |
| 154 | + endereco_pessoa.idbai = bairro.idbai AND | |
| 155 | + bairro.idmun = municipio.idmun AND | |
| 156 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 157 | + juridica.idpes = escola.ref_idpes), (SELECT endereco_externo.cidade FROM cadastro.endereco_externo, pmieducar.escola WHERE endereco_externo.idpes = escola.ref_idpes AND escola.cod_escola = $P{escola}))),(SELECT municipio FROM pmieducar.escola_complemento where ref_cod_escola = $P{escola}))) AS municipio, | |
| 158 | + | |
| 159 | + | |
| 160 | +(SELECT COALESCE((SELECT COALESCE((SELECT bairro.nome | |
| 161 | + FROM public.municipio, | |
| 162 | + cadastro.endereco_pessoa, | |
| 163 | + cadastro.juridica, | |
| 164 | + public.bairro, | |
| 165 | + pmieducar.escola | |
| 166 | + WHERE escola.cod_escola = $P{escola} AND | |
| 167 | + endereco_pessoa.idbai = bairro.idbai AND | |
| 168 | + bairro.idmun = municipio.idmun AND | |
| 169 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 170 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.bairro FROM cadastro.endereco_externo, pmieducar.escola WHERE endereco_externo.idpes = escola.ref_idpes AND escola.cod_escola = $P{escola}))),(SELECT bairro FROM pmieducar.escola_complemento where ref_cod_escola = $P{escola}))) AS bairro, | |
| 171 | + | |
| 172 | +(SELECT COALESCE((SELECT COALESCE((SELECT municipio.sigla_uf | |
| 173 | + FROM public.municipio, | |
| 174 | + cadastro.endereco_pessoa, | |
| 175 | + cadastro.juridica, | |
| 176 | + public.bairro, | |
| 177 | + pmieducar.escola | |
| 178 | + WHERE escola.cod_escola = $P{escola} AND | |
| 179 | + endereco_pessoa.idbai = bairro.idbai AND | |
| 180 | + bairro.idmun = municipio.idmun AND | |
| 181 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 182 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.sigla_uf FROM cadastro.endereco_externo, pmieducar.escola WHERE endereco_externo.idpes = escola.ref_idpes AND escola.cod_escola = $P{escola}))),(select inst.ref_sigla_uf from pmieducar.instituicao inst where inst.cod_instituicao = $P{instituicao}))) AS uf_municipio, | |
| 183 | + | |
| 184 | + (SELECT COALESCE((SELECT COALESCE((SELECT endereco_pessoa.numero | |
| 185 | + FROM cadastro.endereco_pessoa, | |
| 186 | + cadastro.juridica, | |
| 187 | + pmieducar.escola | |
| 188 | + WHERE escola.cod_escola = $P{escola} AND | |
| 189 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 190 | + juridica.idpes = escola.ref_idpes),(SELECT endereco_externo.numero FROM cadastro.endereco_externo, pmieducar.escola WHERE endereco_externo.idpes = escola.ref_idpes AND escola.cod_escola = $P{escola}))),(SELECT numero FROM pmieducar.escola_complemento where ref_cod_escola = $P{escola}))) AS numero, | |
| 191 | + | |
| 192 | + (SELECT COALESCE((SELECT COALESCE((SELECT to_char(endereco_pessoa.cep, '99999-999') | |
| 193 | + FROM cadastro.endereco_pessoa, | |
| 194 | + cadastro.juridica, | |
| 195 | + pmieducar.escola | |
| 196 | + WHERE escola.cod_escola = $P{escola} AND | |
| 197 | + juridica.idpes = endereco_pessoa.idpes AND | |
| 198 | + juridica.idpes = escola.ref_idpes),(SELECT to_char(endereco_externo.cep,'99999-999') FROM cadastro.endereco_externo, pmieducar.escola WHERE endereco_externo.idpes = escola.ref_idpes AND escola.cod_escola = $P{escola}))),(SELECT to_char(escola_complemento.cep,'99999-999') FROM pmieducar.escola_complemento where escola_complemento.ref_cod_escola = $P{escola}))) AS cep, | |
| 199 | + | |
| 200 | + (SELECT COALESCE((SELECT min(fone_pessoa.ddd) | |
| 201 | + FROM cadastro.fone_pessoa, | |
| 202 | + cadastro.juridica, | |
| 203 | + pmieducar.escola | |
| 204 | + WHERE escola.cod_escola = $P{escola} AND | |
| 205 | + juridica.idpes = fone_pessoa.idpes AND | |
| 206 | + juridica.idpes = escola.ref_idpes),(SELECT min(ddd_telefone) FROM pmieducar.escola_complemento where ref_cod_escola = $P{escola}))) AS fone_ddd, | |
| 207 | + | |
| 208 | + | |
| 209 | + (SELECT COALESCE((SELECT min(to_char(fone_pessoa.fone, '9999-9999')) | |
| 210 | + FROM cadastro.fone_pessoa, | |
| 211 | + cadastro.juridica, | |
| 212 | + pmieducar.escola | |
| 213 | + WHERE escola.cod_escola = $P{escola} AND | |
| 214 | + juridica.idpes = fone_pessoa.idpes AND | |
| 215 | + juridica.idpes = escola.ref_idpes),(SELECT min(to_char(telefone, '9999-9999')) FROM pmieducar.escola_complemento where escola_complemento.ref_cod_escola = $P{escola} ))) AS fone, | |
| 216 | + | |
| 217 | + | |
| 218 | + (SELECT COALESCE((SELECT ps.email | |
| 219 | + FROM cadastro.pessoa ps, | |
| 220 | + cadastro.juridica, | |
| 221 | + pmieducar.escola | |
| 222 | + WHERE escola.cod_escola = $P{escola} AND | |
| 223 | + juridica.idpes = ps.idpes AND | |
| 224 | + juridica.idpes = escola.ref_idpes),(SELECT email FROM pmieducar.escola_complemento where ref_cod_escola = $P{escola}))) AS email, | |
| 225 | + | |
| 226 | + to_char(CURRENT_DATE,'dd/mm/yyyy') AS data_atual, | |
| 227 | + to_char(current_timestamp, 'HH24:MI:SS') AS hora_atual, | |
| 228 | + | |
| 229 | +(SELECT public.fcn_upper(pessoa.nome) | |
| 230 | + FROM pmieducar.aluno, | |
| 231 | + cadastro.fisica, | |
| 232 | + cadastro.pessoa | |
| 233 | + WHERE pessoa.idpes = fisica.idpes AND | |
| 234 | + fisica.idpes = aluno.ref_idpes AND | |
| 235 | + aluno.cod_aluno = $P{aluno}) as nome_aluno, | |
| 236 | + | |
| 237 | + | |
| 238 | +(SELECT municipio.nome || '/' || municipio.sigla_uf | |
| 239 | + FROM public.municipio, | |
| 240 | + cadastro.fisica, | |
| 241 | + pmieducar.aluno | |
| 242 | + where fisica.idmun_nascimento = municipio.idmun AND | |
| 243 | + fisica.idpes = aluno.ref_idpes AND | |
| 244 | + aluno.cod_aluno = $P{aluno}) as cidade_nascimento_uf, | |
| 245 | + | |
| 246 | + | |
| 247 | +(SELECT to_char(fisica.data_nasc,'DD/MM/YYYY') | |
| 248 | +FROM pmieducar.aluno, | |
| 249 | + cadastro.fisica, | |
| 250 | + cadastro.pessoa | |
| 251 | + WHERE pessoa.idpes = fisica.idpes AND | |
| 252 | + fisica.idpes = aluno.ref_idpes AND | |
| 253 | + aluno.cod_aluno = $P{aluno}) as data_nasc, | |
| 254 | + | |
| 255 | +(SELECT public.fcn_upper(COALESCE(aluno.nm_pai,'NAO INFORMADO')) || ' e ' || public.fcn_upper(COALESCE(aluno.nm_mae,'NAO INFORMADO')) | |
| 256 | +FROM pmieducar.aluno | |
| 257 | + WHERE aluno.cod_aluno = $P{aluno}) as nome_dos_pais | |
| 258 | + | |
| 259 | +FROM ( | |
| 260 | +SELECT nm_disciplina, | |
| 261 | + nota, | |
| 262 | + | |
| 263 | + (select CASE WHEN replace(substring(trim(hd.nota),1,3),'.',',') = '10,' THEN | |
| 264 | + '10,0' | |
| 265 | + ELSE | |
| 266 | + replace(substring(trim(hd.nota),1,3),'.',',') | |
| 267 | + END | |
| 268 | + from pmieducar.historico_disciplinas hd | |
| 269 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 270 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 271 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 272 | + substring(nm_serie,1,1) = 1) as nota_1serie, | |
| 273 | + | |
| 274 | + (select CASE WHEN replace(substring(trim(hd.nota),1,3),'.',',') = '10,' THEN | |
| 275 | + '10,0' | |
| 276 | + ELSE | |
| 277 | + replace(substring(trim(hd.nota),1,3),'.',',') | |
| 278 | + END | |
| 279 | + from pmieducar.historico_disciplinas hd | |
| 280 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 281 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 282 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 283 | + substring(nm_serie,1,1) = 2) as nota_2serie, | |
| 284 | + | |
| 285 | + (select CASE WHEN replace(substring(trim(hd.nota),1,3),'.',',') = '10,' THEN | |
| 286 | + '10,0' | |
| 287 | + ELSE | |
| 288 | + replace(substring(trim(hd.nota),1,3),'.',',') | |
| 289 | + END | |
| 290 | + from pmieducar.historico_disciplinas hd | |
| 291 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 292 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 293 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 294 | + substring(nm_serie,1,1) = 3) as nota_3serie, | |
| 295 | + | |
| 296 | + (select CASE WHEN replace(substring(trim(hd.nota),1,3),'.',',') = '10,' THEN | |
| 297 | + '10,0' | |
| 298 | + ELSE | |
| 299 | + replace(substring(trim(hd.nota),1,3),'.',',') | |
| 300 | + END | |
| 301 | + from pmieducar.historico_disciplinas hd | |
| 302 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 303 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 304 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 305 | + substring(nm_serie,1,1) = 4) as nota_4serie, | |
| 306 | + | |
| 307 | + (select CASE WHEN replace(substring(trim(hd.nota),1,3),'.',',') = '10,' THEN | |
| 308 | + '10,0' | |
| 309 | + ELSE | |
| 310 | + replace(substring(trim(hd.nota),1,3),'.',',') | |
| 311 | + END | |
| 312 | + from pmieducar.historico_disciplinas hd | |
| 313 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 314 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 315 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 316 | + substring(nm_serie,1,1) = 5) as nota_5serie, | |
| 317 | + | |
| 318 | + (select CASE WHEN replace(substring(trim(hd.nota),1,3),'.',',') = '10,' THEN | |
| 319 | + '10,0' | |
| 320 | + ELSE | |
| 321 | + replace(substring(trim(hd.nota),1,3),'.',',') | |
| 322 | + END | |
| 323 | + from pmieducar.historico_disciplinas hd | |
| 324 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 325 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 326 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 327 | + substring(nm_serie,1,1) = 6) as nota_6serie, | |
| 328 | + | |
| 329 | + (select CASE WHEN replace(substring(trim(hd.nota),1,3),'.',',') = '10,' THEN | |
| 330 | + '10,0' | |
| 331 | + ELSE | |
| 332 | + replace(substring(trim(hd.nota),1,3),'.',',') | |
| 333 | + END | |
| 334 | + from pmieducar.historico_disciplinas hd | |
| 335 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 336 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 337 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 338 | + substring(nm_serie,1,1) = 7) as nota_7serie, | |
| 339 | + | |
| 340 | + (select CASE WHEN replace(substring(trim(hd.nota),1,3),'.',',') = '10,' THEN | |
| 341 | + '10,0' | |
| 342 | + ELSE | |
| 343 | + replace(substring(trim(hd.nota),1,3),'.',',') | |
| 344 | + END | |
| 345 | + from pmieducar.historico_disciplinas hd | |
| 346 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 347 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 348 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 349 | + substring(nm_serie,1,1) = 8) as nota_8serie, | |
| 350 | + | |
| 351 | + (select CASE WHEN replace(substring(trim(hd.nota),1,3),'.',',') = '10,' THEN | |
| 352 | + '10,0' | |
| 353 | + ELSE | |
| 354 | + replace(substring(trim(hd.nota),1,3),'.',',') | |
| 355 | + END | |
| 356 | + from pmieducar.historico_disciplinas hd | |
| 357 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 358 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 359 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 360 | + substring(nm_serie,1,1) = 9) as nota_9serie, | |
| 361 | + | |
| 362 | + (select ano | |
| 363 | + from pmieducar.historico_escolar he, | |
| 364 | + pmieducar.historico_disciplinas hd | |
| 365 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 366 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 367 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 368 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 369 | + hd.ref_sequencial = he.sequencial AND | |
| 370 | + substring(nm_serie,1,1) = 1) as ano_1serie, | |
| 371 | + | |
| 372 | + (select escola | |
| 373 | + from pmieducar.historico_escolar he, | |
| 374 | + pmieducar.historico_disciplinas hd | |
| 375 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 376 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 377 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 378 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 379 | + hd.ref_sequencial = he.sequencial AND | |
| 380 | + substring(nm_serie,1,1) = 1) as escola_1serie, | |
| 381 | + | |
| 382 | + (select escola_cidade | |
| 383 | + from pmieducar.historico_escolar he, | |
| 384 | + pmieducar.historico_disciplinas hd | |
| 385 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 386 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 387 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 388 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 389 | + hd.ref_sequencial = he.sequencial AND | |
| 390 | + substring(nm_serie,1,1) = 1) as escola_cidade_1serie, | |
| 391 | + | |
| 392 | + | |
| 393 | + (select escola_uf | |
| 394 | + from pmieducar.historico_escolar he, | |
| 395 | + pmieducar.historico_disciplinas hd | |
| 396 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 397 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 398 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 399 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 400 | + hd.ref_sequencial = he.sequencial AND | |
| 401 | + substring(nm_serie,1,1) = 1) as escola_uf_1serie, | |
| 402 | + | |
| 403 | + (select ano | |
| 404 | + from pmieducar.historico_escolar he, | |
| 405 | + pmieducar.historico_disciplinas hd | |
| 406 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 407 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 408 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 409 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 410 | + hd.ref_sequencial = he.sequencial AND | |
| 411 | + substring(nm_serie,1,1) = 2) as ano_2serie, | |
| 412 | + | |
| 413 | + (select escola | |
| 414 | + from pmieducar.historico_escolar he, | |
| 415 | + pmieducar.historico_disciplinas hd | |
| 416 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 417 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 418 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 419 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 420 | + hd.ref_sequencial = he.sequencial AND | |
| 421 | + substring(nm_serie,1,1) = 2) as escola_2serie, | |
| 422 | + | |
| 423 | + (select escola_cidade | |
| 424 | + from pmieducar.historico_escolar he, | |
| 425 | + pmieducar.historico_disciplinas hd | |
| 426 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 427 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 428 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 429 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 430 | + hd.ref_sequencial = he.sequencial AND | |
| 431 | + substring(nm_serie,1,1) = 2) as escola_cidade_2serie, | |
| 432 | + | |
| 433 | + | |
| 434 | + (select escola_uf | |
| 435 | + from pmieducar.historico_escolar he, | |
| 436 | + pmieducar.historico_disciplinas hd | |
| 437 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 438 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 439 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 440 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 441 | + hd.ref_sequencial = he.sequencial AND | |
| 442 | + substring(nm_serie,1,1) = 2) as escola_uf_2serie, | |
| 443 | + | |
| 444 | + (select ano | |
| 445 | + from pmieducar.historico_escolar he, | |
| 446 | + pmieducar.historico_disciplinas hd | |
| 447 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 448 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 449 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 450 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 451 | + hd.ref_sequencial = he.sequencial AND | |
| 452 | + substring(nm_serie,1,1) = 3) as ano_3serie, | |
| 453 | + | |
| 454 | + (select escola | |
| 455 | + from pmieducar.historico_escolar he, | |
| 456 | + pmieducar.historico_disciplinas hd | |
| 457 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 458 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 459 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 460 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 461 | + hd.ref_sequencial = he.sequencial AND | |
| 462 | + substring(nm_serie,1,1) = 3) as escola_3serie, | |
| 463 | + | |
| 464 | + (select escola_cidade | |
| 465 | + from pmieducar.historico_escolar he, | |
| 466 | + pmieducar.historico_disciplinas hd | |
| 467 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 468 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 469 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 470 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 471 | + hd.ref_sequencial = he.sequencial AND | |
| 472 | + substring(nm_serie,1,1) = 3) as escola_cidade_3serie, | |
| 473 | + | |
| 474 | + | |
| 475 | + (select escola_uf | |
| 476 | + from pmieducar.historico_escolar he, | |
| 477 | + pmieducar.historico_disciplinas hd | |
| 478 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 479 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 480 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 481 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 482 | + hd.ref_sequencial = he.sequencial AND | |
| 483 | + substring(nm_serie,1,1) = 3) as escola_uf_3serie, | |
| 484 | + | |
| 485 | + (select ano | |
| 486 | + from pmieducar.historico_escolar he, | |
| 487 | + pmieducar.historico_disciplinas hd | |
| 488 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 489 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 490 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 491 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 492 | + hd.ref_sequencial = he.sequencial AND | |
| 493 | + substring(nm_serie,1,1) = 4) as ano_4serie, | |
| 494 | + | |
| 495 | + (select escola | |
| 496 | + from pmieducar.historico_escolar he, | |
| 497 | + pmieducar.historico_disciplinas hd | |
| 498 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 499 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 500 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 501 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 502 | + hd.ref_sequencial = he.sequencial AND | |
| 503 | + substring(nm_serie,1,1) = 4) as escola_4serie, | |
| 504 | + | |
| 505 | + (select escola_cidade | |
| 506 | + from pmieducar.historico_escolar he, | |
| 507 | + pmieducar.historico_disciplinas hd | |
| 508 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 509 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 510 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 511 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 512 | + hd.ref_sequencial = he.sequencial AND | |
| 513 | + substring(nm_serie,1,1) = 4) as escola_cidade_4serie, | |
| 514 | + | |
| 515 | + | |
| 516 | + (select escola_uf | |
| 517 | + from pmieducar.historico_escolar he, | |
| 518 | + pmieducar.historico_disciplinas hd | |
| 519 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 520 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 521 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 522 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 523 | + hd.ref_sequencial = he.sequencial AND | |
| 524 | + substring(nm_serie,1,1) = 4) as escola_uf_4serie, | |
| 525 | + | |
| 526 | + (select ano | |
| 527 | + from pmieducar.historico_escolar he, | |
| 528 | + pmieducar.historico_disciplinas hd | |
| 529 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 530 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 531 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 532 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 533 | + hd.ref_sequencial = he.sequencial AND | |
| 534 | + substring(nm_serie,1,1) = 5) as ano_5serie, | |
| 535 | + | |
| 536 | + (select escola | |
| 537 | + from pmieducar.historico_escolar he, | |
| 538 | + pmieducar.historico_disciplinas hd | |
| 539 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 540 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 541 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 542 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 543 | + hd.ref_sequencial = he.sequencial AND | |
| 544 | + substring(nm_serie,1,1) = 5) as escola_5serie, | |
| 545 | + | |
| 546 | + (select escola_cidade | |
| 547 | + from pmieducar.historico_escolar he, | |
| 548 | + pmieducar.historico_disciplinas hd | |
| 549 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 550 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 551 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 552 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 553 | + hd.ref_sequencial = he.sequencial AND | |
| 554 | + substring(nm_serie,1,1) = 5) as escola_cidade_5serie, | |
| 555 | + | |
| 556 | + | |
| 557 | + (select escola_uf | |
| 558 | + from pmieducar.historico_escolar he, | |
| 559 | + pmieducar.historico_disciplinas hd | |
| 560 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 561 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 562 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 563 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 564 | + hd.ref_sequencial = he.sequencial AND | |
| 565 | + substring(nm_serie,1,1) = 5) as escola_uf_5serie, | |
| 566 | + | |
| 567 | + (select ano | |
| 568 | + from pmieducar.historico_escolar he, | |
| 569 | + pmieducar.historico_disciplinas hd | |
| 570 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 571 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 572 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 573 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 574 | + hd.ref_sequencial = he.sequencial AND | |
| 575 | + substring(nm_serie,1,1) = 6) as ano_6serie, | |
| 576 | + | |
| 577 | + (select escola | |
| 578 | + from pmieducar.historico_escolar he, | |
| 579 | + pmieducar.historico_disciplinas hd | |
| 580 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 581 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 582 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 583 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 584 | + hd.ref_sequencial = he.sequencial AND | |
| 585 | + substring(nm_serie,1,1) = 6) as escola_6serie, | |
| 586 | + | |
| 587 | + (select escola_cidade | |
| 588 | + from pmieducar.historico_escolar he, | |
| 589 | + pmieducar.historico_disciplinas hd | |
| 590 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 591 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 592 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 593 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 594 | + hd.ref_sequencial = he.sequencial AND | |
| 595 | + substring(nm_serie,1,1) = 6) as escola_cidade_6serie, | |
| 596 | + | |
| 597 | + | |
| 598 | + (select escola_uf | |
| 599 | + from pmieducar.historico_escolar he, | |
| 600 | + pmieducar.historico_disciplinas hd | |
| 601 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 602 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 603 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 604 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 605 | + hd.ref_sequencial = he.sequencial AND | |
| 606 | + substring(nm_serie,1,1) = 6) as escola_uf_6serie, | |
| 607 | + | |
| 608 | + (select ano | |
| 609 | + from pmieducar.historico_escolar he, | |
| 610 | + pmieducar.historico_disciplinas hd | |
| 611 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 612 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 613 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 614 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 615 | + hd.ref_sequencial = he.sequencial AND | |
| 616 | + substring(nm_serie,1,1) = 7) as ano_7serie, | |
| 617 | + | |
| 618 | + (select escola | |
| 619 | + from pmieducar.historico_escolar he, | |
| 620 | + pmieducar.historico_disciplinas hd | |
| 621 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 622 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 623 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 624 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 625 | + hd.ref_sequencial = he.sequencial AND | |
| 626 | + substring(nm_serie,1,1) = 7) as escola_7serie, | |
| 627 | + | |
| 628 | + (select escola_cidade | |
| 629 | + from pmieducar.historico_escolar he, | |
| 630 | + pmieducar.historico_disciplinas hd | |
| 631 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 632 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 633 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 634 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 635 | + hd.ref_sequencial = he.sequencial AND | |
| 636 | + substring(nm_serie,1,1) = 7) as escola_cidade_7serie, | |
| 637 | + | |
| 638 | + | |
| 639 | + (select escola_uf | |
| 640 | + from pmieducar.historico_escolar he, | |
| 641 | + pmieducar.historico_disciplinas hd | |
| 642 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 643 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 644 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 645 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 646 | + hd.ref_sequencial = he.sequencial AND | |
| 647 | + substring(nm_serie,1,1) = 7) as escola_uf_7serie, | |
| 648 | + | |
| 649 | + (select ano | |
| 650 | + from pmieducar.historico_escolar he, | |
| 651 | + pmieducar.historico_disciplinas hd | |
| 652 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 653 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 654 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 655 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 656 | + hd.ref_sequencial = he.sequencial AND | |
| 657 | + substring(nm_serie,1,1) = 8) as ano_8serie, | |
| 658 | + | |
| 659 | + (select escola | |
| 660 | + from pmieducar.historico_escolar he, | |
| 661 | + pmieducar.historico_disciplinas hd | |
| 662 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 663 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 664 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 665 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 666 | + hd.ref_sequencial = he.sequencial AND | |
| 667 | + substring(nm_serie,1,1) = 8) as escola_8serie, | |
| 668 | + | |
| 669 | + (select escola_cidade | |
| 670 | + from pmieducar.historico_escolar he, | |
| 671 | + pmieducar.historico_disciplinas hd | |
| 672 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 673 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 674 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 675 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 676 | + hd.ref_sequencial = he.sequencial AND | |
| 677 | + substring(nm_serie,1,1) = 8) as escola_cidade_8serie, | |
| 678 | + | |
| 679 | + | |
| 680 | + (select escola_uf | |
| 681 | + from pmieducar.historico_escolar he, | |
| 682 | + pmieducar.historico_disciplinas hd | |
| 683 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 684 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 685 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 686 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 687 | + hd.ref_sequencial = he.sequencial AND | |
| 688 | + substring(nm_serie,1,1) = 8) as escola_uf_8serie, | |
| 689 | + | |
| 690 | + (select ano | |
| 691 | + from pmieducar.historico_escolar he, | |
| 692 | + pmieducar.historico_disciplinas hd | |
| 693 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 694 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 695 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 696 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 697 | + hd.ref_sequencial = he.sequencial AND | |
| 698 | + substring(nm_serie,1,1) = 9) as ano_9serie, | |
| 699 | + | |
| 700 | + (select escola | |
| 701 | + from pmieducar.historico_escolar he, | |
| 702 | + pmieducar.historico_disciplinas hd | |
| 703 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 704 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 705 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 706 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 707 | + hd.ref_sequencial = he.sequencial AND | |
| 708 | + substring(nm_serie,1,1) = 9) as escola_9serie, | |
| 709 | + | |
| 710 | + (select escola_cidade | |
| 711 | + from pmieducar.historico_escolar he, | |
| 712 | + pmieducar.historico_disciplinas hd | |
| 713 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 714 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 715 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 716 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 717 | + hd.ref_sequencial = he.sequencial AND | |
| 718 | + substring(nm_serie,1,1) = 9) as escola_cidade_9serie, | |
| 719 | + | |
| 720 | + | |
| 721 | + (select escola_uf | |
| 722 | + from pmieducar.historico_escolar he, | |
| 723 | + pmieducar.historico_disciplinas hd | |
| 724 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 725 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 726 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 727 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 728 | + hd.ref_sequencial = he.sequencial AND | |
| 729 | + substring(nm_serie,1,1) = 9) as escola_uf_9serie, | |
| 730 | + | |
| 731 | + to_char(CURRENT_DATE,'dd/mm/yyyy') as data_atual, | |
| 732 | + | |
| 733 | + historico_escolar.ref_cod_aluno as cod_aluno, | |
| 734 | + | |
| 735 | + (select public.fcn_upper(nm_instituicao) | |
| 736 | + from pmieducar.instituicao | |
| 737 | + where instituicao.cod_instituicao = historico_escolar.ref_cod_instituicao) as nm_instituicao, | |
| 738 | + | |
| 739 | + (select public.fcn_upper(nm_responsavel) | |
| 740 | + from pmieducar.instituicao | |
| 741 | + where instituicao.cod_instituicao = historico_escolar.ref_cod_instituicao) as nm_responsavel, | |
| 742 | + | |
| 743 | + (select he.observacao | |
| 744 | + from pmieducar.historico_escolar he, | |
| 745 | + pmieducar.historico_disciplinas hd | |
| 746 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 747 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 748 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 749 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 750 | + hd.ref_sequencial = he.sequencial AND | |
| 751 | + substring(nm_serie,1,1) = 1) as obs1, | |
| 752 | + | |
| 753 | + (select he.observacao | |
| 754 | + from pmieducar.historico_escolar he, | |
| 755 | + pmieducar.historico_disciplinas hd | |
| 756 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 757 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 758 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 759 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 760 | + hd.ref_sequencial = he.sequencial AND | |
| 761 | + substring(nm_serie,1,1) = 2) as obs2, | |
| 762 | + | |
| 763 | + (select he.observacao | |
| 764 | + from pmieducar.historico_escolar he, | |
| 765 | + pmieducar.historico_disciplinas hd | |
| 766 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 767 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 768 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 769 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 770 | + hd.ref_sequencial = he.sequencial AND | |
| 771 | + substring(nm_serie,1,1) = 3) as obs3, | |
| 772 | + | |
| 773 | + (select he.observacao | |
| 774 | + from pmieducar.historico_escolar he, | |
| 775 | + pmieducar.historico_disciplinas hd | |
| 776 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 777 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 778 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 779 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 780 | + hd.ref_sequencial = he.sequencial AND | |
| 781 | + substring(nm_serie,1,1) = 4) as obs4, | |
| 782 | + | |
| 783 | + (select he.observacao | |
| 784 | + from pmieducar.historico_escolar he, | |
| 785 | + pmieducar.historico_disciplinas hd | |
| 786 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 787 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 788 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 789 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 790 | + hd.ref_sequencial = he.sequencial AND | |
| 791 | + substring(nm_serie,1,1) = 5) as obs5, | |
| 792 | + | |
| 793 | + (select he.observacao | |
| 794 | + from pmieducar.historico_escolar he, | |
| 795 | + pmieducar.historico_disciplinas hd | |
| 796 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 797 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 798 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 799 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 800 | + hd.ref_sequencial = he.sequencial AND | |
| 801 | + substring(nm_serie,1,1) = 6) as obs6, | |
| 802 | + | |
| 803 | + (select he.observacao | |
| 804 | + from pmieducar.historico_escolar he, | |
| 805 | + pmieducar.historico_disciplinas hd | |
| 806 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 807 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 808 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 809 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 810 | + hd.ref_sequencial = he.sequencial AND | |
| 811 | + substring(nm_serie,1,1) = 7) as obs7, | |
| 812 | + | |
| 813 | + (select he.observacao | |
| 814 | + from pmieducar.historico_escolar he, | |
| 815 | + pmieducar.historico_disciplinas hd | |
| 816 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 817 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 818 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 819 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 820 | + hd.ref_sequencial = he.sequencial AND | |
| 821 | + substring(nm_serie,1,1) = 8) as obs8, | |
| 822 | + | |
| 823 | + (select he.observacao | |
| 824 | + from pmieducar.historico_escolar he, | |
| 825 | + pmieducar.historico_disciplinas hd | |
| 826 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 827 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 828 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 829 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 830 | + hd.ref_sequencial = he.sequencial AND | |
| 831 | + substring(nm_serie,1,1) = 9) as obs9, | |
| 832 | + | |
| 833 | + (select he.frequencia | |
| 834 | + from pmieducar.historico_escolar he, | |
| 835 | + pmieducar.historico_disciplinas hd | |
| 836 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 837 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 838 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 839 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 840 | + hd.ref_sequencial = he.sequencial AND | |
| 841 | + substring(nm_serie,1,1) = 1) as freq1, | |
| 842 | + | |
| 843 | + (select he.frequencia | |
| 844 | + from pmieducar.historico_escolar he, | |
| 845 | + pmieducar.historico_disciplinas hd | |
| 846 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 847 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 848 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 849 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 850 | + hd.ref_sequencial = he.sequencial AND | |
| 851 | + substring(nm_serie,1,1) = 2) as freq2, | |
| 852 | + | |
| 853 | + (select he.frequencia | |
| 854 | + from pmieducar.historico_escolar he, | |
| 855 | + pmieducar.historico_disciplinas hd | |
| 856 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 857 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 858 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 859 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 860 | + hd.ref_sequencial = he.sequencial AND | |
| 861 | + substring(nm_serie,1,1) = 3) as freq3, | |
| 862 | + | |
| 863 | + (select he.frequencia | |
| 864 | + from pmieducar.historico_escolar he, | |
| 865 | + pmieducar.historico_disciplinas hd | |
| 866 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 867 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 868 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 869 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 870 | + hd.ref_sequencial = he.sequencial AND | |
| 871 | + substring(nm_serie,1,1) = 4) as freq4, | |
| 872 | + | |
| 873 | + (select he.frequencia | |
| 874 | + from pmieducar.historico_escolar he, | |
| 875 | + pmieducar.historico_disciplinas hd | |
| 876 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 877 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 878 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 879 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 880 | + hd.ref_sequencial = he.sequencial AND | |
| 881 | + substring(nm_serie,1,1) = 5) as freq5, | |
| 882 | + | |
| 883 | + (select he.frequencia | |
| 884 | + from pmieducar.historico_escolar he, | |
| 885 | + pmieducar.historico_disciplinas hd | |
| 886 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 887 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 888 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 889 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 890 | + hd.ref_sequencial = he.sequencial AND | |
| 891 | + substring(nm_serie,1,1) = 6) as freq6, | |
| 892 | + | |
| 893 | + (select he.frequencia | |
| 894 | + from pmieducar.historico_escolar he, | |
| 895 | + pmieducar.historico_disciplinas hd | |
| 896 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 897 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 898 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 899 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 900 | + hd.ref_sequencial = he.sequencial AND | |
| 901 | + substring(nm_serie,1,1) = 7) as freq7, | |
| 902 | + | |
| 903 | + (select he.frequencia | |
| 904 | + from pmieducar.historico_escolar he, | |
| 905 | + pmieducar.historico_disciplinas hd | |
| 906 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 907 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 908 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 909 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 910 | + hd.ref_sequencial = he.sequencial AND | |
| 911 | + substring(nm_serie,1,1) = 8) as freq8, | |
| 912 | + | |
| 913 | + (select he.frequencia | |
| 914 | + from pmieducar.historico_escolar he, | |
| 915 | + pmieducar.historico_disciplinas hd | |
| 916 | + where hd.sequencial = historico_disciplinas.sequencial AND | |
| 917 | + hd.ref_ref_cod_aluno = historico_disciplinas.ref_ref_cod_aluno AND | |
| 918 | + hd.ref_sequencial = historico_disciplinas.ref_sequencial AND | |
| 919 | + hd.ref_ref_cod_aluno = he.ref_cod_aluno AND | |
| 920 | + hd.ref_sequencial = he.sequencial AND | |
| 921 | + substring(nm_serie,1,1) = 9) as freq9, | |
| 922 | + | |
| 923 | + (SELECT distinct | |
| 924 | + (CASE WHEN he.aceleracao = 1 THEN | |
| 925 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) || ' AC' | |
| 926 | + ELSE | |
| 927 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) | |
| 928 | + END) | |
| 929 | + | |
| 930 | + from pmieducar.historico_escolar he | |
| 931 | + where he.ref_cod_instituicao = historico_escolar.ref_cod_instituicao AND | |
| 932 | + he.ref_cod_aluno = historico_escolar.ref_cod_aluno AND | |
| 933 | + he.ativo = 1 AND | |
| 934 | + he.ano = historico_escolar.ano AND | |
| 935 | + substring(nm_serie,1,1) = 1 AND | |
| 936 | + he.sequencial = historico_escolar.sequencial) as status_serie1, | |
| 937 | + | |
| 938 | + | |
| 939 | + (SELECT distinct | |
| 940 | + (CASE WHEN he.aceleracao = 1 THEN | |
| 941 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) || ' AC' | |
| 942 | + ELSE | |
| 943 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) | |
| 944 | + END) | |
| 945 | + from pmieducar.historico_escolar he | |
| 946 | + where he.ref_cod_instituicao = historico_escolar.ref_cod_instituicao AND | |
| 947 | + he.ref_cod_aluno = historico_escolar.ref_cod_aluno AND | |
| 948 | + he.ativo = 1 AND | |
| 949 | + he.ano = historico_escolar.ano AND | |
| 950 | + substring(nm_serie,1,1) = 2 AND | |
| 951 | + he.sequencial = historico_escolar.sequencial) as status_serie2, | |
| 952 | + | |
| 953 | + | |
| 954 | + (SELECT distinct | |
| 955 | + (CASE WHEN he.aceleracao = 1 THEN | |
| 956 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) || ' AC' | |
| 957 | + ELSE | |
| 958 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) | |
| 959 | + END) | |
| 960 | + from pmieducar.historico_escolar he | |
| 961 | + where he.ref_cod_instituicao = historico_escolar.ref_cod_instituicao AND | |
| 962 | + he.ref_cod_aluno = historico_escolar.ref_cod_aluno AND | |
| 963 | + he.ativo = 1 AND | |
| 964 | + he.ano = historico_escolar.ano AND | |
| 965 | + substring(nm_serie,1,1) = 3 AND | |
| 966 | + he.sequencial = historico_escolar.sequencial) as status_serie3, | |
| 967 | + | |
| 968 | + | |
| 969 | + (SELECT distinct | |
| 970 | + (CASE WHEN he.aceleracao = 1 THEN | |
| 971 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) || ' AC' | |
| 972 | + ELSE | |
| 973 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) | |
| 974 | + END) | |
| 975 | + from pmieducar.historico_escolar he | |
| 976 | + where he.ref_cod_instituicao = historico_escolar.ref_cod_instituicao AND | |
| 977 | + he.ref_cod_aluno = historico_escolar.ref_cod_aluno AND | |
| 978 | + he.ativo = 1 AND | |
| 979 | + he.ano = historico_escolar.ano AND | |
| 980 | + substring(nm_serie,1,1) = 4 AND | |
| 981 | + he.sequencial = historico_escolar.sequencial) as status_serie4, | |
| 982 | + | |
| 983 | + | |
| 984 | + (SELECT distinct | |
| 985 | + (CASE WHEN he.aceleracao = 1 THEN | |
| 986 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) || ' AC' | |
| 987 | + ELSE | |
| 988 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) | |
| 989 | + END) | |
| 990 | + from pmieducar.historico_escolar he | |
| 991 | + where he.ref_cod_instituicao = historico_escolar.ref_cod_instituicao AND | |
| 992 | + he.ref_cod_aluno = historico_escolar.ref_cod_aluno AND | |
| 993 | + he.ativo = 1 AND | |
| 994 | + he.ano = historico_escolar.ano AND | |
| 995 | + substring(nm_serie,1,1) = 5 AND | |
| 996 | + he.sequencial = historico_escolar.sequencial) as status_serie5, | |
| 997 | + | |
| 998 | + | |
| 999 | + (SELECT distinct | |
| 1000 | + (CASE WHEN he.aceleracao = 1 THEN | |
| 1001 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) || ' AC' | |
| 1002 | + ELSE | |
| 1003 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) | |
| 1004 | + END) | |
| 1005 | + from pmieducar.historico_escolar he | |
| 1006 | + where he.ref_cod_instituicao = historico_escolar.ref_cod_instituicao AND | |
| 1007 | + he.ref_cod_aluno = historico_escolar.ref_cod_aluno AND | |
| 1008 | + he.ativo = 1 AND | |
| 1009 | + he.ano = historico_escolar.ano AND | |
| 1010 | + substring(nm_serie,1,1) = 6 AND | |
| 1011 | + he.sequencial = historico_escolar.sequencial) as status_serie6, | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + (SELECT distinct | |
| 1015 | + (CASE WHEN he.aceleracao = 1 THEN | |
| 1016 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) || ' AC' | |
| 1017 | + ELSE | |
| 1018 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) | |
| 1019 | + END) | |
| 1020 | + from pmieducar.historico_escolar he | |
| 1021 | + where he.ref_cod_instituicao = historico_escolar.ref_cod_instituicao AND | |
| 1022 | + he.ref_cod_aluno = historico_escolar.ref_cod_aluno AND | |
| 1023 | + he.ativo = 1 AND | |
| 1024 | + he.ano = historico_escolar.ano AND | |
| 1025 | + substring(nm_serie,1,1) = 7 AND | |
| 1026 | + he.sequencial = historico_escolar.sequencial) as status_serie7, | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + (SELECT distinct | |
| 1030 | + (CASE WHEN he.aceleracao = 1 THEN | |
| 1031 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) || ' AC' | |
| 1032 | + ELSE | |
| 1033 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) | |
| 1034 | + END) | |
| 1035 | + from pmieducar.historico_escolar he | |
| 1036 | + where he.ref_cod_instituicao = historico_escolar.ref_cod_instituicao AND | |
| 1037 | + he.ref_cod_aluno = historico_escolar.ref_cod_aluno AND | |
| 1038 | + he.ativo = 1 AND | |
| 1039 | + he.ano = historico_escolar.ano AND | |
| 1040 | + substring(nm_serie,1,1) = 8 AND | |
| 1041 | + he.sequencial = historico_escolar.sequencial) as status_serie8, | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + (SELECT distinct | |
| 1045 | + (CASE WHEN he.aceleracao = 1 THEN | |
| 1046 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) || ' AC' | |
| 1047 | + ELSE | |
| 1048 | + (CASE WHEN he.aprovado = 1 THEN 'Apro' WHEN he.aprovado = 2 THEN 'Repr' WHEN he.aprovado = 3 THEN 'Anda' ELSE 'Tran' END) | |
| 1049 | + END) | |
| 1050 | + from pmieducar.historico_escolar he | |
| 1051 | + where he.ref_cod_instituicao = historico_escolar.ref_cod_instituicao AND | |
| 1052 | + he.ref_cod_aluno = historico_escolar.ref_cod_aluno AND | |
| 1053 | + he.ativo = 1 AND | |
| 1054 | + he.ano = historico_escolar.ano AND | |
| 1055 | + substring(nm_serie,1,1) = 9 AND | |
| 1056 | + he.sequencial = historico_escolar.sequencial) as status_serie9, | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + (SELECT 1 WHERE 1 = 1) AS quebra, | |
| 1060 | + | |
| 1061 | + (SELECT registro | |
| 1062 | + FROM pmieducar.historico_escolar | |
| 1063 | + WHERE ref_cod_aluno = $P{aluno} and | |
| 1064 | + historico_escolar.sequencial = (SELECT max(sequencial) | |
| 1065 | + FROM pmieducar.historico_escolar he | |
| 1066 | + WHERE he.ref_cod_aluno = $P{aluno})) AS num_termo, | |
| 1067 | + | |
| 1068 | + (SELECT livro | |
| 1069 | + FROM pmieducar.historico_escolar | |
| 1070 | + WHERE ref_cod_aluno = $P{aluno} and | |
| 1071 | + historico_escolar.sequencial = (SELECT max(sequencial) | |
| 1072 | + FROM pmieducar.historico_escolar he | |
| 1073 | + WHERE he.ref_cod_aluno = $P{aluno})) AS num_livro, | |
| 1074 | + | |
| 1075 | + (SELECT folha | |
| 1076 | + FROM pmieducar.historico_escolar | |
| 1077 | + WHERE ref_cod_aluno = $P{aluno} and | |
| 1078 | + historico_escolar.sequencial = (SELECT max(sequencial) | |
| 1079 | + FROM pmieducar.historico_escolar he | |
| 1080 | + WHERE he.ref_cod_aluno = $P{aluno})) AS num_folha, | |
| 1081 | + | |
| 1082 | +( select CASE WHEN ((substring(nm_serie,1,1) = 8) or (substring(nm_serie,1,1) = 9)) THEN | |
| 1083 | + 'concluiu o ENSINO FUNDAMENTAL (8 ANOS)' | |
| 1084 | + ELSE | |
| 1085 | + 'concluiu o ' || substring(nm_serie,1,1) || ' ano' | |
| 1086 | + END | |
| 1087 | + | |
| 1088 | + from pmieducar.historico_escolar he | |
| 1089 | + where he.ref_cod_aluno = historico_escolar.ref_cod_aluno AND | |
| 1090 | + he.sequencial = historico_escolar.sequencial AND | |
| 1091 | + he.ref_cod_instituicao = historico_escolar.ref_cod_instituicao AND | |
| 1092 | + he.ano = historico_escolar.ano and ativo = 1 limit 1) as nome_serie_aux, | |
| 1093 | + | |
| 1094 | + (SELECT COALESCE(fcn_upper(nm_curso),'') | |
| 1095 | + FROM pmieducar.historico_escolar | |
| 1096 | + WHERE historico_escolar.ref_cod_aluno = $P{aluno} AND | |
| 1097 | + historico_escolar.ativo = 1 AND | |
| 1098 | + historico_escolar.sequencial = (SELECT max(he.sequencial) | |
| 1099 | + FROM pmieducar.historico_escolar he | |
| 1100 | + WHERE he.ref_cod_instituicao = 1 AND | |
| 1101 | + he.ref_cod_aluno = historico_escolar.ref_cod_aluno and he.ativo = 1)) as nome_curso | |
| 1102 | + | |
| 1103 | + | |
| 1104 | + FROM pmieducar.historico_escolar, | |
| 1105 | + pmieducar.historico_disciplinas, | |
| 1106 | + pmieducar.instituicao, | |
| 1107 | + pmieducar.escola | |
| 1108 | +WHERE instituicao.cod_instituicao = $P{instituicao} AND | |
| 1109 | + escola.ref_cod_instituicao = instituicao.cod_instituicao AND | |
| 1110 | + historico_escolar.ref_cod_instituicao = instituicao.cod_instituicao AND | |
| 1111 | + historico_disciplinas.ref_ref_cod_aluno = historico_escolar.ref_cod_aluno AND | |
| 1112 | + historico_disciplinas.ref_sequencial = historico_escolar.sequencial AND | |
| 1113 | + historico_escolar.ref_cod_aluno = $P{aluno} AND | |
| 1114 | + instituicao.ativo = 1 AND | |
| 1115 | + historico_escolar.ativo = 1 AND | |
| 1116 | + historico_escolar.sequencial = (SELECT max(he.sequencial) | |
| 1117 | + FROM pmieducar.historico_escolar he | |
| 1118 | + WHERE he.ref_cod_instituicao = historico_escolar.ref_cod_instituicao AND | |
| 1119 | + substring(he.nm_serie,1,1) = substring(historico_escolar.nm_serie,1,1) AND | |
| 1120 | + he.ref_cod_aluno = historico_escolar.ref_cod_aluno and ativo = 1) | |
| 1121 | +) AS T | |
| 1122 | +GROUP BY nm_disciplina | |
| 1123 | +ORDER BY 1 ASC]]> | |
| 1124 | + </queryString> | |
| 1125 | + <field name="nm_disciplina" class="java.lang.String"/> | |
| 1126 | + <field name="nota" class="java.lang.String"/> | |
| 1127 | + <field name="nota_1serie" class="java.lang.String"/> | |
| 1128 | + <field name="nota_2serie" class="java.lang.String"/> | |
| 1129 | + <field name="nota_3serie" class="java.lang.String"/> | |
| 1130 | + <field name="nota_4serie" class="java.lang.String"/> | |
| 1131 | + <field name="nota_5serie" class="java.lang.String"/> | |
| 1132 | + <field name="nota_6serie" class="java.lang.String"/> | |
| 1133 | + <field name="nota_7serie" class="java.lang.String"/> | |
| 1134 | + <field name="nota_8serie" class="java.lang.String"/> | |
| 1135 | + <field name="nota_9serie" class="java.lang.String"/> | |
| 1136 | + <field name="ano_1serie" class="java.lang.Integer"/> | |
| 1137 | + <field name="escola_1serie" class="java.lang.String"/> | |
| 1138 | + <field name="escola_cidade_1serie" class="java.lang.String"/> | |
| 1139 | + <field name="escola_uf_1serie" class="java.lang.String"/> | |
| 1140 | + <field name="ano_2serie" class="java.lang.Integer"/> | |
| 1141 | + <field name="escola_2serie" class="java.lang.String"/> | |
| 1142 | + <field name="escola_cidade_2serie" class="java.lang.String"/> | |
| 1143 | + <field name="escola_uf_2serie" class="java.lang.String"/> | |
| 1144 | + <field name="ano_3serie" class="java.lang.Integer"/> | |
| 1145 | + <field name="escola_3serie" class="java.lang.String"/> | |
| 1146 | + <field name="escola_cidade_3serie" class="java.lang.String"/> | |
| 1147 | + <field name="escola_uf_3serie" class="java.lang.String"/> | |
| 1148 | + <field name="ano_4serie" class="java.lang.Integer"/> | |
| 1149 | + <field name="escola_4serie" class="java.lang.String"/> | |
| 1150 | + <field name="escola_cidade_4serie" class="java.lang.String"/> | |
| 1151 | + <field name="escola_uf_4serie" class="java.lang.String"/> | |
| 1152 | + <field name="ano_5serie" class="java.lang.Integer"/> | |
| 1153 | + <field name="escola_5serie" class="java.lang.String"/> | |
| 1154 | + <field name="escola_cidade_5serie" class="java.lang.String"/> | |
| 1155 | + <field name="escola_uf_5serie" class="java.lang.String"/> | |
| 1156 | + <field name="ano_6serie" class="java.lang.Integer"/> | |
| 1157 | + <field name="escola_6serie" class="java.lang.String"/> | |
| 1158 | + <field name="escola_cidade_6serie" class="java.lang.String"/> | |
| 1159 | + <field name="escola_uf_6serie" class="java.lang.String"/> | |
| 1160 | + <field name="ano_7serie" class="java.lang.Integer"/> | |
| 1161 | + <field name="escola_7serie" class="java.lang.String"/> | |
| 1162 | + <field name="escola_cidade_7serie" class="java.lang.String"/> | |
| 1163 | + <field name="escola_uf_7serie" class="java.lang.String"/> | |
| 1164 | + <field name="ano_8serie" class="java.lang.Integer"/> | |
| 1165 | + <field name="escola_8serie" class="java.lang.String"/> | |
| 1166 | + <field name="escola_cidade_8serie" class="java.lang.String"/> | |
| 1167 | + <field name="escola_uf_8serie" class="java.lang.String"/> | |
| 1168 | + <field name="ano_9serie" class="java.lang.Integer"/> | |
| 1169 | + <field name="escola_9serie" class="java.lang.String"/> | |
| 1170 | + <field name="escola_cidade_9serie" class="java.lang.String"/> | |
| 1171 | + <field name="escola_uf_9serie" class="java.lang.String"/> | |
| 1172 | + <field name="data_atual" class="java.lang.String"/> | |
| 1173 | + <field name="cod_aluno" class="java.lang.Integer"/> | |
| 1174 | + <field name="nm_instituicao" class="java.lang.String"/> | |
| 1175 | + <field name="nm_responsavel" class="java.lang.String"/> | |
| 1176 | + <field name="nm_termo" class="java.lang.String"/> | |
| 1177 | + <field name="nm_livro" class="java.lang.String"/> | |
| 1178 | + <field name="num_folha" class="java.lang.String"/> | |
| 1179 | + <field name="nome_serie_aux" class="java.lang.String"/> | |
| 1180 | + <field name="nome_curso" class="java.lang.String"/> | |
| 1181 | + <field name="obs1" class="java.lang.String"/> | |
| 1182 | + <field name="obs2" class="java.lang.String"/> | |
| 1183 | + <field name="obs3" class="java.lang.String"/> | |
| 1184 | + <field name="obs4" class="java.lang.String"/> | |
| 1185 | + <field name="obs5" class="java.lang.String"/> | |
| 1186 | + <field name="obs6" class="java.lang.String"/> | |
| 1187 | + <field name="obs7" class="java.lang.String"/> | |
| 1188 | + <field name="obs8" class="java.lang.String"/> | |
| 1189 | + <field name="obs9" class="java.lang.String"/> | |
| 1190 | + <field name="freq1" class="java.lang.Double"/> | |
| 1191 | + <field name="freq2" class="java.lang.Double"/> | |
| 1192 | + <field name="freq3" class="java.lang.Double"/> | |
| 1193 | + <field name="freq4" class="java.lang.Double"/> | |
| 1194 | + <field name="freq5" class="java.lang.Double"/> | |
| 1195 | + <field name="freq6" class="java.lang.Double"/> | |
| 1196 | + <field name="freq7" class="java.lang.Double"/> | |
| 1197 | + <field name="freq8" class="java.lang.Double"/> | |
| 1198 | + <field name="freq9" class="java.lang.Double"/> | |
| 1199 | + <field name="status_serie1" class="java.lang.String"/> | |
| 1200 | + <field name="status_serie2" class="java.lang.String"/> | |
| 1201 | + <field name="status_serie3" class="java.lang.String"/> | |
| 1202 | + <field name="status_serie4" class="java.lang.String"/> | |
| 1203 | + <field name="status_serie5" class="java.lang.String"/> | |
| 1204 | + <field name="status_serie6" class="java.lang.String"/> | |
| 1205 | + <field name="status_serie7" class="java.lang.String"/> | |
| 1206 | + <field name="status_serie8" class="java.lang.String"/> | |
| 1207 | + <field name="status_serie9" class="java.lang.String"/> | |
| 1208 | + <field name="quebra" class="java.lang.Integer"/> | |
| 1209 | + <field name="nm_escola" class="java.lang.String"/> | |
| 1210 | + <field name="tipo_logradouro" class="java.lang.String"/> | |
| 1211 | + <field name="logradouro" class="java.lang.String"/> | |
| 1212 | + <field name="municipio" class="java.lang.String"/> | |
| 1213 | + <field name="bairro" class="java.lang.String"/> | |
| 1214 | + <field name="uf_municipio" class="java.lang.String"/> | |
| 1215 | + <field name="numero" class="java.math.BigDecimal"/> | |
| 1216 | + <field name="cep" class="java.lang.String"/> | |
| 1217 | + <field name="fone_ddd" class="java.math.BigDecimal"/> | |
| 1218 | + <field name="fone" class="java.lang.String"/> | |
| 1219 | + <field name="email" class="java.lang.String"/> | |
| 1220 | + <field name="hora_atual" class="java.lang.String"/> | |
| 1221 | + <field name="nome_aluno" class="java.lang.String"/> | |
| 1222 | + <field name="cidade_nascimento_uf" class="java.lang.String"/> | |
| 1223 | + <field name="data_nasc" class="java.lang.String"/> | |
| 1224 | + <field name="nome_dos_pais" class="java.lang.String"/> | |
| 1225 | + <background> | |
| 1226 | + <band splitType="Stretch"/> | |
| 1227 | + </background> | |
| 1228 | + <title> | |
| 1229 | + <band splitType="Stretch"/> | |
| 1230 | + </title> | |
| 1231 | + <pageHeader> | |
| 1232 | + <band height="215" splitType="Stretch"> | |
| 1233 | + <rectangle> | |
| 1234 | + <reportElement uuid="ea6d44cc-fe24-4446-98d7-0449a3397858" x="5" y="193" width="545" height="20"/> | |
| 1235 | + <graphicElement> | |
| 1236 | + <pen lineWidth="0.25"/> | |
| 1237 | + </graphicElement> | |
| 1238 | + </rectangle> | |
| 1239 | + <staticText> | |
| 1240 | + <reportElement uuid="b0685dfc-fddb-49b8-be3f-810ff9ecb2d8" x="507" y="198" width="36" height="13"/> | |
| 1241 | + <textElement> | |
| 1242 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1243 | + </textElement> | |
| 1244 | + <text><![CDATA[9º Ano]]></text> | |
| 1245 | + </staticText> | |
| 1246 | + <staticText> | |
| 1247 | + <reportElement uuid="a2e51f0c-21d2-440e-9318-c2fa18f1892c" x="192" y="198" width="36" height="13"/> | |
| 1248 | + <textElement> | |
| 1249 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1250 | + </textElement> | |
| 1251 | + <text><![CDATA[2º Ano]]></text> | |
| 1252 | + </staticText> | |
| 1253 | + <staticText> | |
| 1254 | + <reportElement uuid="29b246ed-2065-4401-b2ca-6763599b7aa7" x="237" y="198" width="36" height="13"/> | |
| 1255 | + <textElement> | |
| 1256 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1257 | + </textElement> | |
| 1258 | + <text><![CDATA[3º Ano]]></text> | |
| 1259 | + </staticText> | |
| 1260 | + <staticText> | |
| 1261 | + <reportElement uuid="c6a21768-f8e5-4e77-8d8d-893b26d7a9c1" x="282" y="198" width="36" height="13"/> | |
| 1262 | + <textElement> | |
| 1263 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1264 | + </textElement> | |
| 1265 | + <text><![CDATA[4º Ano]]></text> | |
| 1266 | + </staticText> | |
| 1267 | + <staticText> | |
| 1268 | + <reportElement uuid="201cc03d-25eb-4016-a8e1-4cf80d1e7643" x="327" y="198" width="36" height="13"/> | |
| 1269 | + <textElement> | |
| 1270 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1271 | + </textElement> | |
| 1272 | + <text><![CDATA[5º Ano]]></text> | |
| 1273 | + </staticText> | |
| 1274 | + <staticText> | |
| 1275 | + <reportElement uuid="635180f8-e6e3-44c0-9fca-39fe926f6e72" x="371" y="198" width="36" height="13"/> | |
| 1276 | + <textElement> | |
| 1277 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1278 | + </textElement> | |
| 1279 | + <text><![CDATA[6º Ano]]></text> | |
| 1280 | + </staticText> | |
| 1281 | + <staticText> | |
| 1282 | + <reportElement uuid="c596b2fc-898e-4fdc-b794-fd66c795dcd5" x="418" y="198" width="36" height="13"/> | |
| 1283 | + <textElement> | |
| 1284 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1285 | + </textElement> | |
| 1286 | + <text><![CDATA[7º Ano]]></text> | |
| 1287 | + </staticText> | |
| 1288 | + <staticText> | |
| 1289 | + <reportElement uuid="541a7ee9-e32f-4324-a53e-037477aa5148" x="148" y="198" width="36" height="13"/> | |
| 1290 | + <textElement> | |
| 1291 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1292 | + </textElement> | |
| 1293 | + <text><![CDATA[1º Ano]]></text> | |
| 1294 | + </staticText> | |
| 1295 | + <line> | |
| 1296 | + <reportElement uuid="024a97ae-1e11-47d6-8d9c-2c15027b0f62" x="145" y="193" width="1" height="20"/> | |
| 1297 | + <graphicElement> | |
| 1298 | + <pen lineWidth="0.25"/> | |
| 1299 | + </graphicElement> | |
| 1300 | + </line> | |
| 1301 | + <line> | |
| 1302 | + <reportElement uuid="2fd7441e-23e3-4e03-b655-6d8f9debaae4" x="188" y="193" width="1" height="20"/> | |
| 1303 | + <graphicElement> | |
| 1304 | + <pen lineWidth="0.25"/> | |
| 1305 | + </graphicElement> | |
| 1306 | + </line> | |
| 1307 | + <line> | |
| 1308 | + <reportElement uuid="ba9b8591-1531-431c-b186-4dd08d05d57e" x="233" y="193" width="1" height="20"/> | |
| 1309 | + <graphicElement> | |
| 1310 | + <pen lineWidth="0.25"/> | |
| 1311 | + </graphicElement> | |
| 1312 | + </line> | |
| 1313 | + <line> | |
| 1314 | + <reportElement uuid="9bd900b2-50df-45a6-bfbe-b9faf9e79e8d" x="279" y="193" width="1" height="20"/> | |
| 1315 | + <graphicElement> | |
| 1316 | + <pen lineWidth="0.25"/> | |
| 1317 | + </graphicElement> | |
| 1318 | + </line> | |
| 1319 | + <line> | |
| 1320 | + <reportElement uuid="d36a2018-4960-4019-bebc-1ed224f80c3b" x="322" y="193" width="1" height="20"/> | |
| 1321 | + <graphicElement> | |
| 1322 | + <pen lineWidth="0.25"/> | |
| 1323 | + </graphicElement> | |
| 1324 | + </line> | |
| 1325 | + <line> | |
| 1326 | + <reportElement uuid="3357f870-d895-4566-b0b9-ddef92fce118" x="368" y="193" width="1" height="20"/> | |
| 1327 | + <graphicElement> | |
| 1328 | + <pen lineWidth="0.25"/> | |
| 1329 | + </graphicElement> | |
| 1330 | + </line> | |
| 1331 | + <line> | |
| 1332 | + <reportElement uuid="37debec6-b016-40df-a013-136e45a4260c" x="414" y="193" width="1" height="20"/> | |
| 1333 | + <graphicElement> | |
| 1334 | + <pen lineWidth="0.25"/> | |
| 1335 | + </graphicElement> | |
| 1336 | + </line> | |
| 1337 | + <staticText> | |
| 1338 | + <reportElement uuid="dbdb5518-ffb4-431b-9eef-616466f1c63e" x="463" y="198" width="36" height="13"/> | |
| 1339 | + <textElement> | |
| 1340 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1341 | + </textElement> | |
| 1342 | + <text><![CDATA[8º Ano]]></text> | |
| 1343 | + </staticText> | |
| 1344 | + <line> | |
| 1345 | + <reportElement uuid="d661a6ab-67f4-4cad-a3a9-c384052ed27c" x="503" y="193" width="1" height="20"/> | |
| 1346 | + <graphicElement> | |
| 1347 | + <pen lineWidth="0.25"/> | |
| 1348 | + </graphicElement> | |
| 1349 | + </line> | |
| 1350 | + <rectangle> | |
| 1351 | + <reportElement uuid="7105e560-82f0-4c6f-9d82-bed6636acd45" x="5" y="4" width="545" height="167"/> | |
| 1352 | + <graphicElement> | |
| 1353 | + <pen lineWidth="0.25"/> | |
| 1354 | + </graphicElement> | |
| 1355 | + </rectangle> | |
| 1356 | + <line> | |
| 1357 | + <reportElement uuid="32372275-e19b-4b88-ac16-056d33a74c8d" x="457" y="193" width="1" height="20"/> | |
| 1358 | + <graphicElement> | |
| 1359 | + <pen lineWidth="0.25"/> | |
| 1360 | + </graphicElement> | |
| 1361 | + </line> | |
| 1362 | + <line> | |
| 1363 | + <reportElement uuid="46e6985a-ed40-421e-8a6a-680bcba77662" x="369" y="5" width="1" height="100"/> | |
| 1364 | + <graphicElement> | |
| 1365 | + <pen lineWidth="0.25"/> | |
| 1366 | + </graphicElement> | |
| 1367 | + </line> | |
| 1368 | + <line> | |
| 1369 | + <reportElement uuid="82c80571-f4b2-4d3f-b37d-224ae138f5bc" x="6" y="105" width="544" height="1"/> | |
| 1370 | + <graphicElement> | |
| 1371 | + <pen lineWidth="0.25"/> | |
| 1372 | + </graphicElement> | |
| 1373 | + </line> | |
| 1374 | + <line> | |
| 1375 | + <reportElement uuid="ae3c310e-f2ed-4e0a-acc6-1ace83f0ad0a" x="6" y="126" width="544" height="1"/> | |
| 1376 | + <graphicElement> | |
| 1377 | + <pen lineWidth="0.25"/> | |
| 1378 | + </graphicElement> | |
| 1379 | + </line> | |
| 1380 | + <staticText> | |
| 1381 | + <reportElement uuid="349c0d29-bb6c-4a8b-9a8c-9beb66d6f298" x="10" y="198" width="53" height="13"/> | |
| 1382 | + <textElement> | |
| 1383 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1384 | + </textElement> | |
| 1385 | + <text><![CDATA[DISCIPLINA]]></text> | |
| 1386 | + </staticText> | |
| 1387 | + <textField isStretchWithOverflow="true"> | |
| 1388 | + <reportElement uuid="093ef8e8-cdf2-4819-aeb4-4e7e434354da" x="10" y="129" width="533" height="17"/> | |
| 1389 | + <textElement> | |
| 1390 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1391 | + <paragraph lineSpacing="1_1_2"/> | |
| 1392 | + </textElement> | |
| 1393 | + <textFieldExpression><![CDATA["Certificamos que "+$F{nome_aluno}+ ", matrícula "+$F{cod_aluno}+ ", natural de "+$F{cidade_nascimento_uf}+" nascido em "+$F{data_nasc}]]></textFieldExpression> | |
| 1394 | + </textField> | |
| 1395 | + <textField isBlankWhenNull="true"> | |
| 1396 | + <reportElement uuid="f3937df4-d00f-4da0-95ac-8cf4c606de63" x="72" y="43" width="296" height="13"/> | |
| 1397 | + <textElement> | |
| 1398 | + <font fontName="DejaVu Sans" size="7" isBold="true"/> | |
| 1399 | + </textElement> | |
| 1400 | + <textFieldExpression><![CDATA["Endereço: "+$F{logradouro}+" "+$F{numero}]]></textFieldExpression> | |
| 1401 | + </textField> | |
| 1402 | + <textField isBlankWhenNull="true"> | |
| 1403 | + <reportElement uuid="90637f7a-13f9-48e0-9a09-d6e416466dca" x="278" y="79" width="88" height="13"/> | |
| 1404 | + <textElement> | |
| 1405 | + <font fontName="DejaVu Sans" size="7" isBold="true"/> | |
| 1406 | + </textElement> | |
| 1407 | + <textFieldExpression><![CDATA["Tel.: ("+$F{fone_ddd}+") "+$F{fone}]]></textFieldExpression> | |
| 1408 | + </textField> | |
| 1409 | + <textField> | |
| 1410 | + <reportElement uuid="af04960c-8fef-40d5-94fe-0ea1a94048e0" x="72" y="7" width="296" height="13"/> | |
| 1411 | + <textElement> | |
| 1412 | + <font fontName="DejaVu Sans" size="7" isBold="true"/> | |
| 1413 | + </textElement> | |
| 1414 | + <textFieldExpression><![CDATA[$F{nm_instituicao}]]></textFieldExpression> | |
| 1415 | + </textField> | |
| 1416 | + <textField isBlankWhenNull="true"> | |
| 1417 | + <reportElement uuid="a5674be7-6d9e-4d96-bfb3-90a1d7e18d05" x="278" y="67" width="88" height="13"/> | |
| 1418 | + <textElement> | |
| 1419 | + <font fontName="DejaVu Sans" size="7" isBold="true"/> | |
| 1420 | + </textElement> | |
| 1421 | + <textFieldExpression><![CDATA["CEP: "+$F{cep}]]></textFieldExpression> | |
| 1422 | + </textField> | |
| 1423 | + <textField isBlankWhenNull="true"> | |
| 1424 | + <reportElement uuid="15d042b7-b161-4bfe-aae1-d2cf648f5917" x="72" y="67" width="178" height="13"/> | |
| 1425 | + <textElement> | |
| 1426 | + <font fontName="DejaVu Sans" size="7" isBold="true"/> | |
| 1427 | + </textElement> | |
| 1428 | + <textFieldExpression><![CDATA[$F{municipio}+" - "+$F{uf_municipio}]]></textFieldExpression> | |
| 1429 | + </textField> | |
| 1430 | + <textField isBlankWhenNull="true"> | |
| 1431 | + <reportElement uuid="cda7d9f6-8213-4559-8f4e-c9dc875bccea" x="72" y="31" width="296" height="13"/> | |
| 1432 | + <textElement> | |
| 1433 | + <font fontName="DejaVu Sans" size="7" isBold="true"/> | |
| 1434 | + </textElement> | |
| 1435 | + <textFieldExpression><![CDATA[$F{nm_escola}]]></textFieldExpression> | |
| 1436 | + </textField> | |
| 1437 | + <textField isBlankWhenNull="true"> | |
| 1438 | + <reportElement uuid="a5ebd7ee-8fc0-4767-a169-59a3518e486e" x="72" y="79" width="205" height="13"/> | |
| 1439 | + <textElement> | |
| 1440 | + <font fontName="DejaVu Sans" size="7" isBold="true"/> | |
| 1441 | + </textElement> | |
| 1442 | + <textFieldExpression><![CDATA["E-mail: "+$F{email}]]></textFieldExpression> | |
| 1443 | + </textField> | |
| 1444 | + <textField isBlankWhenNull="true"> | |
| 1445 | + <reportElement uuid="fb82b8e6-ad73-4cc7-999a-e5dce10ce0c5" x="72" y="19" width="296" height="13"/> | |
| 1446 | + <textElement> | |
| 1447 | + <font fontName="DejaVu Sans" size="7" isBold="true"/> | |
| 1448 | + </textElement> | |
| 1449 | + <textFieldExpression><![CDATA[$F{nm_responsavel}]]></textFieldExpression> | |
| 1450 | + </textField> | |
| 1451 | + <textField isBlankWhenNull="true"> | |
| 1452 | + <reportElement uuid="70ab51f0-539c-42bf-baf3-7f04b148e4a2" x="72" y="55" width="296" height="13"/> | |
| 1453 | + <textElement> | |
| 1454 | + <font fontName="DejaVu Sans" size="7" isBold="true"/> | |
| 1455 | + </textElement> | |
| 1456 | + <textFieldExpression><![CDATA["Bairro: " +$F{bairro}]]></textFieldExpression> | |
| 1457 | + </textField> | |
| 1458 | + <image> | |
| 1459 | + <reportElement uuid="6656dabf-80a8-4bc7-aaf0-a660f90b97e9" x="11" y="7" width="57" height="46"/> | |
| 1460 | + <imageExpression><![CDATA[$P{logo}]]></imageExpression> | |
| 1461 | + </image> | |
| 1462 | + <staticText> | |
| 1463 | + <reportElement uuid="f05c03e0-3dab-4a25-8b6a-db0d644b3436" x="10" y="109" width="517" height="15"/> | |
| 1464 | + <textElement textAlignment="Center" markup="none"> | |
| 1465 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1466 | + </textElement> | |
| 1467 | + <text><![CDATA[CERTIFICADO DE CONCLUSÃO DE SÉRIE E/OU ANO DO ENSINO FUNDAMENTAL]]></text> | |
| 1468 | + </staticText> | |
| 1469 | + <staticText> | |
| 1470 | + <reportElement uuid="fa7a9cff-76c2-4065-8373-f23811f18f8e" x="30" y="174" width="396" height="16"/> | |
| 1471 | + <textElement textAlignment="Right" markup="none"> | |
| 1472 | + <font fontName="DejaVu Sans" size="11" isBold="true"/> | |
| 1473 | + </textElement> | |
| 1474 | + <text><![CDATA[HISTÓRICO ESCOLAR DO ENSINO FUNDAMENTAL]]></text> | |
| 1475 | + </staticText> | |
| 1476 | + <textField isStretchWithOverflow="true"> | |
| 1477 | + <reportElement uuid="093ef8e8-cdf2-4819-aeb4-4e7e434354da" x="11" y="148" width="533" height="17"/> | |
| 1478 | + <textElement> | |
| 1479 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1480 | + <paragraph lineSpacing="1_1_2"/> | |
| 1481 | + </textElement> | |
| 1482 | + <textFieldExpression><![CDATA["filho de "+$F{nome_dos_pais}+" concluíu os anos do ensino fundamental conforme Histórico Escolar."]]></textFieldExpression> | |
| 1483 | + </textField> | |
| 1484 | + </band> | |
| 1485 | + </pageHeader> | |
| 1486 | + <columnHeader> | |
| 1487 | + <band splitType="Stretch"/> | |
| 1488 | + </columnHeader> | |
| 1489 | + <detail> | |
| 1490 | + <band height="15" splitType="Stretch"> | |
| 1491 | + <rectangle> | |
| 1492 | + <reportElement uuid="22bc594c-3a91-4a59-8b2a-513562283e6c" mode="Opaque" x="7" y="-1" width="541" height="13" forecolor="#FFFFFF" backcolor="#F0F0F0"> | |
| 1493 | + <printWhenExpression><![CDATA[new Boolean(($V{COLUMN_COUNT} % 2) == 1)]]></printWhenExpression> | |
| 1494 | + </reportElement> | |
| 1495 | + </rectangle> | |
| 1496 | + <textField isBlankWhenNull="true"> | |
| 1497 | + <reportElement uuid="d838c1cd-587a-4902-9764-adb61c630fe9" x="149" y="1" width="36" height="13" isRemoveLineWhenBlank="true" forecolor="#000000" backcolor="#FFFFFF"/> | |
| 1498 | + <textElement textAlignment="Center"> | |
| 1499 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1500 | + </textElement> | |
| 1501 | + <textFieldExpression><![CDATA[$F{nota_1serie}]]></textFieldExpression> | |
| 1502 | + </textField> | |
| 1503 | + <textField isBlankWhenNull="true"> | |
| 1504 | + <reportElement uuid="370b36a9-c901-4c21-8f6d-aab57527a001" x="194" y="1" width="36" height="13" isRemoveLineWhenBlank="true"/> | |
| 1505 | + <textElement textAlignment="Center"> | |
| 1506 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1507 | + </textElement> | |
| 1508 | + <textFieldExpression><![CDATA[$F{nota_2serie}]]></textFieldExpression> | |
| 1509 | + </textField> | |
| 1510 | + <textField isBlankWhenNull="true"> | |
| 1511 | + <reportElement uuid="c7398cbb-e3a2-4194-b181-81f5318edda3" x="238" y="1" width="36" height="13" isRemoveLineWhenBlank="true"/> | |
| 1512 | + <textElement textAlignment="Center"> | |
| 1513 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1514 | + </textElement> | |
| 1515 | + <textFieldExpression><![CDATA[$F{nota_3serie}]]></textFieldExpression> | |
| 1516 | + </textField> | |
| 1517 | + <textField isBlankWhenNull="true"> | |
| 1518 | + <reportElement uuid="39a059b6-42bf-4172-87d7-c235f0caf018" x="282" y="1" width="36" height="13" isRemoveLineWhenBlank="true"/> | |
| 1519 | + <textElement textAlignment="Center"> | |
| 1520 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1521 | + </textElement> | |
| 1522 | + <textFieldExpression><![CDATA[$F{nota_4serie}]]></textFieldExpression> | |
| 1523 | + </textField> | |
| 1524 | + <textField isBlankWhenNull="true"> | |
| 1525 | + <reportElement uuid="169bc2f9-f8b5-4668-9141-f76c299fc219" x="327" y="1" width="36" height="13" isRemoveLineWhenBlank="true"/> | |
| 1526 | + <textElement textAlignment="Center"> | |
| 1527 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1528 | + </textElement> | |
| 1529 | + <textFieldExpression><![CDATA[$F{nota_5serie}]]></textFieldExpression> | |
| 1530 | + </textField> | |
| 1531 | + <textField isBlankWhenNull="true"> | |
| 1532 | + <reportElement uuid="40c7d2c2-7e4c-4a11-b8b9-870b88bad31a" x="371" y="1" width="36" height="13" isRemoveLineWhenBlank="true"/> | |
| 1533 | + <textElement textAlignment="Center"> | |
| 1534 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1535 | + </textElement> | |
| 1536 | + <textFieldExpression><![CDATA[$F{nota_6serie}]]></textFieldExpression> | |
| 1537 | + </textField> | |
| 1538 | + <textField isBlankWhenNull="true"> | |
| 1539 | + <reportElement uuid="c183421b-a182-4d18-ad1c-6311344b37b2" x="418" y="1" width="36" height="13" isRemoveLineWhenBlank="true"/> | |
| 1540 | + <textElement textAlignment="Center"> | |
| 1541 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1542 | + </textElement> | |
| 1543 | + <textFieldExpression><![CDATA[$F{nota_7serie}]]></textFieldExpression> | |
| 1544 | + </textField> | |
| 1545 | + <textField isBlankWhenNull="true"> | |
| 1546 | + <reportElement uuid="3e9e57bd-48b3-48cf-a805-1c7707e110fe" x="464" y="1" width="36" height="13" isRemoveLineWhenBlank="true"/> | |
| 1547 | + <textElement textAlignment="Center"> | |
| 1548 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1549 | + </textElement> | |
| 1550 | + <textFieldExpression><![CDATA[$F{nota_8serie}]]></textFieldExpression> | |
| 1551 | + </textField> | |
| 1552 | + <textField isBlankWhenNull="true"> | |
| 1553 | + <reportElement uuid="0a15f8d7-1190-41c1-a104-3594a8411d47" x="508" y="1" width="36" height="13" isRemoveLineWhenBlank="true"/> | |
| 1554 | + <textElement textAlignment="Center"> | |
| 1555 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1556 | + </textElement> | |
| 1557 | + <textFieldExpression><![CDATA[$F{nota_9serie}]]></textFieldExpression> | |
| 1558 | + </textField> | |
| 1559 | + <textField isBlankWhenNull="true"> | |
| 1560 | + <reportElement uuid="53661c8e-23c8-4f4b-8d90-ae4b10cc0c49" x="7" y="1" width="138" height="13" isRemoveLineWhenBlank="true"/> | |
| 1561 | + <textElement> | |
| 1562 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1563 | + </textElement> | |
| 1564 | + <textFieldExpression><![CDATA[$F{nm_disciplina}]]></textFieldExpression> | |
| 1565 | + </textField> | |
| 1566 | + </band> | |
| 1567 | + </detail> | |
| 1568 | + <columnFooter> | |
| 1569 | + <band splitType="Stretch"/> | |
| 1570 | + </columnFooter> | |
| 1571 | + <pageFooter> | |
| 1572 | + <band height="404" splitType="Stretch"> | |
| 1573 | + <rectangle> | |
| 1574 | + <reportElement uuid="adc2655b-4f6a-43c5-843e-bef1f7a3e91d" x="5" y="3" width="545" height="39"/> | |
| 1575 | + <graphicElement> | |
| 1576 | + <pen lineWidth="0.25"/> | |
| 1577 | + </graphicElement> | |
| 1578 | + </rectangle> | |
| 1579 | + <staticText> | |
| 1580 | + <reportElement uuid="92ab7d33-d5ad-48cc-acff-c9b75685dc71" x="10" y="6" width="100" height="15"/> | |
| 1581 | + <textElement> | |
| 1582 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1583 | + </textElement> | |
| 1584 | + <text><![CDATA[% FREQUÊNCIA]]></text> | |
| 1585 | + </staticText> | |
| 1586 | + <textField isBlankWhenNull="true"> | |
| 1587 | + <reportElement uuid="8cf591b2-75d7-4add-8783-abdeb331962f" x="149" y="7" width="36" height="13"/> | |
| 1588 | + <textElement textAlignment="Center"> | |
| 1589 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1590 | + </textElement> | |
| 1591 | + <textFieldExpression><![CDATA[$F{freq1}]]></textFieldExpression> | |
| 1592 | + </textField> | |
| 1593 | + <textField isBlankWhenNull="true"> | |
| 1594 | + <reportElement uuid="98eb227e-6f26-4017-8f1d-8969a2d8eb93" x="194" y="7" width="36" height="13"/> | |
| 1595 | + <textElement textAlignment="Center"> | |
| 1596 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1597 | + </textElement> | |
| 1598 | + <textFieldExpression><![CDATA[$F{freq2}]]></textFieldExpression> | |
| 1599 | + </textField> | |
| 1600 | + <textField isBlankWhenNull="true"> | |
| 1601 | + <reportElement uuid="aacf8c37-60f5-41b3-8b54-ac222bffcdec" x="238" y="7" width="36" height="13"/> | |
| 1602 | + <textElement textAlignment="Center"> | |
| 1603 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1604 | + </textElement> | |
| 1605 | + <textFieldExpression><![CDATA[$F{freq3}]]></textFieldExpression> | |
| 1606 | + </textField> | |
| 1607 | + <textField isBlankWhenNull="true"> | |
| 1608 | + <reportElement uuid="92dda2f4-fc11-4e65-87fb-0413e439b78e" x="282" y="7" width="36" height="13"/> | |
| 1609 | + <textElement textAlignment="Center"> | |
| 1610 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1611 | + </textElement> | |
| 1612 | + <textFieldExpression><![CDATA[$F{freq4}]]></textFieldExpression> | |
| 1613 | + </textField> | |
| 1614 | + <textField isBlankWhenNull="true"> | |
| 1615 | + <reportElement uuid="0a88f57a-a5be-496c-aa26-586a7a2827c1" x="327" y="6" width="36" height="13"/> | |
| 1616 | + <textElement textAlignment="Center"> | |
| 1617 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1618 | + </textElement> | |
| 1619 | + <textFieldExpression><![CDATA[$F{freq5}]]></textFieldExpression> | |
| 1620 | + </textField> | |
| 1621 | + <textField isBlankWhenNull="true"> | |
| 1622 | + <reportElement uuid="8ddfd8cd-1e16-4437-9733-72e4cc014a38" x="371" y="6" width="36" height="13"/> | |
| 1623 | + <textElement textAlignment="Center"> | |
| 1624 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1625 | + </textElement> | |
| 1626 | + <textFieldExpression><![CDATA[$F{freq6}]]></textFieldExpression> | |
| 1627 | + </textField> | |
| 1628 | + <textField isBlankWhenNull="true"> | |
| 1629 | + <reportElement uuid="336e766b-df4a-4d0e-bd98-649f6bc0b17c" x="418" y="6" width="36" height="13"/> | |
| 1630 | + <textElement textAlignment="Center"> | |
| 1631 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1632 | + </textElement> | |
| 1633 | + <textFieldExpression><![CDATA[$F{freq7}]]></textFieldExpression> | |
| 1634 | + </textField> | |
| 1635 | + <textField isBlankWhenNull="true"> | |
| 1636 | + <reportElement uuid="f4d72fd6-9772-424c-bf79-1b5b1ae549ae" x="464" y="6" width="36" height="13"/> | |
| 1637 | + <textElement textAlignment="Center"> | |
| 1638 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1639 | + </textElement> | |
| 1640 | + <textFieldExpression><![CDATA[$F{freq8}]]></textFieldExpression> | |
| 1641 | + </textField> | |
| 1642 | + <textField isBlankWhenNull="true"> | |
| 1643 | + <reportElement uuid="0e366b15-5460-4726-bcc0-2455a41963d6" x="508" y="6" width="36" height="13"/> | |
| 1644 | + <textElement textAlignment="Center"> | |
| 1645 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1646 | + </textElement> | |
| 1647 | + <textFieldExpression><![CDATA[$F{freq9}]]></textFieldExpression> | |
| 1648 | + </textField> | |
| 1649 | + <textField isBlankWhenNull="true"> | |
| 1650 | + <reportElement uuid="25f361dc-3688-475c-96d3-3620d2495985" x="149" y="26" width="35" height="13" forecolor="#000000" backcolor="#FFFFFF"/> | |
| 1651 | + <textElement textAlignment="Center"> | |
| 1652 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1653 | + </textElement> | |
| 1654 | + <textFieldExpression><![CDATA[$F{status_serie1}]]></textFieldExpression> | |
| 1655 | + </textField> | |
| 1656 | + <textField isBlankWhenNull="true"> | |
| 1657 | + <reportElement uuid="fa2b5d01-edcf-4874-aef0-7debfc315ecc" x="194" y="26" width="35" height="13" forecolor="#000000" backcolor="#FFFFFF"/> | |
| 1658 | + <textElement textAlignment="Center"> | |
| 1659 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1660 | + </textElement> | |
| 1661 | + <textFieldExpression><![CDATA[$F{status_serie2}]]></textFieldExpression> | |
| 1662 | + </textField> | |
| 1663 | + <textField isBlankWhenNull="true"> | |
| 1664 | + <reportElement uuid="5ed4d9a8-80e4-4c5d-afdb-ac16ce607451" x="238" y="26" width="35" height="13" forecolor="#000000" backcolor="#FFFFFF"/> | |
| 1665 | + <textElement textAlignment="Center"> | |
| 1666 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1667 | + </textElement> | |
| 1668 | + <textFieldExpression><![CDATA[$F{status_serie3}]]></textFieldExpression> | |
| 1669 | + </textField> | |
| 1670 | + <textField isBlankWhenNull="true"> | |
| 1671 | + <reportElement uuid="3ab2de74-10b0-4313-8832-9ed424117cdd" x="282" y="26" width="35" height="13" forecolor="#000000" backcolor="#FFFFFF"/> | |
| 1672 | + <textElement textAlignment="Center"> | |
| 1673 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1674 | + </textElement> | |
| 1675 | + <textFieldExpression><![CDATA[$F{status_serie4}]]></textFieldExpression> | |
| 1676 | + </textField> | |
| 1677 | + <line> | |
| 1678 | + <reportElement uuid="7aa269e6-53b8-409c-becb-7fa5cd5e2665" x="5" y="23" width="545" height="1"/> | |
| 1679 | + <graphicElement> | |
| 1680 | + <pen lineWidth="0.25"/> | |
| 1681 | + </graphicElement> | |
| 1682 | + </line> | |
| 1683 | + <staticText> | |
| 1684 | + <reportElement uuid="a2720361-54b0-4d9e-8140-8bd8382a9e7a" x="10" y="26" width="100" height="15"/> | |
| 1685 | + <textElement> | |
| 1686 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1687 | + </textElement> | |
| 1688 | + <text><![CDATA[RESULTADO FINAL]]></text> | |
| 1689 | + </staticText> | |
| 1690 | + <textField isBlankWhenNull="true"> | |
| 1691 | + <reportElement uuid="7edcad6b-de75-411d-90af-fba2993da146" x="327" y="26" width="35" height="13" forecolor="#000000" backcolor="#FFFFFF"/> | |
| 1692 | + <textElement textAlignment="Center"> | |
| 1693 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1694 | + </textElement> | |
| 1695 | + <textFieldExpression><![CDATA[$F{status_serie5}]]></textFieldExpression> | |
| 1696 | + </textField> | |
| 1697 | + <textField isBlankWhenNull="true"> | |
| 1698 | + <reportElement uuid="77336a5e-a297-463f-aa0a-1bac937a6441" x="371" y="26" width="35" height="13" forecolor="#000000" backcolor="#FFFFFF"/> | |
| 1699 | + <textElement textAlignment="Center"> | |
| 1700 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1701 | + </textElement> | |
| 1702 | + <textFieldExpression><![CDATA[$F{status_serie6}]]></textFieldExpression> | |
| 1703 | + </textField> | |
| 1704 | + <textField isBlankWhenNull="true"> | |
| 1705 | + <reportElement uuid="0e753959-9cee-44a2-b63a-bb38a58b43d5" x="418" y="26" width="35" height="13" forecolor="#000000" backcolor="#FFFFFF"/> | |
| 1706 | + <textElement textAlignment="Center"> | |
| 1707 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1708 | + </textElement> | |
| 1709 | + <textFieldExpression><![CDATA[$F{status_serie7}]]></textFieldExpression> | |
| 1710 | + </textField> | |
| 1711 | + <textField isBlankWhenNull="true"> | |
| 1712 | + <reportElement uuid="cb7df797-6ae9-47e6-ab58-a3de0323eb9e" x="464" y="26" width="35" height="13" forecolor="#000000" backcolor="#FFFFFF"/> | |
| 1713 | + <textElement textAlignment="Center"> | |
| 1714 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1715 | + </textElement> | |
| 1716 | + <textFieldExpression><![CDATA[$F{status_serie8}]]></textFieldExpression> | |
| 1717 | + </textField> | |
| 1718 | + <textField isBlankWhenNull="true"> | |
| 1719 | + <reportElement uuid="d68a6114-5520-4403-ba23-fe0a7926f368" x="508" y="26" width="35" height="13" forecolor="#000000" backcolor="#FFFFFF"/> | |
| 1720 | + <textElement textAlignment="Center"> | |
| 1721 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1722 | + </textElement> | |
| 1723 | + <textFieldExpression><![CDATA[$F{status_serie9}]]></textFieldExpression> | |
| 1724 | + </textField> | |
| 1725 | + <rectangle> | |
| 1726 | + <reportElement uuid="8338d812-0ef5-4a47-91cd-256955ee7001" x="5" y="49" width="545" height="354"/> | |
| 1727 | + <graphicElement> | |
| 1728 | + <pen lineWidth="0.25"/> | |
| 1729 | + </graphicElement> | |
| 1730 | + </rectangle> | |
| 1731 | + <line> | |
| 1732 | + <reportElement uuid="bdbf13c6-341c-4e60-8dc4-eaaa049eab6e" x="5" y="212" width="545" height="1"/> | |
| 1733 | + <graphicElement> | |
| 1734 | + <pen lineWidth="0.25"/> | |
| 1735 | + </graphicElement> | |
| 1736 | + </line> | |
| 1737 | + <line> | |
| 1738 | + <reportElement uuid="b1659632-9cba-47e9-b31b-7ce7e6c080c4" x="5" y="66" width="545" height="1"/> | |
| 1739 | + <graphicElement> | |
| 1740 | + <pen lineWidth="0.25"/> | |
| 1741 | + </graphicElement> | |
| 1742 | + </line> | |
| 1743 | + <line> | |
| 1744 | + <reportElement uuid="202c2f99-b5c9-44f9-922f-c8392bdf4eb4" x="54" y="49" width="1" height="17"/> | |
| 1745 | + <graphicElement> | |
| 1746 | + <pen lineWidth="0.25"/> | |
| 1747 | + </graphicElement> | |
| 1748 | + </line> | |
| 1749 | + <staticText> | |
| 1750 | + <reportElement uuid="06ae0b46-dcda-49f7-9f1d-0126b60b8670" x="9" y="50" width="45" height="15"/> | |
| 1751 | + <textElement textAlignment="Center"> | |
| 1752 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1753 | + </textElement> | |
| 1754 | + <text><![CDATA[ANO]]></text> | |
| 1755 | + </staticText> | |
| 1756 | + <staticText> | |
| 1757 | + <reportElement uuid="a1e351d3-3675-4b07-9daf-e112a218f1f7" x="58" y="50" width="56" height="15"/> | |
| 1758 | + <textElement textAlignment="Center"> | |
| 1759 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1760 | + </textElement> | |
| 1761 | + <text><![CDATA[ANO LETIVO]]></text> | |
| 1762 | + </staticText> | |
| 1763 | + <line> | |
| 1764 | + <reportElement uuid="9757ab07-a037-4c5d-a481-d55091c2fc3c" x="114" y="49" width="1" height="17"/> | |
| 1765 | + <graphicElement> | |
| 1766 | + <pen lineWidth="0.25"/> | |
| 1767 | + </graphicElement> | |
| 1768 | + </line> | |
| 1769 | + <staticText> | |
| 1770 | + <reportElement uuid="1716ee42-17e4-4f6b-becd-3c4cabe79d80" x="117" y="50" width="245" height="15"/> | |
| 1771 | + <textElement> | |
| 1772 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1773 | + </textElement> | |
| 1774 | + <text><![CDATA[ESTABELECIMENTO DE ENSINO]]></text> | |
| 1775 | + </staticText> | |
| 1776 | + <line> | |
| 1777 | + <reportElement uuid="5c85e41c-0908-42b8-8fc6-d183abc6e8f3" x="365" y="49" width="1" height="17"/> | |
| 1778 | + <graphicElement> | |
| 1779 | + <pen lineWidth="0.25"/> | |
| 1780 | + </graphicElement> | |
| 1781 | + </line> | |
| 1782 | + <staticText> | |
| 1783 | + <reportElement uuid="a3a5fa19-ce7a-4110-ae2d-f37ddd4a09a8" x="367" y="50" width="59" height="15"/> | |
| 1784 | + <textElement> | |
| 1785 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1786 | + </textElement> | |
| 1787 | + <text><![CDATA[MUNICÍPIO]]></text> | |
| 1788 | + </staticText> | |
| 1789 | + <line> | |
| 1790 | + <reportElement uuid="8d5ac822-469d-46cc-b24a-3daec3b12c3b" x="523" y="49" width="1" height="17"/> | |
| 1791 | + <graphicElement> | |
| 1792 | + <pen lineWidth="0.25"/> | |
| 1793 | + </graphicElement> | |
| 1794 | + </line> | |
| 1795 | + <staticText> | |
| 1796 | + <reportElement uuid="41bdfeb1-bbf8-4f21-b137-c1e5ce9e37fe" x="527" y="50" width="20" height="15"/> | |
| 1797 | + <textElement textAlignment="Center"> | |
| 1798 | + <font fontName="DejaVu Sans" size="8" isBold="true"/> | |
| 1799 | + </textElement> | |
| 1800 | + <text><![CDATA[UF]]></text> | |
| 1801 | + </staticText> | |
| 1802 | + <line> | |
| 1803 | + <reportElement uuid="c9558c2a-36df-40b5-8bb9-25fd7d11a74f" x="5" y="82" width="545" height="1"/> | |
| 1804 | + <graphicElement> | |
| 1805 | + <pen lineWidth="0.25"/> | |
| 1806 | + </graphicElement> | |
| 1807 | + </line> | |
| 1808 | + <staticText> | |
| 1809 | + <reportElement uuid="e8f3bc12-34a6-4f6f-a751-0ba86fba7ae0" x="9" y="68" width="45" height="13"/> | |
| 1810 | + <textElement textAlignment="Center"> | |
| 1811 | + <font fontName="DejaVu Sans" size="8" isBold="false"/> | |
| 1812 | + </textElement> | |
| 1813 | + <text><![CDATA[1º Ano]]></text> | |
| 1814 | + </staticText> | |
| 1815 | + <textField isBlankWhenNull="true"> | |
| 1816 | + <reportElement uuid="c7d262d4-f363-4df2-b893-ab16f525f25d" x="69" y="68" width="34" height="13"/> | |
| 1817 | + <textElement textAlignment="Center"> | |
| 1818 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1819 | + </textElement> | |
| 1820 | + <textFieldExpression><![CDATA[$F{ano_1serie}]]></textFieldExpression> | |
| 1821 | + </textField> | |
| 1822 | + <textField isBlankWhenNull="true"> | |
| 1823 | + <reportElement uuid="f957c5fe-8f0e-44a9-a42e-e6c93899479b" x="367" y="68" width="149" height="13"/> | |
| 1824 | + <textElement> | |
| 1825 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1826 | + </textElement> | |
| 1827 | + <textFieldExpression><![CDATA[$F{escola_cidade_1serie}]]></textFieldExpression> | |
| 1828 | + </textField> | |
| 1829 | + <textField isBlankWhenNull="true"> | |
| 1830 | + <reportElement uuid="c7242983-4441-4737-89dc-6145b0922aa7" x="117" y="68" width="245" height="13"/> | |
| 1831 | + <textElement> | |
| 1832 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1833 | + </textElement> | |
| 1834 | + <textFieldExpression><![CDATA[$F{escola_1serie}]]></textFieldExpression> | |
| 1835 | + </textField> | |
| 1836 | + <textField isBlankWhenNull="true"> | |
| 1837 | + <reportElement uuid="a6c81a93-a4c1-4294-b2a0-9d6122ce0b03" x="527" y="68" width="20" height="13"/> | |
| 1838 | + <textElement textAlignment="Center"> | |
| 1839 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1840 | + </textElement> | |
| 1841 | + <textFieldExpression><![CDATA[$F{escola_uf_1serie}]]></textFieldExpression> | |
| 1842 | + </textField> | |
| 1843 | + <line> | |
| 1844 | + <reportElement uuid="1babccd1-6c2f-4344-8445-d0c176859442" x="5" y="98" width="545" height="1"/> | |
| 1845 | + <graphicElement> | |
| 1846 | + <pen lineWidth="0.25"/> | |
| 1847 | + </graphicElement> | |
| 1848 | + </line> | |
| 1849 | + <staticText> | |
| 1850 | + <reportElement uuid="776f3a04-c4db-4ead-a7d4-cd9e89f29bb6" x="9" y="84" width="45" height="13"/> | |
| 1851 | + <textElement textAlignment="Center"> | |
| 1852 | + <font fontName="DejaVu Sans" size="8" isBold="false"/> | |
| 1853 | + </textElement> | |
| 1854 | + <text><![CDATA[2º Ano]]></text> | |
| 1855 | + </staticText> | |
| 1856 | + <textField isBlankWhenNull="true"> | |
| 1857 | + <reportElement uuid="482eb2c4-f998-4839-a0b1-e9eade42ec43" x="69" y="84" width="34" height="13"/> | |
| 1858 | + <textElement textAlignment="Center"> | |
| 1859 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1860 | + </textElement> | |
| 1861 | + <textFieldExpression><![CDATA[$F{ano_2serie}]]></textFieldExpression> | |
| 1862 | + </textField> | |
| 1863 | + <textField isBlankWhenNull="true"> | |
| 1864 | + <reportElement uuid="7d644432-7bbe-404d-bc01-197c717d8058" x="117" y="84" width="245" height="13"/> | |
| 1865 | + <textElement> | |
| 1866 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1867 | + </textElement> | |
| 1868 | + <textFieldExpression><![CDATA[$F{escola_2serie}]]></textFieldExpression> | |
| 1869 | + </textField> | |
| 1870 | + <textField isBlankWhenNull="true"> | |
| 1871 | + <reportElement uuid="b00be1f9-5cfe-468f-85a1-70ebf8361d28" x="367" y="84" width="149" height="13"/> | |
| 1872 | + <textElement> | |
| 1873 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1874 | + </textElement> | |
| 1875 | + <textFieldExpression><![CDATA[$F{escola_cidade_2serie}]]></textFieldExpression> | |
| 1876 | + </textField> | |
| 1877 | + <textField isBlankWhenNull="true"> | |
| 1878 | + <reportElement uuid="e1783dc5-44fa-4697-a42f-947b4aa06564" x="527" y="84" width="20" height="13"/> | |
| 1879 | + <textElement textAlignment="Center"> | |
| 1880 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1881 | + </textElement> | |
| 1882 | + <textFieldExpression><![CDATA[$F{escola_uf_2serie}]]></textFieldExpression> | |
| 1883 | + </textField> | |
| 1884 | + <staticText> | |
| 1885 | + <reportElement uuid="d4401d49-e082-4060-b229-51dc8376f90a" x="9" y="100" width="45" height="13"/> | |
| 1886 | + <textElement textAlignment="Center"> | |
| 1887 | + <font fontName="DejaVu Sans" size="8" isBold="false"/> | |
| 1888 | + </textElement> | |
| 1889 | + <text><![CDATA[3º Ano]]></text> | |
| 1890 | + </staticText> | |
| 1891 | + <line> | |
| 1892 | + <reportElement uuid="e423657f-777c-435c-9934-739ff9223d9e" x="5" y="114" width="545" height="1"/> | |
| 1893 | + <graphicElement> | |
| 1894 | + <pen lineWidth="0.25"/> | |
| 1895 | + </graphicElement> | |
| 1896 | + </line> | |
| 1897 | + <textField isBlankWhenNull="true"> | |
| 1898 | + <reportElement uuid="87a084bd-37ba-486c-9ed6-3e4c4b6fb7c3" x="69" y="100" width="34" height="13"/> | |
| 1899 | + <textElement textAlignment="Center"> | |
| 1900 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1901 | + </textElement> | |
| 1902 | + <textFieldExpression><![CDATA[$F{ano_3serie}]]></textFieldExpression> | |
| 1903 | + </textField> | |
| 1904 | + <textField isBlankWhenNull="true"> | |
| 1905 | + <reportElement uuid="47199244-73df-42d0-b102-cd649452a0e6" x="117" y="100" width="245" height="13"/> | |
| 1906 | + <textElement> | |
| 1907 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1908 | + </textElement> | |
| 1909 | + <textFieldExpression><![CDATA[$F{escola_3serie}]]></textFieldExpression> | |
| 1910 | + </textField> | |
| 1911 | + <textField isBlankWhenNull="true"> | |
| 1912 | + <reportElement uuid="4429b95e-5290-4306-b8f7-c3d805c1c6cc" x="367" y="100" width="149" height="13"/> | |
| 1913 | + <textElement> | |
| 1914 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1915 | + </textElement> | |
| 1916 | + <textFieldExpression><![CDATA[$F{escola_cidade_3serie}]]></textFieldExpression> | |
| 1917 | + </textField> | |
| 1918 | + <textField isBlankWhenNull="true"> | |
| 1919 | + <reportElement uuid="01a60fa3-75c1-424a-9ad9-ae90dcd1aa28" x="527" y="100" width="20" height="13"/> | |
| 1920 | + <textElement textAlignment="Center"> | |
| 1921 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1922 | + </textElement> | |
| 1923 | + <textFieldExpression><![CDATA[$F{escola_uf_3serie}]]></textFieldExpression> | |
| 1924 | + </textField> | |
| 1925 | + <staticText> | |
| 1926 | + <reportElement uuid="ff8581c7-a2a3-434b-98ad-8d3bdd78b64d" x="9" y="117" width="45" height="13"/> | |
| 1927 | + <textElement textAlignment="Center"> | |
| 1928 | + <font fontName="DejaVu Sans" size="8" isBold="false"/> | |
| 1929 | + </textElement> | |
| 1930 | + <text><![CDATA[4º Ano]]></text> | |
| 1931 | + </staticText> | |
| 1932 | + <textField isBlankWhenNull="true"> | |
| 1933 | + <reportElement uuid="a9d1d4cc-755d-4583-8b5d-d34a7aa071dc" x="69" y="117" width="34" height="13"/> | |
| 1934 | + <textElement textAlignment="Center"> | |
| 1935 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1936 | + </textElement> | |
| 1937 | + <textFieldExpression><![CDATA[$F{ano_4serie}]]></textFieldExpression> | |
| 1938 | + </textField> | |
| 1939 | + <textField isBlankWhenNull="true"> | |
| 1940 | + <reportElement uuid="620f9279-f15d-460c-b533-9b09a2efd0a9" x="117" y="117" width="245" height="13"/> | |
| 1941 | + <textElement> | |
| 1942 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1943 | + </textElement> | |
| 1944 | + <textFieldExpression><![CDATA[$F{escola_4serie}]]></textFieldExpression> | |
| 1945 | + </textField> | |
| 1946 | + <textField isBlankWhenNull="true"> | |
| 1947 | + <reportElement uuid="68fc4006-a131-4585-a1f1-b320fec16c58" x="367" y="117" width="149" height="13"/> | |
| 1948 | + <textElement> | |
| 1949 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1950 | + </textElement> | |
| 1951 | + <textFieldExpression><![CDATA[$F{escola_cidade_4serie}]]></textFieldExpression> | |
| 1952 | + </textField> | |
| 1953 | + <textField isBlankWhenNull="true"> | |
| 1954 | + <reportElement uuid="4054ea26-e399-4f55-aba4-3f226749d587" x="527" y="117" width="20" height="13"/> | |
| 1955 | + <textElement textAlignment="Center"> | |
| 1956 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1957 | + </textElement> | |
| 1958 | + <textFieldExpression><![CDATA[$F{escola_uf_4serie}]]></textFieldExpression> | |
| 1959 | + </textField> | |
| 1960 | + <line> | |
| 1961 | + <reportElement uuid="27bd2189-149d-46b8-9cae-9b6a98b1578e" x="5" y="131" width="545" height="1"/> | |
| 1962 | + <graphicElement> | |
| 1963 | + <pen lineWidth="0.25"/> | |
| 1964 | + </graphicElement> | |
| 1965 | + </line> | |
| 1966 | + <staticText> | |
| 1967 | + <reportElement uuid="848cb82b-3422-4091-9fba-c83d3183dd2f" x="9" y="133" width="45" height="13"/> | |
| 1968 | + <textElement textAlignment="Center"> | |
| 1969 | + <font fontName="DejaVu Sans" size="8" isBold="false"/> | |
| 1970 | + </textElement> | |
| 1971 | + <text><![CDATA[5º Ano]]></text> | |
| 1972 | + </staticText> | |
| 1973 | + <textField isBlankWhenNull="true"> | |
| 1974 | + <reportElement uuid="3555f7ef-f1ba-4b40-b01b-9ab6b0cad029" x="69" y="133" width="34" height="13"/> | |
| 1975 | + <textElement textAlignment="Center"> | |
| 1976 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1977 | + </textElement> | |
| 1978 | + <textFieldExpression><![CDATA[$F{ano_5serie}]]></textFieldExpression> | |
| 1979 | + </textField> | |
| 1980 | + <textField isBlankWhenNull="true"> | |
| 1981 | + <reportElement uuid="6892a19c-9126-48d6-abe3-6da4b0f65cb2" x="117" y="133" width="245" height="13"/> | |
| 1982 | + <textElement> | |
| 1983 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1984 | + </textElement> | |
| 1985 | + <textFieldExpression><![CDATA[$F{escola_5serie}]]></textFieldExpression> | |
| 1986 | + </textField> | |
| 1987 | + <textField isBlankWhenNull="true"> | |
| 1988 | + <reportElement uuid="db954329-e485-4fbc-824a-0823bbb262f7" x="367" y="133" width="149" height="13"/> | |
| 1989 | + <textElement> | |
| 1990 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1991 | + </textElement> | |
| 1992 | + <textFieldExpression><![CDATA[$F{escola_cidade_5serie}]]></textFieldExpression> | |
| 1993 | + </textField> | |
| 1994 | + <textField isBlankWhenNull="true"> | |
| 1995 | + <reportElement uuid="f8047782-5abd-4d73-8e19-a019ff876b6e" x="527" y="133" width="20" height="13"/> | |
| 1996 | + <textElement textAlignment="Center"> | |
| 1997 | + <font fontName="DejaVu Sans" size="8"/> | |
| 1998 | + </textElement> | |
| 1999 | + <textFieldExpression><![CDATA[$F{escola_uf_5serie}]]></textFieldExpression> | |
| 2000 | + </textField> | |
| 2001 | + <line> | |
| 2002 | + <reportElement uuid="23bd8f5e-8e35-4c57-a133-0d15aa11c793" x="5" y="147" width="545" height="1"/> | |
| 2003 | + <graphicElement> | |
| 2004 | + <pen lineWidth="0.25"/> | |
| 2005 | + </graphicElement> | |
| 2006 | + </line> | |
| 2007 | + <staticText> | |
| 2008 | + <reportElement uuid="940f582a-580f-46b9-8306-5dd0e138508a" x="9" y="149" width="45" height="13"/> | |
| 2009 | + <textElement textAlignment="Center"> | |
| 2010 | + <font fontName="DejaVu Sans" size="8" isBold="false"/> | |
| 2011 | + </textElement> | |
| 2012 | + <text><![CDATA[6º Ano]]></text> | |
| 2013 | + </staticText> | |
| 2014 | + <textField isBlankWhenNull="true"> | |
| 2015 | + <reportElement uuid="1d6a34aa-6542-4ebf-84c9-1fd9bc79042c" x="69" y="149" width="34" height="13"/> | |
| 2016 | + <textElement textAlignment="Center"> | |
| 2017 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2018 | + </textElement> | |
| 2019 | + <textFieldExpression><![CDATA[$F{ano_6serie}]]></textFieldExpression> | |
| 2020 | + </textField> | |
| 2021 | + <textField isBlankWhenNull="true"> | |
| 2022 | + <reportElement uuid="4e8b55f9-1496-4ae4-aff8-0ae8b2144f5c" x="117" y="149" width="245" height="13"/> | |
| 2023 | + <textElement> | |
| 2024 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2025 | + </textElement> | |
| 2026 | + <textFieldExpression><![CDATA[$F{escola_6serie}]]></textFieldExpression> | |
| 2027 | + </textField> | |
| 2028 | + <textField isBlankWhenNull="true"> | |
| 2029 | + <reportElement uuid="fcd23502-5a24-459d-8958-917a1366b7ed" x="367" y="149" width="149" height="13"/> | |
| 2030 | + <textElement> | |
| 2031 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2032 | + </textElement> | |
| 2033 | + <textFieldExpression><![CDATA[$F{escola_cidade_6serie}]]></textFieldExpression> | |
| 2034 | + </textField> | |
| 2035 | + <textField isBlankWhenNull="true"> | |
| 2036 | + <reportElement uuid="7c58b24d-5146-4913-8f84-daa703cc04c8" x="527" y="149" width="20" height="13"/> | |
| 2037 | + <textElement textAlignment="Center"> | |
| 2038 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2039 | + </textElement> | |
| 2040 | + <textFieldExpression><![CDATA[$F{escola_uf_6serie}]]></textFieldExpression> | |
| 2041 | + </textField> | |
| 2042 | + <line> | |
| 2043 | + <reportElement uuid="4dff900b-6bc3-40f0-84b9-4835b05db876" x="5" y="163" width="545" height="1"/> | |
| 2044 | + <graphicElement> | |
| 2045 | + <pen lineWidth="0.25"/> | |
| 2046 | + </graphicElement> | |
| 2047 | + </line> | |
| 2048 | + <staticText> | |
| 2049 | + <reportElement uuid="5d41416b-042a-4220-b743-f0699dd6a139" x="9" y="165" width="45" height="13"/> | |
| 2050 | + <textElement textAlignment="Center"> | |
| 2051 | + <font fontName="DejaVu Sans" size="8" isBold="false"/> | |
| 2052 | + </textElement> | |
| 2053 | + <text><![CDATA[7º Ano]]></text> | |
| 2054 | + </staticText> | |
| 2055 | + <textField isBlankWhenNull="true"> | |
| 2056 | + <reportElement uuid="8c1a07a0-f7cf-4bd1-8e88-c7c93674186f" x="69" y="165" width="34" height="13"/> | |
| 2057 | + <textElement textAlignment="Center"> | |
| 2058 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2059 | + </textElement> | |
| 2060 | + <textFieldExpression><![CDATA[$F{ano_7serie}]]></textFieldExpression> | |
| 2061 | + </textField> | |
| 2062 | + <textField isBlankWhenNull="true"> | |
| 2063 | + <reportElement uuid="d4110ed4-e1f7-45eb-b4b5-1b4a1ac8fb17" x="117" y="181" width="245" height="13"/> | |
| 2064 | + <textElement> | |
| 2065 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2066 | + </textElement> | |
| 2067 | + <textFieldExpression><![CDATA[$F{escola_8serie}]]></textFieldExpression> | |
| 2068 | + </textField> | |
| 2069 | + <textField isBlankWhenNull="true"> | |
| 2070 | + <reportElement uuid="b7b2d9a8-0732-47c0-aa27-45b525283fb7" x="367" y="165" width="149" height="13"/> | |
| 2071 | + <textElement> | |
| 2072 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2073 | + </textElement> | |
| 2074 | + <textFieldExpression><![CDATA[$F{escola_cidade_7serie}]]></textFieldExpression> | |
| 2075 | + </textField> | |
| 2076 | + <textField isBlankWhenNull="true"> | |
| 2077 | + <reportElement uuid="181a8ad7-a741-40cc-99e3-be64cf2b5315" x="527" y="165" width="20" height="13"/> | |
| 2078 | + <textElement textAlignment="Center"> | |
| 2079 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2080 | + </textElement> | |
| 2081 | + <textFieldExpression><![CDATA[$F{escola_uf_7serie}]]></textFieldExpression> | |
| 2082 | + </textField> | |
| 2083 | + <line> | |
| 2084 | + <reportElement uuid="656e0363-01d4-4d36-b504-3e024f3dfef2" x="5" y="179" width="545" height="1"/> | |
| 2085 | + <graphicElement> | |
| 2086 | + <pen lineWidth="0.25"/> | |
| 2087 | + </graphicElement> | |
| 2088 | + </line> | |
| 2089 | + <staticText> | |
| 2090 | + <reportElement uuid="64b0d9bc-edc7-448c-8b3b-6735068ec8ca" x="9" y="181" width="45" height="13"/> | |
| 2091 | + <textElement textAlignment="Center"> | |
| 2092 | + <font fontName="DejaVu Sans" size="8" isBold="false"/> | |
| 2093 | + </textElement> | |
| 2094 | + <text><![CDATA[8º Ano]]></text> | |
| 2095 | + </staticText> | |
| 2096 | + <textField isBlankWhenNull="true"> | |
| 2097 | + <reportElement uuid="9e80ee0b-a889-401a-a5f8-3fbd4d4f9f8d" x="69" y="181" width="34" height="13"/> | |
| 2098 | + <textElement textAlignment="Center"> | |
| 2099 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2100 | + </textElement> | |
| 2101 | + <textFieldExpression><![CDATA[$F{ano_8serie}]]></textFieldExpression> | |
| 2102 | + </textField> | |
| 2103 | + <textField isBlankWhenNull="true"> | |
| 2104 | + <reportElement uuid="a54e8299-8db7-4723-8d39-300822e3955d" x="117" y="165" width="245" height="13"/> | |
| 2105 | + <textElement> | |
| 2106 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2107 | + </textElement> | |
| 2108 | + <textFieldExpression><![CDATA[$F{escola_7serie}]]></textFieldExpression> | |
| 2109 | + </textField> | |
| 2110 | + <textField isBlankWhenNull="true"> | |
| 2111 | + <reportElement uuid="ef4a7949-883c-4c59-a9c0-0bf2571f5299" x="367" y="181" width="149" height="13"/> | |
| 2112 | + <textElement> | |
| 2113 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2114 | + </textElement> | |
| 2115 | + <textFieldExpression><![CDATA[$F{escola_cidade_8serie}]]></textFieldExpression> | |
| 2116 | + </textField> | |
| 2117 | + <textField isBlankWhenNull="true"> | |
| 2118 | + <reportElement uuid="fa245a5f-6bb4-41d7-9783-558fc03cf4ca" x="527" y="181" width="20" height="13"/> | |
| 2119 | + <textElement textAlignment="Center"> | |
| 2120 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2121 | + </textElement> | |
| 2122 | + <textFieldExpression><![CDATA[$F{escola_uf_8serie}]]></textFieldExpression> | |
| 2123 | + </textField> | |
| 2124 | + <line> | |
| 2125 | + <reportElement uuid="6ba4f329-b5db-44d2-a7a1-b804d9985920" x="5" y="195" width="545" height="1"/> | |
| 2126 | + <graphicElement> | |
| 2127 | + <pen lineWidth="0.25"/> | |
| 2128 | + </graphicElement> | |
| 2129 | + </line> | |
| 2130 | + <staticText> | |
| 2131 | + <reportElement uuid="cbda5ed2-21b7-4685-b69d-84774f9c2954" x="9" y="197" width="45" height="13"/> | |
| 2132 | + <textElement textAlignment="Center"> | |
| 2133 | + <font fontName="DejaVu Sans" size="8" isBold="false"/> | |
| 2134 | + </textElement> | |
| 2135 | + <text><![CDATA[9º Ano]]></text> | |
| 2136 | + </staticText> | |
| 2137 | + <textField isBlankWhenNull="true"> | |
| 2138 | + <reportElement uuid="f7ee4bb4-380b-45cc-b512-8bd078e2c2ce" x="69" y="197" width="34" height="13"/> | |
| 2139 | + <textElement textAlignment="Center"> | |
| 2140 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2141 | + </textElement> | |
| 2142 | + <textFieldExpression><![CDATA[$F{ano_9serie}]]></textFieldExpression> | |
| 2143 | + </textField> | |
| 2144 | + <textField isBlankWhenNull="true"> | |
| 2145 | + <reportElement uuid="558c6381-a0ed-456e-af2d-a77f1d6235ca" x="117" y="197" width="245" height="13"/> | |
| 2146 | + <textElement> | |
| 2147 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2148 | + </textElement> | |
| 2149 | + <textFieldExpression><![CDATA[$F{escola_9serie}]]></textFieldExpression> | |
| 2150 | + </textField> | |
| 2151 | + <textField isBlankWhenNull="true"> | |
| 2152 | + <reportElement uuid="71e95f5e-9192-438f-8d33-120e75216765" x="367" y="197" width="149" height="13"/> | |
| 2153 | + <textElement> | |
| 2154 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2155 | + </textElement> | |
| 2156 | + <textFieldExpression><![CDATA[$F{escola_cidade_9serie}]]></textFieldExpression> | |
| 2157 | + </textField> | |
| 2158 | + <textField isBlankWhenNull="true"> | |
| 2159 | + <reportElement uuid="cfd646b7-8248-43ed-925e-c9eefa790aeb" x="527" y="197" width="20" height="13"/> | |
| 2160 | + <textElement textAlignment="Center"> | |
| 2161 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2162 | + </textElement> | |
| 2163 | + <textFieldExpression><![CDATA[$F{escola_uf_9serie}]]></textFieldExpression> | |
| 2164 | + </textField> | |
| 2165 | + <staticText> | |
| 2166 | + <reportElement uuid="36608e7a-f2c1-43c6-8981-0b97823d7058" x="9" y="214" width="24" height="13"/> | |
| 2167 | + <textElement> | |
| 2168 | + <font fontName="DejaVu Sans" size="8" isBold="false"/> | |
| 2169 | + </textElement> | |
| 2170 | + <text><![CDATA[Obs.]]></text> | |
| 2171 | + </staticText> | |
| 2172 | + <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
| 2173 | + <reportElement uuid="cbf15860-59f4-4932-b50a-c519fd5d5b8c" positionType="Float" x="33" y="215" width="514" height="11"/> | |
| 2174 | + <textElement> | |
| 2175 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2176 | + </textElement> | |
| 2177 | + <textFieldExpression><![CDATA[$F{obs1}]]></textFieldExpression> | |
| 2178 | + </textField> | |
| 2179 | + <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
| 2180 | + <reportElement uuid="65fb67a9-da3e-49c5-afd2-b320e3c73346" positionType="Float" x="33" y="227" width="514" height="11"/> | |
| 2181 | + <textElement> | |
| 2182 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2183 | + </textElement> | |
| 2184 | + <textFieldExpression><![CDATA[$F{obs2}]]></textFieldExpression> | |
| 2185 | + </textField> | |
| 2186 | + <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
| 2187 | + <reportElement uuid="21c52843-5167-476a-9104-b25958400822" positionType="Float" x="33" y="238" width="514" height="11"/> | |
| 2188 | + <textElement> | |
| 2189 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2190 | + </textElement> | |
| 2191 | + <textFieldExpression><![CDATA[$F{obs3}]]></textFieldExpression> | |
| 2192 | + </textField> | |
| 2193 | + <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
| 2194 | + <reportElement uuid="2693f231-0841-4023-910b-3f321736f194" positionType="Float" x="33" y="250" width="514" height="11"/> | |
| 2195 | + <textElement> | |
| 2196 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2197 | + </textElement> | |
| 2198 | + <textFieldExpression><![CDATA[$F{obs4}]]></textFieldExpression> | |
| 2199 | + </textField> | |
| 2200 | + <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
| 2201 | + <reportElement uuid="34c92e33-5d61-42e1-956a-4cc75ef04f01" positionType="Float" x="33" y="262" width="514" height="11"/> | |
| 2202 | + <textElement> | |
| 2203 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2204 | + </textElement> | |
| 2205 | + <textFieldExpression><![CDATA[$F{obs5}]]></textFieldExpression> | |
| 2206 | + </textField> | |
| 2207 | + <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
| 2208 | + <reportElement uuid="cba990e9-9939-4ff4-a4f0-27f4a63d15b9" positionType="Float" x="33" y="274" width="514" height="11"/> | |
| 2209 | + <textElement> | |
| 2210 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2211 | + </textElement> | |
| 2212 | + <textFieldExpression><![CDATA[$F{obs6}]]></textFieldExpression> | |
| 2213 | + </textField> | |
| 2214 | + <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
| 2215 | + <reportElement uuid="6a920308-bc5c-4b63-bed7-f47848d8ca9a" positionType="Float" x="33" y="286" width="514" height="11"/> | |
| 2216 | + <textElement> | |
| 2217 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2218 | + </textElement> | |
| 2219 | + <textFieldExpression><![CDATA[$F{obs7}]]></textFieldExpression> | |
| 2220 | + </textField> | |
| 2221 | + <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
| 2222 | + <reportElement uuid="c6d31fa5-3592-45f9-af4c-21e42bbc88d3" positionType="Float" x="33" y="298" width="514" height="11"/> | |
| 2223 | + <textElement> | |
| 2224 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2225 | + </textElement> | |
| 2226 | + <textFieldExpression><![CDATA[$F{obs8}]]></textFieldExpression> | |
| 2227 | + </textField> | |
| 2228 | + <line> | |
| 2229 | + <reportElement uuid="a15338bb-c29e-4b0f-b59a-d50ed5e7b8fc" x="5" y="368" width="545" height="1"/> | |
| 2230 | + <graphicElement> | |
| 2231 | + <pen lineWidth="0.25"/> | |
| 2232 | + </graphicElement> | |
| 2233 | + </line> | |
| 2234 | + <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
| 2235 | + <reportElement uuid="a9f286d4-df60-435a-a4c4-1f9f041eb269" positionType="Float" x="33" y="310" width="514" height="11"/> | |
| 2236 | + <textElement> | |
| 2237 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2238 | + </textElement> | |
| 2239 | + <textFieldExpression><![CDATA[$F{obs9}]]></textFieldExpression> | |
| 2240 | + </textField> | |
| 2241 | + <staticText> | |
| 2242 | + <reportElement uuid="1a96712b-7b31-4030-8f34-f9c4fa256dec" x="9" y="371" width="76" height="14"/> | |
| 2243 | + <textElement> | |
| 2244 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2245 | + </textElement> | |
| 2246 | + <text><![CDATA[Município e Data:]]></text> | |
| 2247 | + </staticText> | |
| 2248 | + <line> | |
| 2249 | + <reportElement uuid="d75e9264-4ad7-44a9-9aba-306eda511445" x="5" y="386" width="545" height="1"/> | |
| 2250 | + <graphicElement> | |
| 2251 | + <pen lineWidth="0.25"/> | |
| 2252 | + </graphicElement> | |
| 2253 | + </line> | |
| 2254 | + <textField> | |
| 2255 | + <reportElement uuid="d418fc40-085e-41e4-b13b-fd7eb7712e0e" x="85" y="371" width="122" height="14"/> | |
| 2256 | + <textElement> | |
| 2257 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2258 | + </textElement> | |
| 2259 | + <textFieldExpression><![CDATA[$F{municipio}+", "+$F{data_atual}]]></textFieldExpression> | |
| 2260 | + </textField> | |
| 2261 | + <line> | |
| 2262 | + <reportElement uuid="2450bdc2-1cb2-4d28-a7b3-97ff124d056f" x="210" y="369" width="1" height="34"/> | |
| 2263 | + <graphicElement> | |
| 2264 | + <pen lineWidth="0.25"/> | |
| 2265 | + </graphicElement> | |
| 2266 | + </line> | |
| 2267 | + <line> | |
| 2268 | + <reportElement uuid="06c3f161-142a-4879-9764-84a2c128168b" x="378" y="369" width="1" height="34"/> | |
| 2269 | + <graphicElement> | |
| 2270 | + <pen lineWidth="0.25"/> | |
| 2271 | + </graphicElement> | |
| 2272 | + </line> | |
| 2273 | + <staticText> | |
| 2274 | + <reportElement uuid="81728d84-64a0-4ebd-ace7-f90c9e71a3be" x="7" y="388" width="51" height="14"/> | |
| 2275 | + <textElement> | |
| 2276 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2277 | + </textElement> | |
| 2278 | + <text><![CDATA[Registro Nº:]]></text> | |
| 2279 | + </staticText> | |
| 2280 | + <textField isBlankWhenNull="true"> | |
| 2281 | + <reportElement uuid="8c7cb090-370b-47ca-b321-01c8d6466c1a" x="58" y="388" width="112" height="14"/> | |
| 2282 | + <textElement> | |
| 2283 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2284 | + </textElement> | |
| 2285 | + <textFieldExpression><![CDATA[$F{nm_termo}]]></textFieldExpression> | |
| 2286 | + </textField> | |
| 2287 | + <staticText> | |
| 2288 | + <reportElement uuid="108c3383-8e3f-4f78-b232-fa0036539f55" x="213" y="371" width="55" height="14"/> | |
| 2289 | + <textElement> | |
| 2290 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2291 | + </textElement> | |
| 2292 | + <text><![CDATA[Secretário(a):]]></text> | |
| 2293 | + </staticText> | |
| 2294 | + <staticText> | |
| 2295 | + <reportElement uuid="50631f24-4daf-4290-8278-6b317d123736" x="214" y="388" width="27" height="14"/> | |
| 2296 | + <textElement> | |
| 2297 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2298 | + </textElement> | |
| 2299 | + <text><![CDATA[Livro:]]></text> | |
| 2300 | + </staticText> | |
| 2301 | + <textField isBlankWhenNull="true"> | |
| 2302 | + <reportElement uuid="a87bc405-7d2d-4e64-bb6d-704f6d21bdbf" x="241" y="388" width="84" height="14"/> | |
| 2303 | + <textElement> | |
| 2304 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2305 | + </textElement> | |
| 2306 | + <textFieldExpression><![CDATA[$F{nm_livro}]]></textFieldExpression> | |
| 2307 | + </textField> | |
| 2308 | + <staticText> | |
| 2309 | + <reportElement uuid="ff533ae9-abcd-4b5c-a891-e4491f22e2b4" x="382" y="371" width="55" height="14"/> | |
| 2310 | + <textElement> | |
| 2311 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2312 | + </textElement> | |
| 2313 | + <text><![CDATA[Diretor(a):]]></text> | |
| 2314 | + </staticText> | |
| 2315 | + <staticText> | |
| 2316 | + <reportElement uuid="4ae72c5d-edb5-496e-b6b8-b1000952e108" x="382" y="388" width="32" height="14"/> | |
| 2317 | + <textElement> | |
| 2318 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2319 | + </textElement> | |
| 2320 | + <text><![CDATA[Folha:]]></text> | |
| 2321 | + </staticText> | |
| 2322 | + <textField isBlankWhenNull="true"> | |
| 2323 | + <reportElement uuid="a24fda2a-41ee-45f9-b9d2-db0bea9cee8a" x="415" y="388" width="78" height="13"/> | |
| 2324 | + <textElement> | |
| 2325 | + <font fontName="DejaVu Sans" size="8"/> | |
| 2326 | + </textElement> | |
| 2327 | + <textFieldExpression><![CDATA[$F{num_folha}]]></textFieldExpression> | |
| 2328 | + </textField> | |
| 2329 | + </band> | |
| 2330 | + </pageFooter> | |
| 2331 | + <summary> | |
| 2332 | + <band splitType="Immediate"/> | |
| 2333 | + </summary> | |
| 2334 | +</jasperReport> | ... | ... |