leonardo 2016-06-16 13:31:34 +00:00
parent 5379a0495f
commit 9af8a338a6
3 changed files with 14 additions and 14 deletions

View File

@ -96,17 +96,17 @@ public class RelatorioConferenciaFormularioFisico extends Relatorio {
formulario.setAbertura(rs.getDate(6)); formulario.setAbertura(rs.getDate(6));
formulario.setBilheteFisicoAbertura(rs.getInt(8)); formulario.setBilheteFisicoAbertura(rs.getInt(8));
formulario.setBilheteFisicoFechamento(rs.getInt(9)); formulario.setBilheteFisicoFechamento(rs.getInt(9));
formulario.setBilheteLogicoAbertura(rs.getInt(10)); formulario.setDif1(rs.getInt(10));
formulario.setBilheteLogicoFechamento(rs.getInt(11)); formulario.setBilheteLogicoAbertura(rs.getInt(11));
formulario.setBilheteLogicoFechamento(rs.getInt(12));
formulario.setDif2(rs.getInt(13));
formulario.setCaixa(rs.getString(2)); formulario.setCaixa(rs.getString(2));
formulario.setFechamento(rs.getDate(7)); formulario.setFechamento(rs.getDate(7));
formulario.setSerie(rs.getString(3)); formulario.setSerie(rs.getString(3));
formulario.setTerminal(rs.getInt(1)); formulario.setTerminal(rs.getInt(1));
formulario.setTurno(rs.getInt(5)); formulario.setTurno(rs.getInt(5));
formulario.setUsuario(rs.getString(4)); formulario.setUsuario(rs.getString(4));
formulario.setDif1(rs.getInt(9) - rs.getInt(8)); formulario.setTotal(rs.getInt(13));
formulario.setDif2(rs.getInt(11) - rs.getInt(10));
formulario.setTotal(rs.getInt(11) - rs.getInt(10));
formularios.add(formulario); formularios.add(formulario);
} }

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-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="RelatorioCheckin" pageWidth="842" pageHeight="675" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="48d32af4-ba9f-41c2-91a5-5d2fe57e149c"> <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="RelatorioCheckin" pageWidth="842" pageHeight="675" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="48d32af4-ba9f-41c2-91a5-5d2fe57e149c">
<property name="ireport.zoom" value="1.4641000000000008"/> <property name="ireport.zoom" value="1.4641000000000008"/>
<property name="ireport.x" value="534"/> <property name="ireport.x" value="0"/>
<property name="ireport.y" value="1"/> <property name="ireport.y" value="1"/>
<parameter name="NOME_RELATORIO" class="java.lang.String"/> <parameter name="NOME_RELATORIO" class="java.lang.String"/>
<parameter name="DATA_INICIAL" class="java.util.Date"/> <parameter name="DATA_INICIAL" class="java.util.Date"/>
@ -250,7 +250,7 @@
<textFieldExpression><![CDATA[$F{usuario}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{usuario}]]></textFieldExpression>
</textField> </textField>
<textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="true"> <textField pattern="dd/MM/yyyy HH:mm" isBlankWhenNull="true">
<reportElement uuid="64e2b043-f9cb-4211-852c-def2fed7ae2c" x="272" y="1" width="77" height="19"/> <reportElement uuid="64e2b043-f9cb-4211-852c-def2fed7ae2c" x="272" y="0" width="77" height="20"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>
@ -264,7 +264,7 @@
<textFieldExpression><![CDATA[$F{fechamento}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{fechamento}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="true"> <textField pattern="" isBlankWhenNull="true">
<reportElement uuid="c777b9ac-f2f3-4bfa-9eed-593abae4c3bd" x="609" y="1" width="50" height="18"/> <reportElement uuid="c777b9ac-f2f3-4bfa-9eed-593abae4c3bd" x="609" y="0" width="50" height="20"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8"/>
</textElement> </textElement>
@ -278,42 +278,42 @@
<textFieldExpression><![CDATA[$F{bilheteFisicoAbertura}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{bilheteFisicoAbertura}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="true"> <textField pattern="" isBlankWhenNull="true">
<reportElement uuid="22664e0d-f3d2-4eaf-9eea-3acedd65183e" x="477" y="1" width="52" height="19"/> <reportElement uuid="22664e0d-f3d2-4eaf-9eea-3acedd65183e" x="477" y="0" width="52" height="20"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{bilheteFisicoFechamento}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{bilheteFisicoFechamento}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="true"> <textField pattern="" isBlankWhenNull="true">
<reportElement uuid="882c06a1-647f-4506-9c78-ec71e2a65b83" x="529" y="1" width="30" height="19"/> <reportElement uuid="882c06a1-647f-4506-9c78-ec71e2a65b83" x="529" y="0" width="30" height="20"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{dif1}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{dif1}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="true"> <textField pattern="" isBlankWhenNull="true">
<reportElement uuid="d975aaf9-a224-4cbb-8d7b-bb6cbc00ec1b" x="559" y="1" width="50" height="18"/> <reportElement uuid="d975aaf9-a224-4cbb-8d7b-bb6cbc00ec1b" x="559" y="0" width="50" height="20"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{bilheteLogicoAbertura}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{bilheteLogicoAbertura}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="true"> <textField pattern="" isBlankWhenNull="true">
<reportElement uuid="a4273724-e408-4266-a6d3-358f5eebf1df" x="659" y="2" width="30" height="19"/> <reportElement uuid="a4273724-e408-4266-a6d3-358f5eebf1df" x="659" y="0" width="30" height="20"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{dif2}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{dif2}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="true"> <textField pattern="" isBlankWhenNull="true">
<reportElement uuid="62d70d18-269f-415d-ae0f-5806990b177f" x="689" y="2" width="61" height="19"/> <reportElement uuid="62d70d18-269f-415d-ae0f-5806990b177f" x="689" y="0" width="61" height="20"/>
<textElement textAlignment="Right"> <textElement textAlignment="Right">
<font size="8"/> <font size="8"/>
</textElement> </textElement>
<textFieldExpression><![CDATA[$F{total}]]></textFieldExpression> <textFieldExpression><![CDATA[$F{total}]]></textFieldExpression>
</textField> </textField>
<textField pattern="" isBlankWhenNull="true"> <textField pattern="" isBlankWhenNull="true">
<reportElement uuid="a16f6612-4d70-410b-b86d-68c99cdcbbf1" x="238" y="0" width="34" height="19"/> <reportElement uuid="a16f6612-4d70-410b-b86d-68c99cdcbbf1" x="238" y="0" width="34" height="20"/>
<textElement> <textElement>
<font size="8"/> <font size="8"/>
</textElement> </textElement>