leonardo 2016-10-27 16:13:50 +00:00
parent 982e09e29f
commit 2fef86581f
2 changed files with 40 additions and 9 deletions

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="RelatorioVendasComissao" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="84b9dfcf-8ec5-4f51-80cc-7339e3b158b4">
<property name="ireport.zoom" value="1.0980750000000008"/>
<property name="ireport.x" value="0"/>
<property name="ireport.x" value="215"/>
<property name="ireport.y" value="0"/>
<parameter name="fecInicio" class="java.lang.String"/>
<parameter name="fecFinal" class="java.lang.String"/>
@ -21,9 +21,39 @@
<field name="nombPuntoVenta" class="java.lang.String"/>
<field name="empresa" class="java.lang.String"/>
<field name="fechaInclusion" class="java.lang.String"/>
<variable name="subtotal" class="java.math.BigDecimal" resetType="Group" resetGroup="deposito" calculation="Sum">
<variableExpression><![CDATA[$F{valorDeposito}]]></variableExpression>
</variable>
<variable name="total" class="java.math.BigDecimal" calculation="Sum">
<variableExpression><![CDATA[$F{valorDeposito}]]></variableExpression>
</variable>
<group name="deposito">
<groupExpression><![CDATA[$F{numDeposito}]]></groupExpression>
<groupHeader>
<band height="5"/>
</groupHeader>
<groupFooter>
<band height="22">
<textField pattern="¤ #,##0.00">
<reportElement uuid="d9967577-1a2d-4e8c-afc3-5aa8fa18ae63" x="722" y="0" width="79" height="20"/>
<textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{subtotal}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="8028606d-ad70-4197-b011-d2ade8e44267" x="622" y="0" width="100" height="20"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[Subtotal]]></text>
</staticText>
<line>
<reportElement uuid="c8dfd524-14cc-454c-afc0-3ce9f8d0ead8" positionType="Float" x="-1" y="19" width="802" height="1"/>
</line>
</band>
</groupFooter>
</group>
<background>
<band splitType="Stretch"/>
</background>
@ -157,7 +187,7 @@
</band>
</columnHeader>
<detail>
<band height="22" splitType="Prevent">
<band height="23" splitType="Prevent">
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="2e83e648-f95f-42ae-9069-862e6ad79b21" stretchType="RelativeToTallestObject" x="528" y="0" width="69" height="20" isPrintWhenDetailOverflows="true"/>
<textElement textAlignment="Left"/>
@ -213,17 +243,18 @@
</pageFooter>
<summary>
<band height="26" splitType="Stretch">
<line>
<reportElement uuid="c8dfd524-14cc-454c-afc0-3ce9f8d0ead8" positionType="Float" x="0" y="2" width="802" height="1"/>
</line>
<textField pattern="¤ #,##0.00">
<reportElement uuid="d9967577-1a2d-4e8c-afc3-5aa8fa18ae63" x="723" y="6" width="79" height="20"/>
<textElement textAlignment="Right"/>
<reportElement uuid="d9967577-1a2d-4e8c-afc3-5aa8fa18ae63" x="722" y="6" width="79" height="20"/>
<textElement textAlignment="Right">
<font isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$V{total}]]></textFieldExpression>
</textField>
<staticText>
<reportElement uuid="8028606d-ad70-4197-b011-d2ade8e44267" x="623" y="6" width="100" height="20"/>
<textElement textAlignment="Center"/>
<reportElement uuid="8028606d-ad70-4197-b011-d2ade8e44267" x="622" y="6" width="100" height="20"/>
<textElement textAlignment="Center">
<font isBold="true"/>
</textElement>
<text><![CDATA[Total]]></text>
</staticText>
</band>