fix bug #0009384 - Adicionada coluna de estação

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@72551 d1611594-4594-4d17-8e1d-87c2c4800839
master
bruno.neves 2017-08-11 13:58:14 +00:00
parent cafe5cd771
commit a426255acc
3 changed files with 22 additions and 8 deletions

View File

@ -22,6 +22,7 @@
<field name="subserie" class="java.lang.String"/>
<field name="forminicio" class="java.lang.String"/>
<field name="formfinal" class="java.lang.String"/>
<field name="estacao" class="java.lang.String"/>
<background>
<band splitType="Stretch"/>
</background>
@ -95,7 +96,7 @@
<reportElement x="1" y="34" width="802" height="1" uuid="a11636cc-5ee1-44cc-8cd1-cbe2ebc47abb"/>
</line>
<staticText>
<reportElement x="1" y="15" width="93" height="20" uuid="ed0c0a45-151a-400e-a30c-fd8afa88438b"/>
<reportElement x="1" y="15" width="65" height="20" uuid="ed0c0a45-151a-400e-a30c-fd8afa88438b"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="12" isBold="true"/>
</textElement>
@ -109,14 +110,14 @@
<text><![CDATA[Serie]]></text>
</staticText>
<staticText>
<reportElement x="95" y="15" width="166" height="20" uuid="6db7e341-bc01-4843-8be5-fe74d78b7529"/>
<reportElement x="66" y="15" width="130" height="20" uuid="6db7e341-bc01-4843-8be5-fe74d78b7529"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Empresa]]></text>
</staticText>
<staticText>
<reportElement x="261" y="14" width="168" height="20" uuid="d60cb698-201c-4315-bec2-498effeea474"/>
<reportElement x="196" y="14" width="139" height="20" uuid="d60cb698-201c-4315-bec2-498effeea474"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="12" isBold="true"/>
</textElement>
@ -137,25 +138,32 @@
<text><![CDATA[Numeração]]></text>
</staticText>
<staticText>
<reportElement x="681" y="14" width="117" height="20" uuid="fcf366c0-0f13-44f7-84de-38ae1122b647"/>
<reportElement x="681" y="14" width="122" height="20" uuid="fcf366c0-0f13-44f7-84de-38ae1122b647"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Folios]]></text>
</staticText>
<staticText>
<reportElement x="335" y="14" width="100" height="20" uuid="ea11f3f2-8b0d-4fc9-a87b-c190b8dab51f"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Estação]]></text>
</staticText>
</band>
</columnHeader>
<detail>
<band height="22" splitType="Stretch">
<textField>
<reportElement x="261" y="0" width="168" height="20" uuid="c35afacb-b160-4ace-b7be-c2e2f54ac1c0"/>
<reportElement x="196" y="0" width="139" height="20" uuid="c35afacb-b160-4ace-b7be-c2e2f54ac1c0"/>
<textElement textAlignment="Center">
<font size="10" isBold="false" isItalic="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{agencia}]]></textFieldExpression>
</textField>
<textField isBlankWhenNull="true">
<reportElement x="95" y="0" width="166" height="20" uuid="73582b2a-b21b-4637-990c-aff7423a8e27"/>
<reportElement x="66" y="0" width="130" height="20" uuid="73582b2a-b21b-4637-990c-aff7423a8e27"/>
<textElement textAlignment="Center">
<font size="10" isBold="false" isItalic="false"/>
</textElement>
@ -170,7 +178,7 @@
<textFieldExpression><![CDATA[$F{serie}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy">
<reportElement x="0" y="1" width="94" height="20" uuid="bfb9d635-bbc1-4e92-890a-df8299bc8daa"/>
<reportElement x="0" y="1" width="66" height="20" uuid="bfb9d635-bbc1-4e92-890a-df8299bc8daa"/>
<textElement textAlignment="Center">
<font size="10" isBold="false" isItalic="false"/>
</textElement>
@ -190,10 +198,15 @@
<textFieldExpression><![CDATA[$F{subserie}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="681" y="0" width="118" height="20" uuid="f1e52aa0-f61d-4c94-bb09-e51cde37f2cc"/>
<reportElement x="681" y="0" width="122" height="20" uuid="f1e52aa0-f61d-4c94-bb09-e51cde37f2cc"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$F{folios}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="335" y="2" width="94" height="20" uuid="a0ee8a4d-39ef-458a-895d-b12b794876d9"/>
<textElement textAlignment="Center"/>
<textFieldExpression><![CDATA[$F{estacao}]]></textFieldExpression>
</textField>
</band>
</detail>
<summary>

View File

@ -180,6 +180,7 @@ public class RelatorioAidfDetalhadoController extends MyGenericForwardComposer {
puntoVentaBusqueda.addFilterILike("nombpuntoventa", "%" + txtNombrePuntoVenta.getValue() + "%");
puntoVentaBusqueda.addFilterEqual("activo", Boolean.TRUE);
puntoVentaBusqueda.addFilterNotEqual("puntoventaId", -1);
puntoVentaBusqueda.addSortAsc("nombpuntoventa");