fixed bug #7429 - correções relatório Tabela de Preço

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@55699 d1611594-4594-4d17-8e1d-87c2c4800839
master
frederico 2016-05-06 14:05:44 +00:00
parent f7a323940f
commit fc48058b8c
3 changed files with 1 additions and 9 deletions

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="RelatorioTabelaPreco" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c092ef85-9334-4225-93d7-1acb7cf4d021"> <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="RelatorioTabelaPreco" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c092ef85-9334-4225-93d7-1acb7cf4d021">
<property name="ireport.zoom" value="1.4641000000000008"/> <property name="ireport.zoom" value="1.4641000000000008"/>
<property name="ireport.x" value="0"/> <property name="ireport.x" value="501"/>
<property name="ireport.y" value="39"/> <property name="ireport.y" value="39"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="pageHeader"/> <property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="pageHeader"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.1" value="columnHeader"/> <property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.1" value="columnHeader"/>
@ -461,7 +461,6 @@
<textElement textAlignment="Right"/> <textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$F{tarifa}.doubleValue() + <textFieldExpression><![CDATA[$F{tarifa}.doubleValue() +
$F{pedagio}.doubleValue() + $F{pedagio}.doubleValue() +
$F{pedagio}.doubleValue() +
$F{taxaEmbarque}.doubleValue() + $F{taxaEmbarque}.doubleValue() +
$F{seguro}.doubleValue() + $F{seguro}.doubleValue() +
$F{outros}.doubleValue()]]></textFieldExpression> $F{outros}.doubleValue()]]></textFieldExpression>

View File

@ -142,13 +142,6 @@ public class RelatorioTabelaPrecoController extends MyGenericForwardComposer {
} }
public void onClick$btnExecutarRelatorio(Event ev) throws Exception { public void onClick$btnExecutarRelatorio(Event ev) throws Exception {
List<Ruta> lsLinhasSelecionadas = new ArrayList(Arrays.asList(linhaSelList.getData()));
if (lsLinhasSelecionadas.isEmpty()) {
Messagebox.show(Labels.getLabel("relatorioTabelaPrecoController.msg.informarLinha"),
Labels.getLabel("relatorioTabelaPrecoController.window.title"),
Messagebox.OK, Messagebox.EXCLAMATION);
return;
}
if (cmbVigencia.getValue() != null if (cmbVigencia.getValue() != null
&& cmbEmpresa.getValue() != null) { && cmbEmpresa.getValue() != null) {
executarRelatorio(); executarRelatorio();