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>
<groupId>br.com.rjconsultores</groupId>
<artifactId>ventaboletosadm</artifactId>
<version>1.152.12</version>
<version>1.152.13</version>
<packaging>war</packaging>
<properties>

View File

@ -125,7 +125,7 @@ public class DocumentosExpresosController extends MyGenericForwardComposer{
exporter.exportReport();
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;
Filedownload.save(pdf);
}

View File

@ -24,11 +24,11 @@
<columnHeader>
<band height="50">
<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>
<font isBold="true"/>
</textElement>
<text><![CDATA[NOMBRE COMPLETO]]></text>
<text><![CDATA[NOMBRE]]></text>
</staticText>
<staticText>
<reportElement uuid="d28fb158-5766-4b6f-9579-ee1fb2878d0c" x="237" y="29" width="132" height="20"/>
@ -45,17 +45,24 @@
<text><![CDATA[NACIONALIDAD]]></text>
</staticText>
<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>
<reportElement uuid="22ac5ddb-4d9d-4c6d-9fef-41558f0cde21" x="0" y="49" width="802" height="1"/>
</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>
</columnHeader>
<detail>
<band height="21" splitType="Stretch">
<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/>
<textFieldExpression><![CDATA[$F{DESCNOMBRE}]]></textFieldExpression>
</textField>
@ -65,7 +72,7 @@
<textFieldExpression><![CDATA[$F{NUMIDENTIFICACION}]]></textFieldExpression>
</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/>
<textFieldExpression><![CDATA[$F{DESCAPELLIDOS}]]></textFieldExpression>
</textField>