-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcartasignacion.jrxml
247 lines (247 loc) · 10.7 KB
/
cartasignacion.jrxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<?xml version="1.0" encoding="UTF-8"?>
<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="cartasignacion" language="groovy" pageWidth="612" pageHeight="792" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="1dd313e5-d2b2-4fc2-b566-f257ce506b68">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<parameter name="proyecto" class="java.lang.Integer">
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
</parameter>
<parameter name="entidad" class="java.lang.Integer">
<defaultValueExpression><![CDATA[]]></defaultValueExpression>
</parameter>
<queryString>
<![CDATA[SELECT
`proyecto`.`nombre` nomproyecto,
`funcionario`.`cedula`,
`funcionario`.`nombre` nomfuncionario,
`funcionario`.`cargo`,
`entidad`.`nombre` nomentidad,
`asignacion`.`fechaasig`,
`asignacion`.`fechalimite`,
f2.nombre as asgfuncionario,
f2.cargo as asgcargo,
municipio.nombre as nommunicipio
FROM configuracion inner join funcionario as f2 on configuracion.asigna = f2.id inner join municipio on municipio.codigo = configuracion.municipio,
`asignacion`
INNER JOIN `proyecto` ON (`asignacion`.`proyecto` = `proyecto`.`id`)
INNER JOIN `entidad` ON (`asignacion`.`entidad` = `entidad`.`id`)
INNER JOIN `funcionario` ON (`entidad`.`id` = `funcionario`.`entidad`)
WHERE
`asignacion`.`proyecto` = $P{proyecto} and asignacion.entidad = $P{entidad}]]>
</queryString>
<field name="nomproyecto" class="java.lang.String"/>
<field name="cedula" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="nomfuncionario" class="java.lang.String"/>
<field name="cargo" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="nomentidad" class="java.lang.String"/>
<field name="fechaasig" class="java.sql.Date">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="fechalimite" class="java.sql.Date">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="asgfuncionario" class="java.lang.String"/>
<field name="asgcargo" class="java.lang.String"/>
<field name="nommunicipio" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
<pageHeader>
<band height="94" splitType="Stretch">
<rectangle>
<reportElement mode="Transparent" x="0" y="0" width="572" height="89" uuid="28bc66cf-9229-4ae4-b9a9-e07225adca95"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</rectangle>
<image>
<reportElement x="2" y="3" width="215" height="86" uuid="24ec872e-582f-4e44-bce8-d8b6e4b56393"/>
<imageExpression><![CDATA["C:\\wamp\\www\\bppim\\reportes\\logo.jpg"]]></imageExpression>
</image>
<line>
<reportElement x="218" y="0" width="1" height="89" uuid="b9e53983-4311-4b67-b25b-5851d6a202d3"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<line>
<reportElement x="421" y="0" width="1" height="89" uuid="5276b899-680f-433f-b8b8-70a63e7e0b09"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<line>
<reportElement x="218" y="30" width="354" height="1" uuid="3d2a11a4-2dc9-4b26-a535-1b25a468e7ec"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<line>
<reportElement x="219" y="58" width="353" height="1" uuid="85a0139c-0e06-4bf5-a5eb-f5138d76080b"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<staticText>
<reportElement x="219" y="7" width="202" height="20" uuid="4ea82435-da3b-4ed2-ad60-141d460055b2"/>
<textElement textAlignment="Center">
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[MACROPROCESO DE APOYO]]></text>
</staticText>
<staticText>
<reportElement x="220" y="37" width="202" height="20" uuid="30473721-0e2e-4edb-9cec-503dffd3f0f0"/>
<textElement textAlignment="Center">
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[PROCESO GESTIÓN JURÍDICA]]></text>
</staticText>
<staticText>
<reportElement x="220" y="65" width="202" height="20" uuid="7e8c10a1-5e9a-4379-9468-55bce65f2a99"/>
<textElement textAlignment="Center">
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[INFORME DEL SUPERVISOR]]></text>
</staticText>
<staticText>
<reportElement x="421" y="7" width="151" height="20" uuid="a0a7a5c6-bb18-4f0e-9393-0f90272703a6"/>
<textElement textAlignment="Center">
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[ME-GJ-FO-001]]></text>
</staticText>
<staticText>
<reportElement x="422" y="65" width="71" height="20" uuid="8ba20799-e5fb-44c8-ae3c-9f4f6aba6a12"/>
<textElement textAlignment="Right">
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[Pagina: ]]></text>
</staticText>
<textField>
<reportElement x="493" y="65" width="20" height="20" uuid="cce451c5-728d-4c14-b39c-99856a713c2a"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report">
<reportElement x="530" y="65" width="20" height="20" uuid="414c5c78-76b8-4e27-a300-a0fbdc27325b"/>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="513" y="65" width="17" height="20" uuid="e365e2fb-1fa6-4590-b600-c0239dfe5a46"/>
<textElement textAlignment="Center">
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[de]]></text>
</staticText>
<line>
<reportElement x="496" y="30" width="1" height="27" uuid="1bcba911-51ad-4052-81d8-39a7efe6d414"/>
<graphicElement>
<pen lineWidth="0.5"/>
</graphicElement>
</line>
<staticText>
<reportElement x="422" y="37" width="74" height="20" uuid="8e87693e-cc36-4a02-b8e6-a473e5132699"/>
<textElement textAlignment="Center">
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[FECHA 08/13]]></text>
</staticText>
<staticText>
<reportElement x="496" y="37" width="76" height="20" uuid="c019a655-1fed-4a00-8110-ac65c7a4799a"/>
<textElement textAlignment="Center">
<font size="10" isBold="false"/>
</textElement>
<text><![CDATA[VERSIÓN 1]]></text>
</staticText>
</band>
</pageHeader>
<detail>
<band height="565" splitType="Stretch">
<staticText>
<reportElement x="32" y="47" width="215" height="20" uuid="4783b89e-50dd-4837-8357-bb721a918ade"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Doctor (a):]]></text>
</staticText>
<textField>
<reportElement x="32" y="63" width="491" height="20" uuid="b9e0527c-ab77-4ac1-829c-200f4a2b3382"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{nomfuncionario}.toUpperCase()]]></textFieldExpression>
</textField>
<textField>
<reportElement x="32" y="79" width="491" height="20" uuid="33b16dc1-fc15-4bb5-ae0c-2d5de36e4a33"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{cargo}]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="32" y="95" width="100" height="20" uuid="5f68fcf9-05e8-4fba-b8a6-470fd571841a"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Ciudad]]></text>
</staticText>
<textField pattern="dd MMMMM yyyy">
<reportElement x="32" y="10" width="596" height="20" uuid="38540b61-5ede-47d3-a30a-d3b9af85332b"/>
<textElement>
<font size="12"/>
</textElement>
<textFieldExpression><![CDATA[$F{nommunicipio}.toUpperCase() +", "+DateFormat.getDateInstance(DateFormat.LONG, $P{REPORT_LOCALE}).format( $F{fechaasig} )]]></textFieldExpression>
</textField>
<textField>
<reportElement x="32" y="180" width="508" height="303" uuid="f05654a9-a5ec-4748-a223-d0d2538573b7"/>
<textElement textAlignment="Justified">
<font size="12"/>
</textElement>
<textFieldExpression><![CDATA["Comedidamente me permito hacer llegar el Proyecto denominado: "+$F{nomproyecto}.toUpperCase()+" con los siguientes Anexos: presupuesto. \n\nCon el fin de que sea revisado por usted y conceptúe si el mismo es o no viable para ser registrado en el Banco de Proyectos de Inversión del Municipio. \n\nVale la pena anotar que al momento de la revisión del respectivo proyecto, usted deberá foliar y firmar cada una de las hojas, con el fin de tener un mecanismo de seguridad, toda vez que los proyectos en esta oficina son prestados a los diferentes interesados, y puede en cualquier momento ser sujeto de alteración.\n\nPor último le agradezco que el respectivo estudio de viabilidad sea entregado a más tardar el día "+DateFormat.getDateInstance(DateFormat.LONG, $P{REPORT_LOCALE}).format( $F{fechalimite} )+".\n\n\n\nAtentamente,"]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="32" y="136" width="247" height="20" uuid="f6be3857-640a-4473-8518-4458ce161855"/>
<textElement>
<font size="12"/>
</textElement>
<text><![CDATA[Respetado Doctor(a):]]></text>
</staticText>
<textField>
<reportElement x="32" y="492" width="268" height="41" uuid="2fdfc328-4fae-4090-b699-221912198a95"/>
<textElement>
<font size="12" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$F{asgfuncionario}.toUpperCase()+"\n"+$F{asgcargo}]]></textFieldExpression>
</textField>
</band>
</detail>
<pageFooter>
<band height="77" splitType="Stretch">
<image>
<reportElement x="81" y="1" width="404" height="32" uuid="f7cab43c-a6bd-4684-a126-7b6761244a3a"/>
<imageExpression><![CDATA["C:\\wamp\\www\\bppim\\reportes\\pie.bmp"]]></imageExpression>
</image>
<staticText>
<reportElement x="0" y="31" width="572" height="20" forecolor="#0033CC" uuid="5d410b32-ee49-43c0-8892-d7ff9e12f59d"/>
<textElement textAlignment="Center">
<font isUnderline="true"/>
</textElement>
<text><![CDATA[www.salazardelaspalmas-nortedesantander.gov.co]]></text>
</staticText>
<staticText>
<reportElement x="2" y="46" width="570" height="30" uuid="7da9e74d-9db8-44f8-b575-406ecef075c7"/>
<textElement textAlignment="Center"/>
<text><![CDATA[Calle 2 # 6-25 Esquina Palacio Municipal
Código Postal 544570 - Telefax 5668039
]]></text>
</staticText>
</band>
</pageFooter>
<summary>
<band height="42" splitType="Stretch"/>
</summary>
</jasperReport>