wilian 2015-06-30 18:33:55 +00:00
parent 086a18863e
commit 14b436a0ea
8 changed files with 386 additions and 118 deletions

View File

@ -70,11 +70,11 @@ public class RelatorioVendasPacotesDetalhado extends Relatorio {
if(fecFinal != null) {
stmt.setDate("fecFinal", fecFinal);
}
if (empresaId != null){
if (empresaId != null && empresaId > 0){
stmt.setInt("empresaId", empresaId);
}
if (pacoteId != null){
if (pacoteId != null && pacoteId > 0){
stmt.setInt("pacoteId", pacoteId);
}
@ -152,11 +152,11 @@ public class RelatorioVendasPacotesDetalhado extends Relatorio {
.append("WHERE P.ACTIVO = 1 ")
.append("AND (B.BOLETO_ID IS NULL OR (B.ACTIVO = 1 AND B.INDSTATUSBOLETO = 'V' AND B.MOTIVOCANCELACION_ID IS NULL)) ");
if(empresaId != null) {
if(empresaId != null && empresaId > 0) {
sQuery.append("AND P.EMPRESA_ID = :empresaId ");
}
if(pacoteId != null) {
if(pacoteId != null && pacoteId > 0) {
sQuery.append("AND P.PACOTE_ID = :pacoteId ");
}

View File

@ -1,6 +1,6 @@
<?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="RelatorioVendasPacotesDetalhadoItem" pageWidth="802" pageHeight="555" orientation="Landscape" columnWidth="802" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="f17327a0-45d8-4ec1-8350-688df66785dc">
<property name="ireport.zoom" value="0.75"/>
<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="RelatorioVendasPacotesBoletosItem" pageWidth="802" pageHeight="555" orientation="Landscape" columnWidth="802" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="f17327a0-45d8-4ec1-8350-688df66785dc">
<property name="ireport.zoom" value="5.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<field name="nomconvenio" class="java.lang.String"/>
@ -51,217 +51,328 @@
<band splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band height="21" splitType="Stretch">
<band height="24" splitType="Stretch">
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" x="0" y="1" width="75" height="20" isPrintWhenDetailOverflows="true" uuid="ca0cfce0-945a-41b6-a2b6-07b599432260"/>
<reportElement stretchType="RelativeToTallestObject" x="1" y="2" width="73" height="20" isPrintWhenDetailOverflows="true" uuid="ca0cfce0-945a-41b6-a2b6-07b599432260"/>
<textElement verticalAlignment="Top" markup="none">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.desctipotarifa}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" x="75" y="1" width="119" height="20" isPrintWhenDetailOverflows="true" uuid="16b05797-4914-43d4-8ef5-1e999e6ee7eb"/>
<reportElement stretchType="RelativeToTallestObject" x="75" y="2" width="118" height="20" isPrintWhenDetailOverflows="true" uuid="16b05797-4914-43d4-8ef5-1e999e6ee7eb"/>
<textElement verticalAlignment="Top" markup="none">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.nomconvenio}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" x="194" y="1" width="47" height="20" isPrintWhenDetailOverflows="true" uuid="bc16a571-d1f3-4574-a521-3c6076317b8f"/>
<reportElement stretchType="RelativeToTallestObject" x="194" y="2" width="46" height="20" isPrintWhenDetailOverflows="true" uuid="bc16a571-d1f3-4574-a521-3c6076317b8f"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.qtde}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" x="241" y="1" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="74894a72-7acf-43bc-abc7-a3ca0931f1c0"/>
<reportElement stretchType="RelativeToTallestObject" x="241" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="74894a72-7acf-43bc-abc7-a3ca0931f1c0"/>
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.spreciobase}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" x="321" y="1" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="60d565a0-f9c1-4648-87a5-0acd7bcc95cb"/>
<reportElement stretchType="RelativeToTallestObject" x="321" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="60d565a0-f9c1-4648-87a5-0acd7bcc95cb"/>
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.simporteseguro}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" x="401" y="1" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="7351b458-41bf-4cf3-839a-9b17860cd029"/>
<reportElement stretchType="RelativeToTallestObject" x="401" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="7351b458-41bf-4cf3-839a-9b17860cd029"/>
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.simportetaxaembarque}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" x="481" y="1" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="b40f5fec-8d0e-47c6-9a02-c6b9f4f4cf40"/>
<reportElement stretchType="RelativeToTallestObject" x="481" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="b40f5fec-8d0e-47c6-9a02-c6b9f4f4cf40"/>
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.simporteoutros}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" x="721" y="1" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="7f2d56a0-8755-4192-be26-3c082bcde27f"/>
<reportElement stretchType="RelativeToTallestObject" x="721" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="7f2d56a0-8755-4192-be26-3c082bcde27f"/>
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.spreciopagado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" x="641" y="1" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="637d297c-7275-4094-9f67-e6d36eff60a2"/>
<reportElement stretchType="RelativeToTallestObject" x="641" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="637d297c-7275-4094-9f67-e6d36eff60a2"/>
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.desconto}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true">
<reportElement stretchType="RelativeToTallestObject" x="561" y="1" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="0d9ab795-d305-44a6-b12a-e0445e36613a"/>
<reportElement stretchType="RelativeToTallestObject" x="561" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="0d9ab795-d305-44a6-b12a-e0445e36613a"/>
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.spreciototal}]]></textFieldExpression>
</textField>
<line>
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="4d4396e4-a34f-438e-a514-662f3dad27d3"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="74" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="93d54a79-3e12-4842-ad69-8df8a59f749d"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="193" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="3445b238-a1d8-4edd-9746-987d4711d672"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="240" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="693e1442-9a9b-4237-b8ce-a7368319bb8c"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="320" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="b9353306-7d23-4428-bde1-136a92c129d0"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="400" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="c236d4ae-a2fe-4fce-80f1-aceabf3d47ad"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="480" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a7a71b94-542f-4ebc-9812-982fe947379b"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="560" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="ad00d26a-75cd-4fe1-bd28-a8346dcb1e82"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="640" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="0960adca-3ca3-4f52-88af-70278652e9a6"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="720" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a5133d51-f908-4ffe-9df8-d25f0b312ab9"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="801" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="2cdb1883-2ec8-4373-90d1-35eaf7502cbc"/>
</line>
<line>
<reportElement positionType="Float" x="0" y="0" width="802" height="1" forecolor="#CCCCCC" uuid="0da94d15-8bfb-4954-84fb-9e277c593308"/>
</line>
<line>
<reportElement positionType="Float" x="0" y="23" width="802" height="1" forecolor="#CCCCCC" uuid="64883292-c3bb-4786-a914-44d64bfc53c9"/>
</line>
</band>
</columnHeader>
<detail>
<band height="21" splitType="Stretch">
<band height="24" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="0" y="1" width="75" height="20" isPrintWhenDetailOverflows="true" uuid="ebc048fd-2106-47f2-88f5-ff3710ec047e"/>
<reportElement stretchType="RelativeToTallestObject" x="1" y="2" width="73" height="20" isPrintWhenDetailOverflows="true" uuid="ebc048fd-2106-47f2-88f5-ff3710ec047e"/>
<textElement verticalAlignment="Top">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{desctipotarifa}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="75" y="1" width="119" height="20" isPrintWhenDetailOverflows="true" uuid="9d3ec869-4da6-45a1-b59b-6e374b36a929"/>
<reportElement stretchType="RelativeToTallestObject" x="75" y="2" width="118" height="20" isPrintWhenDetailOverflows="true" uuid="9d3ec869-4da6-45a1-b59b-6e374b36a929"/>
<textElement verticalAlignment="Top">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{nomconvenio}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="194" y="1" width="47" height="20" isPrintWhenDetailOverflows="true" uuid="be19e5aa-b241-4d2d-bd96-47b2e271cdf4"/>
<reportElement stretchType="RelativeToTallestObject" x="194" y="2" width="46" height="20" isPrintWhenDetailOverflows="true" uuid="be19e5aa-b241-4d2d-bd96-47b2e271cdf4"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{qtde}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="241" y="1" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="5e343619-3254-4481-a3d3-00a33e144145"/>
<reportElement stretchType="RelativeToTallestObject" x="241" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="5e343619-3254-4481-a3d3-00a33e144145"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{spreciobase}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="321" y="1" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="43d5475f-18ce-4427-b971-8f374a01e9b1"/>
<reportElement stretchType="RelativeToTallestObject" x="321" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="43d5475f-18ce-4427-b971-8f374a01e9b1"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{simporteseguro}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="401" y="1" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="e47fb86e-b5b3-4f8f-9200-3fc950e6631d"/>
<reportElement stretchType="RelativeToTallestObject" x="401" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="e47fb86e-b5b3-4f8f-9200-3fc950e6631d"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{simportetaxaembarque}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="481" y="1" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="3f5483a5-9c57-4510-b040-24b0267396d8"/>
<reportElement stretchType="RelativeToTallestObject" x="481" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="3f5483a5-9c57-4510-b040-24b0267396d8"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{simporteoutros}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="721" y="1" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="3348c997-2b2d-401f-a5d6-2a9e1e7abd51"/>
<reportElement stretchType="RelativeToTallestObject" x="721" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="3348c997-2b2d-401f-a5d6-2a9e1e7abd51"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{spreciopagado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="641" y="1" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="d81fe2cf-b81c-4f65-939c-6c7d54559360"/>
<reportElement stretchType="RelativeToTallestObject" x="641" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="d81fe2cf-b81c-4f65-939c-6c7d54559360"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{desconto}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="561" y="1" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="010f06dc-7915-4d18-ace5-b0262e54c9e3"/>
<reportElement stretchType="RelativeToTallestObject" x="561" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="010f06dc-7915-4d18-ace5-b0262e54c9e3"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8"/>
</textElement>
<textFieldExpression><![CDATA[$F{spreciototal}]]></textFieldExpression>
</textField>
<line>
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="d00cf6c5-52f9-47b2-bd01-4f46ddd8bd11"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="74" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="3a9d2b33-6d6a-4c4e-801b-224396ccfc48"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="193" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a3d1b877-70ee-4b4d-8889-fd2753d5265b"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="240" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="63d8ba46-8dd5-446b-9358-17fafe3f2637"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="320" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a91fb857-041e-4bd6-8bd2-43ada54add97"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="400" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="ceaa0870-2736-4794-abb5-53add3d11c5d"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="480" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="bbc1b544-2ed6-4c95-ab0f-63697c6430cd"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="560" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="eb4f1c10-935f-456d-8cb4-15c565db2464"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="640" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="928b086b-43cd-4ddc-b653-ecc0c22dfe69"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="720" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="59bd1af6-ea28-464d-b287-4fd0dee3ddcf"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="801" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="cbbf8c84-fad3-4653-8aaa-6c9ad47872ab"/>
</line>
<line>
<reportElement positionType="Float" x="0" y="23" width="802" height="1" forecolor="#CCCCCC" uuid="bc3a32cd-6bbd-464e-8a5a-6a742dff6cfc"/>
</line>
<line>
<reportElement positionType="Float" x="0" y="0" width="802" height="1" forecolor="#CCCCCC" uuid="b561162c-d45a-48a9-b374-110b84f36fa3"/>
</line>
</band>
</detail>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band height="28" splitType="Stretch">
<line>
<reportElement positionType="Float" x="0" y="3" width="802" height="1" uuid="2c1bf6b9-f6f3-442b-a6ca-2c668a8e603a"/>
</line>
<band height="24" splitType="Stretch">
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement x="194" y="4" width="47" height="20" isPrintWhenDetailOverflows="true" uuid="01e3adbf-f994-4e68-8909-370ff62d5fc2"/>
<reportElement x="194" y="2" width="46" height="20" isPrintWhenDetailOverflows="true" uuid="01e3adbf-f994-4e68-8909-370ff62d5fc2"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{vQtde}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="241" y="4" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="1e428984-8f32-401e-98cc-fb8058170b8b"/>
<reportElement x="241" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="1e428984-8f32-401e-98cc-fb8058170b8b"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{vSpreciobase}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="321" y="4" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="0e5c22ef-c516-4077-bb87-4ecaac0c2527"/>
<reportElement x="321" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="0e5c22ef-c516-4077-bb87-4ecaac0c2527"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{vSimporteseguro}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="401" y="4" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="45d16415-14dc-4d11-bbdf-03947bc31864"/>
<reportElement x="401" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="45d16415-14dc-4d11-bbdf-03947bc31864"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{vSimportetaxaembarque}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="481" y="4" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="0cf0ae52-7f31-4e4f-b30f-2714b1e7e4ba"/>
<reportElement x="481" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="0cf0ae52-7f31-4e4f-b30f-2714b1e7e4ba"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{vSimporteoutros}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="561" y="4" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="92daa21e-386c-4731-943c-0a925d98f38f"/>
<reportElement x="561" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="92daa21e-386c-4731-943c-0a925d98f38f"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{vSpreciototal}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="641" y="4" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="e83dea1b-ebc3-497d-bc18-44a13a3e103c"/>
<reportElement x="641" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="e83dea1b-ebc3-497d-bc18-44a13a3e103c"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{vDesconto}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="721" y="4" width="80" height="20" isPrintWhenDetailOverflows="true" uuid="0ce3d768-3e6d-4a7b-b3b0-706e811e2d26"/>
<reportElement x="721" y="2" width="79" height="20" isPrintWhenDetailOverflows="true" uuid="0ce3d768-3e6d-4a7b-b3b0-706e811e2d26"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{vSpreciopagado}]]></textFieldExpression>
</textField>
<line>
<reportElement positionType="Float" x="0" y="23" width="802" height="1" forecolor="#CCCCCC" uuid="c6e12c1d-d6b0-406e-ab03-5e73d69c3dda"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="8e1b53c2-7074-4697-802a-ac1221f00cc8"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="193" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="8fa9bc36-30f6-4f14-83b3-27b898d2a9ea"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="240" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="4cbc3b36-2c22-40cc-8a80-4024e5cd1aa1"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="320" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="75adfdfa-56ba-45d6-895c-8f4d07352662"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="400" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="494ed8c6-5e48-44f8-a8d9-70b557856d6c"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="480" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="63f52a6e-506e-4442-bbcc-32d2c8c73a1f"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="560" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="47e4bc34-618c-4169-942d-422b2d00315f"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="640" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="c2a082b0-b006-430b-8768-22339b2a6d71"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="720" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="7daf4d6b-c33d-4fe4-8ffa-9f11e56957c6"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="801" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="2f2a4651-90e2-4dc1-85a8-d67bf44dd03d"/>
</line>
<line>
<reportElement positionType="Float" x="0" y="0" width="802" height="1" forecolor="#CCCCCC" uuid="829fa1e8-3b8d-4349-b28e-085e73efcbbc"/>
</line>
</band>
</pageFooter>
<summary>

View File

@ -1,6 +1,6 @@
<?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="RelatorioVendasPacotesDetalhadoItem" pageWidth="555" pageHeight="802" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="f17327a0-45d8-4ec1-8350-688df66785dc">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.zoom" value="4.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<field name="numoperacion" class="java.lang.String"/>
@ -35,188 +35,281 @@
<band splitType="Stretch"/>
</pageHeader>
<columnHeader>
<band height="21" splitType="Stretch">
<band height="28" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="0" y="1" width="27" height="20" uuid="479d9abe-f3fa-4903-922f-74be005b310c"/>
<reportElement x="1" y="4" width="25" height="20" uuid="479d9abe-f3fa-4903-922f-74be005b310c"/>
<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.qtde}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="27" y="1" width="69" height="20" uuid="2fcabefe-3c9b-46f4-9885-e37a5ffbed9a"/>
<reportElement x="27" y="4" width="68" height="20" uuid="2fcabefe-3c9b-46f4-9885-e37a5ffbed9a"/>
<textElement verticalAlignment="Top" markup="none">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.localizador}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="96" y="1" width="57" height="20" uuid="333e8016-8fb3-4652-b7f9-1ff10a0b024e"/>
<reportElement x="96" y="4" width="56" height="20" uuid="333e8016-8fb3-4652-b7f9-1ff10a0b024e"/>
<textElement verticalAlignment="Top" markup="none">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.usuario}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="153" y="1" width="78" height="20" uuid="eb1aa96a-0759-41b0-bf15-7e4b1b0dc21b"/>
<reportElement x="153" y="4" width="77" height="20" uuid="eb1aa96a-0759-41b0-bf15-7e4b1b0dc21b"/>
<textElement verticalAlignment="Top" markup="none">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.cliente}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="231" y="1" width="72" height="20" uuid="0cf46847-6160-450a-ad67-6b33fac921cc"/>
<reportElement x="231" y="4" width="71" height="20" uuid="0cf46847-6160-450a-ad67-6b33fac921cc"/>
<textElement verticalAlignment="Top" markup="none">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.apanhe}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="303" y="1" width="54" height="20" uuid="dc54766b-3e8a-4683-84a0-b50cf8275681"/>
<reportElement x="303" y="4" width="53" height="20" uuid="dc54766b-3e8a-4683-84a0-b50cf8275681"/>
<textElement verticalAlignment="Top" markup="none">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.dtPacote}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="357" y="1" width="54" height="20" uuid="521c1958-56a8-4bc9-b304-5a8e7ad8941c"/>
<reportElement x="357" y="4" width="53" height="20" uuid="521c1958-56a8-4bc9-b304-5a8e7ad8941c"/>
<textElement verticalAlignment="Top" markup="none">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.dtVenda}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="411" y="1" width="44" height="20" uuid="eab1b822-2fe4-4d62-87ec-c07e1320950a"/>
<reportElement x="411" y="4" width="43" height="20" uuid="eab1b822-2fe4-4d62-87ec-c07e1320950a"/>
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.subTotal}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="455" y="1" width="48" height="20" uuid="ea742d2b-6cd4-4fd8-aba8-1cd9d23e802a"/>
<reportElement x="455" y="4" width="47" height="20" uuid="ea742d2b-6cd4-4fd8-aba8-1cd9d23e802a"/>
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.desconto}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement x="503" y="1" width="52" height="20" uuid="199f8b66-2e55-45ee-95e1-f44d55a7a716"/>
<reportElement x="503" y="4" width="51" height="20" uuid="199f8b66-2e55-45ee-95e1-f44d55a7a716"/>
<textElement textAlignment="Right" verticalAlignment="Top" markup="none">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.total}]]></textFieldExpression>
</textField>
<line>
<reportElement positionType="Float" x="0" y="27" width="556" height="1" forecolor="#CCCCCC" uuid="d89ccc0c-cffc-4489-b000-9b36ecddea41"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="26" y="3" width="1" height="24" forecolor="#CCCCCC" uuid="26b055fb-fb3d-43b7-af65-71d2b436adb6"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="95" y="3" width="1" height="24" forecolor="#CCCCCC" uuid="8bb893f0-9d4c-4ec6-ae79-1bee3a1ff931"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="152" y="3" width="1" height="24" forecolor="#CCCCCC" uuid="e9a787d5-7227-4c4c-b79c-e9f7bc750384"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="230" y="3" width="1" height="24" forecolor="#CCCCCC" uuid="fe005b59-9df8-40ca-9ac0-4ea262c3187d"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="302" y="3" width="1" height="24" forecolor="#CCCCCC" uuid="04e8c11f-b6d8-437e-975e-047f43d584db"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="356" y="3" width="1" height="24" forecolor="#CCCCCC" uuid="93354399-3c94-4a7f-8710-284846ad3630"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="410" y="3" width="1" height="24" forecolor="#CCCCCC" uuid="4639047b-3f66-4ce0-8aa1-df467cf58853"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="454" y="3" width="1" height="24" forecolor="#CCCCCC" uuid="2ea4dfc3-87b0-4a4b-8b3a-f985805cb96a"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="502" y="3" width="1" height="24" forecolor="#CCCCCC" uuid="2225826d-acb0-4eb7-99ee-4208efc05b2c"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="0" y="2" width="555" height="1" forecolor="#CCCCCC" uuid="51960e3f-1a55-458f-9e20-a6623a217fe3"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="0" y="3" width="1" height="24" forecolor="#CCCCCC" uuid="890d0f88-7254-46d6-b5c6-e81c835568f8"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="555" y="3" width="1" height="24" forecolor="#CCCCCC" uuid="955f2ac4-afba-49e3-8e10-f53775ee1a26"/>
</line>
</band>
</columnHeader>
<detail>
<band height="21" splitType="Stretch">
<band height="24" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="0" y="1" width="27" height="20" isPrintWhenDetailOverflows="true" uuid="d2d86d45-734c-43d7-b85c-fec792408d05"/>
<reportElement stretchType="RelativeToTallestObject" x="1" y="1" width="25" height="20" isPrintWhenDetailOverflows="true" uuid="d2d86d45-734c-43d7-b85c-fec792408d05"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{qtdeTarifas}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="27" y="1" width="69" height="20" isPrintWhenDetailOverflows="true" uuid="351af802-2856-4c9e-918f-06bafc5ef390"/>
<reportElement stretchType="RelativeToTallestObject" x="27" y="1" width="68" height="20" isPrintWhenDetailOverflows="true" uuid="351af802-2856-4c9e-918f-06bafc5ef390"/>
<textElement verticalAlignment="Top">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{numoperacion}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="96" y="1" width="57" height="20" isPrintWhenDetailOverflows="true" uuid="6964a19b-c6bb-48ed-a061-eed217b33b9b"/>
<reportElement stretchType="RelativeToTallestObject" x="96" y="1" width="56" height="20" isPrintWhenDetailOverflows="true" uuid="6964a19b-c6bb-48ed-a061-eed217b33b9b"/>
<textElement verticalAlignment="Top">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{nombusuario}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="153" y="1" width="78" height="20" isPrintWhenDetailOverflows="true" uuid="c9813245-6a43-4011-bb01-c6e45c0d6d36"/>
<reportElement stretchType="RelativeToTallestObject" x="153" y="1" width="77" height="20" isPrintWhenDetailOverflows="true" uuid="c9813245-6a43-4011-bb01-c6e45c0d6d36"/>
<textElement verticalAlignment="Top">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{razaoSocialCliente}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="231" y="1" width="72" height="20" isPrintWhenDetailOverflows="true" uuid="f5632358-41df-437d-821f-fa878a857d5c"/>
<reportElement stretchType="RelativeToTallestObject" x="231" y="1" width="71" height="20" isPrintWhenDetailOverflows="true" uuid="f5632358-41df-437d-821f-fa878a857d5c"/>
<textElement verticalAlignment="Top">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{descLocalEnderecoApanhe}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="303" y="1" width="54" height="20" isPrintWhenDetailOverflows="true" uuid="ecb1f133-dfd6-46a1-9d3d-3dc84b199c39"/>
<reportElement stretchType="RelativeToTallestObject" x="303" y="1" width="53" height="20" isPrintWhenDetailOverflows="true" uuid="ecb1f133-dfd6-46a1-9d3d-3dc84b199c39"/>
<textElement verticalAlignment="Top">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{datapacote}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="357" y="1" width="54" height="20" isPrintWhenDetailOverflows="true" uuid="78842239-ee2e-45ac-aaa2-ec561feea088"/>
<reportElement stretchType="RelativeToTallestObject" x="357" y="1" width="53" height="20" isPrintWhenDetailOverflows="true" uuid="78842239-ee2e-45ac-aaa2-ec561feea088"/>
<textElement verticalAlignment="Top">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{datavenda}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="411" y="1" width="44" height="20" isPrintWhenDetailOverflows="true" uuid="0be25395-a20f-4e4f-95da-163c13698708"/>
<reportElement stretchType="RelativeToTallestObject" x="411" y="1" width="43" height="20" isPrintWhenDetailOverflows="true" uuid="0be25395-a20f-4e4f-95da-163c13698708"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{subTotal}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="455" y="1" width="48" height="20" isPrintWhenDetailOverflows="true" uuid="43d71d65-26a3-49dc-b94e-30525147a1d0"/>
<reportElement stretchType="RelativeToTallestObject" x="455" y="1" width="47" height="20" isPrintWhenDetailOverflows="true" uuid="43d71d65-26a3-49dc-b94e-30525147a1d0"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{desconto}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="503" y="1" width="52" height="20" isPrintWhenDetailOverflows="true" uuid="55433141-fa8f-42b5-b4f7-2a504bec5ceb"/>
<reportElement stretchType="RelativeToTallestObject" x="503" y="1" width="51" height="20" isPrintWhenDetailOverflows="true" uuid="55433141-fa8f-42b5-b4f7-2a504bec5ceb"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>
</textField>
<line>
<reportElement positionType="Float" x="0" y="23" width="555" height="1" forecolor="#CCCCCC" uuid="d5ce962b-9449-4a10-b4aa-20745c16689b"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="26" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="aff678ee-a68b-41c6-b11b-1c3820e380dd"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="95" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="eeba804b-44db-4524-92c1-fda9cd003469"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="152" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a02ac9fd-63e6-47f5-8d17-95edd06c8037"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="230" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="3d6f981e-6f53-4945-bbff-f31f7b580507"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="302" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="6a406064-40dd-45b2-9d84-f0efda11bcf5"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="356" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="e9d0ffbf-807b-4fd1-8368-831d35f1d67d"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="410" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a7929915-7c3f-4a5d-b148-0d24c69f6914"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="454" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="9bfbdfb0-892a-464c-bf6c-a1566fab0b1e"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="502" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="0aaf6982-7014-447b-bb4f-51aa08f0e11e"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="110f4b1c-f29c-4a96-890a-2776ed939d53"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="555" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="f8d781df-2513-4c15-a7ea-49043bef03d0"/>
</line>
</band>
</detail>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band height="28" splitType="Stretch">
<band height="24" splitType="Stretch">
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="411" y="6" width="44" height="20" uuid="c143a4c0-043f-4742-911d-b543c971e26d"/>
<reportElement x="411" y="2" width="42" height="20" uuid="c143a4c0-043f-4742-911d-b543c971e26d"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$V{vTotalSubTotal}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="455" y="6" width="48" height="20" uuid="533968db-d01a-48e9-a273-f4388c10bc0c"/>
<reportElement x="455" y="2" width="46" height="20" uuid="533968db-d01a-48e9-a273-f4388c10bc0c"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$V{vTotalDesconto}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="503" y="6" width="52" height="20" uuid="7d9be2b0-855e-442e-b96c-24d0b8ab47dd"/>
<reportElement x="503" y="2" width="51" height="20" uuid="7d9be2b0-855e-442e-b96c-24d0b8ab47dd"/>
<textElement textAlignment="Right" verticalAlignment="Top">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$V{vTotalTotal}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="0" y="6" width="27" height="20" uuid="c44ae1ed-6f37-4a3c-aaad-19b89fc86abb"/>
<reportElement x="1" y="2" width="25" height="20" uuid="c44ae1ed-6f37-4a3c-aaad-19b89fc86abb"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="8"/>
<font fontName="Arial" size="6"/>
</textElement>
<textFieldExpression><![CDATA[$V{vTotalQtdeTarifa}]]></textFieldExpression>
</textField>
<line>
<reportElement positionType="Float" x="0" y="3" width="555" height="1" uuid="2c1bf6b9-f6f3-442b-a6ca-2c668a8e603a"/>
<reportElement stretchType="RelativeToTallestObject" x="26" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="0fc29162-092d-4b9a-b386-97f77097b2f2"/>
</line>
<line>
<reportElement positionType="Float" x="0" y="23" width="555" height="1" forecolor="#CCCCCC" uuid="bc27bd15-2e9c-4fd5-b207-4abb5b0a5b5f"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="502" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="a6ff630b-8eae-4312-9b46-0048fcfe1d4d"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="454" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="c1817cb0-8447-461e-8982-571c2ed5330b"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="410" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="265e716b-196b-4a4e-a6b1-1b8ee2094e77"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="13158cfa-c640-4827-93c4-622f008576a5"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="555" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="8a596ce5-8b1d-4d7b-836e-05343728e5d6"/>
</line>
</band>
</pageFooter>

View File

@ -1,8 +1,8 @@
<?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="RelatorioVendasPacotesResumido" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="84b9dfcf-8ec5-4f51-80cc-7339e3b158b4">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="0"/>
<property name="ireport.zoom" value="4.0"/>
<property name="ireport.x" value="1691"/>
<property name="ireport.y" value="495"/>
<parameter name="empresa" class="java.lang.String"/>
<parameter name="fecInicio" class="java.lang.String"/>
<parameter name="fecFinal" class="java.lang.String"/>
@ -60,9 +60,6 @@
</title>
<pageHeader>
<band height="21" splitType="Stretch">
<line>
<reportElement x="0" y="19" width="555" height="1" uuid="4f39b5b4-849a-4fe2-9365-06930866fbaa"/>
</line>
<textField>
<reportElement x="391" y="0" width="164" height="20" uuid="6a8a0843-7236-40a3-98ae-5fbf59b4cfec"/>
<textElement textAlignment="Right">
@ -73,59 +70,101 @@
</band>
</pageHeader>
<columnHeader>
<band height="21" splitType="Stretch">
<band height="24" splitType="Stretch">
<line>
<reportElement x="0" y="0" width="556" height="1" forecolor="#CCCCCC" uuid="4f39b5b4-849a-4fe2-9365-06930866fbaa"/>
</line>
<textField>
<reportElement x="0" y="1" width="255" height="20" uuid="d1e8ab32-c6d2-4622-82d9-d0681647fa14"/>
<reportElement x="1" y="2" width="253" height="20" uuid="d1e8ab32-c6d2-4622-82d9-d0681647fa14"/>
<textElement verticalAlignment="Middle" markup="none">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.pacote}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="255" y="1" width="100" height="20" uuid="c98a5bfb-8f19-482f-bc61-50f9f8c2661b"/>
<reportElement x="256" y="2" width="99" height="20" uuid="c98a5bfb-8f19-482f-bc61-50f9f8c2661b"/>
<textElement textAlignment="Center" verticalAlignment="Middle" markup="none">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.quantidade}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="355" y="1" width="100" height="20" uuid="c09202ea-b74e-4355-b068-a9dab46961b7"/>
<reportElement x="355" y="2" width="99" height="20" uuid="c09202ea-b74e-4355-b068-a9dab46961b7"/>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.totalBoletos}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="455" y="1" width="100" height="20" uuid="43e703a6-e2a7-4342-ba8e-858d989cd7d3"/>
<reportElement x="455" y="2" width="99" height="20" uuid="43e703a6-e2a7-4342-ba8e-858d989cd7d3"/>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.totalPacotes}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="23" width="556" height="1" forecolor="#CCCCCC" uuid="43655f53-cbc3-4ad6-8632-3957abae0bfc"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="254" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="f31d9963-51e1-41c7-b894-edc7284e362c"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="355" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="88873cf8-9aef-4d0e-8c23-b70fe7e40a85"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="455" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="32a7dabe-6fb2-460f-bdc0-6db5602d3234"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="92555ddb-ba51-4887-9e36-1d0ad9564aa7"/>
</line>
<line>
<reportElement stretchType="RelativeToTallestObject" x="555" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="e501b58b-e3ce-452c-b7ce-c2349b274fd7"/>
</line>
</band>
</columnHeader>
<detail>
<band height="21" splitType="Stretch">
<band height="24" splitType="Stretch">
<line>
<reportElement x="0" y="23" width="555" height="1" forecolor="#CCCCCC" uuid="0397e455-c3e6-4708-be2f-75efb51443a5"/>
</line>
<textField isBlankWhenNull="true">
<reportElement stretchType="RelativeToTallestObject" x="0" y="1" width="255" height="20" isPrintWhenDetailOverflows="true" uuid="752263b1-e76b-41c5-a728-c17367094dab"/>
<reportElement stretchType="RelativeToTallestObject" x="1" y="2" width="253" height="20" isPrintWhenDetailOverflows="true" uuid="752263b1-e76b-41c5-a728-c17367094dab"/>
<textElement verticalAlignment="Top"/>
<textFieldExpression><![CDATA[$F{nompacote}]]></textFieldExpression>
</textField>
<textField>
<reportElement stretchType="RelativeToTallestObject" x="255" y="1" width="100" height="20" uuid="4d1f1dc7-c08b-4323-a5cf-4c40fe757da0"/>
<reportElement stretchType="RelativeToTallestObject" x="256" y="2" width="99" height="20" uuid="4d1f1dc7-c08b-4323-a5cf-4c40fe757da0"/>
<textElement textAlignment="Center" verticalAlignment="Top"/>
<textFieldExpression><![CDATA[$F{qtdePacotes}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00">
<reportElement stretchType="RelativeToTallestObject" x="355" y="1" width="100" height="20" uuid="923c045e-f2b7-409f-ae52-600a307d7cb5"/>
<reportElement stretchType="RelativeToTallestObject" x="355" y="2" width="99" height="20" uuid="923c045e-f2b7-409f-ae52-600a307d7cb5"/>
<textElement textAlignment="Right" verticalAlignment="Top"/>
<textFieldExpression><![CDATA[$F{totalBoletos}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00">
<reportElement stretchType="RelativeToTallestObject" x="455" y="1" width="100" height="20" uuid="1063f040-0be4-4c44-8248-90e8b6c0ce64"/>
<reportElement stretchType="RelativeToTallestObject" x="455" y="2" width="99" height="20" uuid="1063f040-0be4-4c44-8248-90e8b6c0ce64"/>
<textElement textAlignment="Right" verticalAlignment="Top"/>
<textFieldExpression><![CDATA[$F{totalPacotes}]]></textFieldExpression>
</textField>
<line>
<reportElement x="254" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="0726824e-9766-447d-9ebb-d368a40523b2"/>
</line>
<line>
<reportElement x="355" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="f067f412-8417-42e1-ac61-6e3f956c8b80"/>
</line>
<line>
<reportElement x="455" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="b3a8e518-f6c6-48ff-bf9d-9ecbabac374a"/>
</line>
<line>
<reportElement x="555" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="980a83d6-513d-4f3b-b252-26fcc92150ae"/>
</line>
<line>
<reportElement x="0" y="0" width="555" height="1" forecolor="#CCCCCC" uuid="f5bcac19-220d-4730-9c5e-937e84ab30aa"/>
</line>
<line>
<reportElement x="0" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="ee92fc8a-1a5a-4b2e-bcb6-a1c565625969"/>
</line>
</band>
</detail>
<columnFooter>
@ -137,35 +176,53 @@
<summary>
<band height="24" splitType="Stretch">
<textField>
<reportElement x="0" y="3" width="255" height="20" uuid="867715f2-c3dd-49b4-87ec-502ab8ea8598"/>
<reportElement x="1" y="2" width="253" height="20" uuid="867715f2-c3dd-49b4-87ec-502ab8ea8598"/>
<textElement textAlignment="Right" verticalAlignment="Middle" markup="none">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$R{label.total}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="255" y="3" width="100" height="20" uuid="d2d44ea4-14ce-497c-91e5-e4ddca94794a"/>
<reportElement x="255" y="2" width="99" height="20" uuid="d2d44ea4-14ce-497c-91e5-e4ddca94794a"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{vTotalQtdePacotes}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="355" y="3" width="100" height="20" uuid="2c84e21c-fe3f-499b-ac8a-6c0fbae60639"/>
<reportElement x="355" y="2" width="99" height="20" uuid="2c84e21c-fe3f-499b-ac8a-6c0fbae60639"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{vTotalBoletos}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="455" y="3" width="100" height="20" uuid="f147fee0-a325-4b6b-8925-893b117ada8d"/>
<reportElement x="455" y="2" width="99" height="20" uuid="f147fee0-a325-4b6b-8925-893b117ada8d"/>
<textElement textAlignment="Right" verticalAlignment="Middle">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{vTotalPacotes}]]></textFieldExpression>
</textField>
<line>
<reportElement x="0" y="1" width="555" height="1" uuid="0397e455-c3e6-4708-be2f-75efb51443a5"/>
<reportElement x="0" y="0" width="556" height="1" forecolor="#CCCCCC" uuid="20d6fbf7-a686-4b47-8794-ba0a2640f526"/>
</line>
<line>
<reportElement x="0" y="23" width="556" height="1" forecolor="#CCCCCC" uuid="985b6309-8101-4b28-bc0b-4497e7f29f6d"/>
</line>
<line>
<reportElement x="254" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="0a4de2eb-7786-402c-a4bf-2ee9cfa7e4ac"/>
</line>
<line>
<reportElement x="0" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="14e7f5f7-d5ec-4990-8711-ce73130bc996"/>
</line>
<line>
<reportElement x="355" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="0fb258ef-0cac-4870-9b00-2124e6dba94a"/>
</line>
<line>
<reportElement x="455" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="0ff8c7e1-4577-4fa5-a2c6-cff056adecd3"/>
</line>
<line>
<reportElement x="555" y="0" width="1" height="24" forecolor="#CCCCCC" uuid="9a2e1f0d-ba84-435e-9b28-fc6a205233c9"/>
</line>
</band>
</summary>

View File

@ -1,6 +1,7 @@
package com.rjconsultores.ventaboletos.web.gui.controladores.relatorios;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
@ -61,8 +62,14 @@ public class RelatorioVendasPacotesDetalhadoController extends MyGenericForwardC
@Override
public void doAfterCompose(Component comp) throws Exception {
lsEmpresa = empresaService.obtenerTodos();
lsPacote = pacoteService.obtenerTodos();
lsEmpresa = new ArrayList<Empresa>();
lsEmpresa.add(new Empresa(-1, "TODAS"));
lsEmpresa.addAll(empresaService.obtenerTodos());
lsPacote = new ArrayList<Pacote>();
lsPacote.add(new Pacote(-1, "TODOS"));
lsPacote.addAll(pacoteService.obtenerTodos());
super.doAfterCompose(comp);
}
@ -77,7 +84,7 @@ public class RelatorioVendasPacotesDetalhadoController extends MyGenericForwardC
Comboitem cbiEmpresa = cmbEmpresa.getSelectedItem();
String empresaId = null;
parametros.put("empresa", "");
parametros.put("empresa", "TODAS");
if (cbiEmpresa != null) {
Empresa empresa = (Empresa) cbiEmpresa.getValue();
empresaId = empresa.getEmpresaId().toString();
@ -87,7 +94,7 @@ public class RelatorioVendasPacotesDetalhadoController extends MyGenericForwardC
Comboitem cbiPacote = cmbPacote.getSelectedItem();
String pacoteId = null;
parametros.put("nompacote", "Todos");
parametros.put("nompacote", "TODOS");
if (cbiPacote != null) {
Pacote pacote = (Pacote) cbiPacote.getValue();
pacoteId = pacote.getPacoteId().toString();