julio 2017-08-27 13:25:05 +00:00
parent ba890a5ee0
commit 2f10c775f0
3 changed files with 16 additions and 13 deletions

View File

@ -72,9 +72,12 @@ public class RelatorioFinanceiroSintetico extends Relatorio {
fs.setUf(rset.getString("uf"));
fs.setCodigoAgencia(rset.getString("codigo"));
fs.setReceitaBPR(getBigDecimal(rset, "receita_bpr"));
BigDecimal receitaBPR = getBigDecimal(rset, "receita_bpr");
fs.setGapVenda(getBigDecimal(rset, "receita_gap"));
fs.setGapImpressa(getBigDecimal(rset, "entrega_gap"));
receitaBPR = receitaBPR.add(fs.getGapImpressa());
fs.setReceitaBPR(receitaBPR);
BigDecimal totalVendaPassagens = fs.getReceitaBPR().add(fs.getGapVenda());
totalVendaPassagens = totalVendaPassagens.subtract(fs.getGapImpressa());

View File

@ -1,7 +1,7 @@
<?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="RelatorioFolioRmd" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" isFloatColumnFooter="true" uuid="2903c33e-d004-46d3-99c9-7dfec3f64338">
<property name="ireport.zoom" value="1.3310000000000004"/>
<property name="ireport.x" value="330"/>
<property name="ireport.x" value="431"/>
<property name="ireport.y" value="0"/>
<field name="foliormd" class="java.lang.String"/>
<field name="status" class="java.lang.String"/>
@ -206,42 +206,42 @@
</textElement>
<textFieldExpression><![CDATA[$F{uf}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00">
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="435" y="0" width="86" height="15" uuid="4c8a51cc-7f65-4706-96af-852ad18db351"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{valorContabil}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00">
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="521" y="0" width="87" height="15" uuid="d77ef07b-b0bc-4282-91ba-fbb404245ecb"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{baseCalculo}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00">
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="608" y="0" width="39" height="15" uuid="b8dc7a0c-084d-4011-b146-79603e86dc8a"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{aliquota}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00">
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="647" y="0" width="58" height="15" uuid="2a4b0c72-9501-403d-84b6-889e8a6e2c9d"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{isentos}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00">
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="705" y="0" width="58" height="15" uuid="9e9a88b9-0991-44f3-bbb1-0e6bcc2b7e00"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$F{outros}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00">
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="763" y="0" width="39" height="15" uuid="627754c7-dfcc-46a6-91be-078cc6aea758"/>
<textElement textAlignment="Right">
<font size="9"/>
@ -255,28 +255,28 @@
<line>
<reportElement x="0" y="0" width="802" height="1" uuid="d269f449-5afd-4518-998c-8cc3c9b2756c"/>
</line>
<textField pattern="#,##0.00">
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="435" y="1" width="86" height="15" uuid="b45829aa-aa5e-4cd3-91aa-e45fef519c2e"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$V{valorContabil}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00">
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="705" y="1" width="58" height="15" uuid="f7856fef-fb83-4e9b-809e-6773bedcbe85"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$V{outros}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00">
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="647" y="1" width="58" height="15" uuid="595cef70-5020-4147-88f3-958048124ede"/>
<textElement textAlignment="Right">
<font size="9"/>
</textElement>
<textFieldExpression><![CDATA[$V{isentos}]]></textFieldExpression>
</textField>
<textField pattern="#,##0.00">
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="521" y="1" width="87" height="15" uuid="f459d5b3-ddb4-48e8-a9ad-2ee903a78693"/>
<textElement textAlignment="Right">
<font size="9"/>
@ -293,7 +293,7 @@
<line>
<reportElement x="0" y="15" width="802" height="1" uuid="b056f86d-4b35-4671-b936-ec7dbefbd7ff"/>
</line>
<textField pattern="#,##0.00">
<textField pattern="#,##0.00" isBlankWhenNull="true">
<reportElement x="763" y="1" width="39" height="15" uuid="2a276df5-68f0-4fab-bbf2-eabb5f18f3e9"/>
<textElement textAlignment="Right">
<font size="9"/>