Merge pull request 'Se ajusta plantilla jasper de generación de listado de pasajeros. Se ajusta nombre de documento de lista de pasajeros generado#AL-4552' (!772) from AL-4552 into master

Reviewed-on: adm/VentaBoletosAdm#772
Reviewed-by: fabio <fabio.faria@rjconsultores.com.br>
master 1.152.13
fernando.mx 2024-10-09 18:16:05 +00:00
commit 84b5470ef5
3 changed files with 16 additions and 9 deletions

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId> <groupId>br.com.rjconsultores</groupId>
<artifactId>ventaboletosadm</artifactId> <artifactId>ventaboletosadm</artifactId>
<version>1.152.12</version> <version>1.152.13</version>
<packaging>war</packaging> <packaging>war</packaging>
<properties> <properties>

View File

@ -125,7 +125,7 @@ public class DocumentosExpresosController extends MyGenericForwardComposer{
exporter.exportReport(); exporter.exportReport();
response = out.toByteArray(); response = out.toByteArray();
AMedia amedia = new AMedia("LISTA DE PASAJEROS - EXPRESO " + expreso.getStatusSolicitudExpresoId() + ".pdf", "pdf", null, response); AMedia amedia = new AMedia("LISTA DE PASAJEROS - EXPRESO " + expreso.getSolicitudExpresoId() + ".pdf", "pdf", null, response);
org.zkoss.util.media.Media pdf = amedia; org.zkoss.util.media.Media pdf = amedia;
Filedownload.save(pdf); Filedownload.save(pdf);
} }

View File

@ -8,8 +8,8 @@
</queryString> </queryString>
<field name="DESCNOMBRE" class="java.lang.String"/> <field name="DESCNOMBRE" class="java.lang.String"/>
<field name="DESCAPELLIDOS" class="java.lang.String"/> <field name="DESCAPELLIDOS" class="java.lang.String"/>
<field name="NACIONALIDAD" class="java.lang.String"/> <field name="NACIONALIDAD" class="java.lang.String"/>
<field name="NUMIDENTIFICACION" class="java.lang.String"/> <field name="NUMIDENTIFICACION" class="java.lang.String"/>
<title> <title>
<band height="43" splitType="Stretch"> <band height="43" splitType="Stretch">
<staticText> <staticText>
@ -24,11 +24,11 @@
<columnHeader> <columnHeader>
<band height="50"> <band height="50">
<staticText> <staticText>
<reportElement uuid="7848d6a3-933b-4d23-96f7-f9a8c4cd667d" x="0" y="30" width="128" height="20"/> <reportElement uuid="7848d6a3-933b-4d23-96f7-f9a8c4cd667d" x="0" y="30" width="50" height="20"/>
<textElement> <textElement>
<font isBold="true"/> <font isBold="true"/>
</textElement> </textElement>
<text><![CDATA[NOMBRE COMPLETO]]></text> <text><![CDATA[NOMBRE]]></text>
</staticText> </staticText>
<staticText> <staticText>
<reportElement uuid="d28fb158-5766-4b6f-9579-ee1fb2878d0c" x="237" y="29" width="132" height="20"/> <reportElement uuid="d28fb158-5766-4b6f-9579-ee1fb2878d0c" x="237" y="29" width="132" height="20"/>
@ -45,17 +45,24 @@
<text><![CDATA[NACIONALIDAD]]></text> <text><![CDATA[NACIONALIDAD]]></text>
</staticText> </staticText>
<line> <line>
<reportElement uuid="32ab9e9e-2725-4c8a-bad6-c5424fbc0cfe" x="0" y="0" width="802" height="1"/> <reportElement uuid="32ab9e9e-2725-4c8a-bad6-c5424fbc0cfe" x="0" y="16" width="802" height="1"/>
</line> </line>
<line> <line>
<reportElement uuid="22ac5ddb-4d9d-4c6d-9fef-41558f0cde21" x="0" y="49" width="802" height="1"/> <reportElement uuid="22ac5ddb-4d9d-4c6d-9fef-41558f0cde21" x="0" y="49" width="802" height="1"/>
</line> </line>
<staticText>
<reportElement uuid="4d9666bc-b2c4-4d06-b199-c5508c5fe0e5" x="95" y="29" width="112" height="20"/>
<textElement>
<font isBold="true"/>
</textElement>
<text><![CDATA[APELLIDOS]]></text>
</staticText>
</band> </band>
</columnHeader> </columnHeader>
<detail> <detail>
<band height="21" splitType="Stretch"> <band height="21" splitType="Stretch">
<textField> <textField>
<reportElement uuid="297f8125-1310-46fd-beba-fd8ea22af291" x="0" y="1" width="100" height="20"/> <reportElement uuid="297f8125-1310-46fd-beba-fd8ea22af291" x="0" y="1" width="50" height="20"/>
<textElement/> <textElement/>
<textFieldExpression><![CDATA[$F{DESCNOMBRE}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{DESCNOMBRE}]]></textFieldExpression>
</textField> </textField>
@ -65,7 +72,7 @@
<textFieldExpression><![CDATA[$F{NUMIDENTIFICACION}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{NUMIDENTIFICACION}]]></textFieldExpression>
</textField> </textField>
<textField> <textField>
<reportElement uuid="0474c8e5-db4d-474c-9546-22ace8e02666" x="111" y="1" width="112" height="20"/> <reportElement uuid="0474c8e5-db4d-474c-9546-22ace8e02666" x="95" y="1" width="112" height="20"/>
<textElement/> <textElement/>
<textFieldExpression><![CDATA[$F{DESCAPELLIDOS}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{DESCAPELLIDOS}]]></textFieldExpression>
</textField> </textField>