= to_date(NVL($P{fechaInicio},h.fechaemision),'dd-mm-yyyy') and trunc(h.fechaemision) <= to_date(NVL($P{fechaFin},h.fechaemision),'dd-mm-yyyy') and h.ccentrocontrol = NVL($P{idCentroControl}, h.ccentrocontrol) and a.tipoautorizacion = NVL($P{idAutorizacion}, a.tipoautorizacion) group by y.description, b.description, c.description, d.description, e.description having count(h.ctramite) > 0 order by centro, tipotramite, categoria, usoactividad)]]> <band height="122" splitType="Stretch"> <staticText> <reportElement key="" style="title1" x="185" y="20" width="476" height="23" forecolor="#000000" uuid="489d521e-da6b-4a44-8c0e-1a72cf774f67"/> <textElement textAlignment="Center"/> <text><![CDATA[COMANDO CONJUNTO DE LAS FUERZAS ARMADAS]]></text> </staticText> <staticText> <reportElement key="" style="title1" x="185" y="43" width="476" height="18" forecolor="#000000" uuid="60eb3be8-b42f-4ad9-854d-39cc7c50bc50"/> <textElement textAlignment="Center"/> <text><![CDATA[DEPARTAMENTO DE CONTROL DE ARMAS]]></text> </staticText> <image> <reportElement x="-10" y="4" width="195" height="70" uuid="126e75c0-cb31-4459-b13c-87c20647e74d"> <property name="local_mesure_unitwidth" value="pixel"/> <property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="local_mesure_unitheight" value="pixel"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="local_mesure_unitx" value="pixel"/> </reportElement> <imageExpression><![CDATA[$P{pathLogoIzquierda}]]></imageExpression> </image> <image> <reportElement x="661" y="-6" width="116" height="80" uuid="98590519-14fc-419f-a25c-781611dfe4a9"> <property name="local_mesure_unitwidth" value="pixel"/> <property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="local_mesure_unitheight" value="pixel"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> </reportElement> <imageExpression><![CDATA[$P{pathLogoDerecha}]]></imageExpression> </image> <textField isStretchWithOverflow="true" isBlankWhenNull="true"> <reportElement style="title3" stretchType="RelativeToTallestObject" x="185" y="100" width="477" height="22" forecolor="#000000" uuid="c9f9c8f3-2b28-4087-977b-88a87cb1d83e"> <property name="local_mesure_unitheight" value="pixel"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="local_mesure_unitx" value="pixel"/> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="local_mesure_unitwidth" value="pixel"/> </reportElement> <box leftPadding="2" rightPadding="2"> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Top"> <font size="7"/> </textElement> <textFieldExpression><![CDATA[(($P{fechaInicio}==null || $P{fechaInicio}.isEmpty())?"":"Del:" + $P{fechaInicio}) + (($P{fechaFin}==null || $P{fechaFin}.isEmpty())?"":" Al: " + $P{fechaFin})]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" isBlankWhenNull="true"> <reportElement style="title3" stretchType="RelativeToTallestObject" x="185" y="61" width="476" height="13" forecolor="#000000" uuid="f579bbd8-8ded-47b6-b6ce-114d4d5e268b"> <property name="local_mesure_unitheight" value="pixel"/> <property name="com.jaspersoft.studio.unit.height" value="px"/> <property name="local_mesure_unitx" value="pixel"/> <property name="com.jaspersoft.studio.unit.x" value="px"/> <property name="com.jaspersoft.studio.unit.width" value="px"/> <property name="local_mesure_unitwidth" value="pixel"/> </reportElement> <box leftPadding="2" rightPadding="2"> <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Top"> <font size="7"/> </textElement> <textFieldExpression><![CDATA[$P{unidadmilitar}]]></textFieldExpression> </textField> <staticText> <reportElement key="" style="title1" x="185" y="74" width="476" height="26" forecolor="#000000" uuid="4bce9f96-4cd2-409c-9e1d-51b8f460ea06"/> <textElement textAlignment="Center"/> <text><![CDATA[ESTADÍSTICAS DE TRÁMITES EMITIDOS POR CENTRO DE CONTROL]]></text> </staticText> </band>