Merge pull request 'Impressão de comprovante de legalizaçao massiva feat bug#AL-4784' (!717) from AL-4784 into master

Reviewed-on: adm/VentaBoletosAdm#717
Reviewed-by: wallace <wallace@rjconsultores.com.br>
master 1.140.0
fabio 2024-09-16 20:12:27 +00:00
commit 3200993496
17 changed files with 423 additions and 19 deletions

View File

@ -4,11 +4,11 @@
<modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId>
<artifactId>ventaboletosadm</artifactId>
<version>1.139.0</version>
<version>1.140.0</version>
<packaging>war</packaging>
<properties>
<modelWeb.version>1.106.0</modelWeb.version>
<modelWeb.version>1.107.0</modelWeb.version>
<flyway.version>1.92.6</flyway.version>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

View File

@ -169,10 +169,9 @@ public class RelatorioGratuidadeARTESP extends Relatorio {
}
public void setLsDadosRelatorio(List<RelatorioGratuidadeARTESPBean> lsDadosRelatorio) {
log.info("Setando dados do relatorio ARTESP");
this.setCollectionDataSource(new JRBeanCollectionDataSource(lsDadosRelatorio));
this.lsDadosRelatorio = lsDadosRelatorio;
log.info("depois de Setar dados do relatorio ARTESP");
}
@Override

View File

@ -0,0 +1,42 @@
package com.rjconsultores.ventaboletos.relatorios.impl;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang.BooleanUtils;
import org.apache.commons.lang.StringUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.DataSource;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.Relatorio;
import com.rjconsultores.ventaboletos.relatorios.utilitarios.RelatorioGratuidadeARTESPBean;
import com.rjconsultores.ventaboletos.utilerias.DateUtil;
import com.rjconsultores.ventaboletos.vo.configuracioneccomerciales.VoucherVO;
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
import net.sf.jasperreports.engine.data.JRBeanCollectionDataSource;
public class RelatorioLegalizacaoMassiva extends Relatorio {
private List<VoucherVO> lsDadosRelatorio;
private static Logger log = LogManager.getLogger(RelatorioLegalizacaoMassiva.class);
public RelatorioLegalizacaoMassiva(Map<String, Object> parametros, Connection conexao) throws Exception {
super(parametros, conexao);
}
public void setLsDadosRelatorio(List<VoucherVO> lsDadosRelatorio) {
this.setCollectionDataSource(new JRBeanCollectionDataSource(lsDadosRelatorio));
this.lsDadosRelatorio = lsDadosRelatorio;
}
@Override
protected void processaParametros() throws Exception {
}
}

View File

@ -0,0 +1,17 @@
cabecalho.dataHora = Fecha/Hora:
cabecalho.de = de
cabecalho.filtros = Filtros:
cabecalho.impressorPor = Impreso por:
cabecalho.pagina = Página
cabecalho.periodo = Período:
cabecalho.periodoA = al
cabecalho.relatorio = Reporte
cabecalho.usuario = Usuário:
label.dataValidade = Fecha caducidad
label.id = Bono
label.mensagem = Mensaje
label.numContrato = Número Contrato
label.situacao = Situación
label.trecho = Tramo
label.valorLegalizado = Valor Legalizado
label.valorLicitado = Valor Licitado

View File

@ -0,0 +1,17 @@
cabecalho.dataHora = Data/Hora:
cabecalho.de = de
cabecalho.filtros = Filtros:
cabecalho.impressorPor = Impresso por:
cabecalho.pagina = Página
cabecalho.periodo = Período:
cabecalho.periodoA = à
cabecalho.relatorio = Relatório:
cabecalho.usuario = Usuário:
label.dataValidade = Data Validade
label.id = Voucher
label.mensagem = Mensagem
label.numContrato = Número Contrato
label.situacao = Situação
label.trecho = Trecho
label.valorLegalizado = Valor Legalizado
label.valorLicitado = Valor Licitado

View File

@ -0,0 +1,212 @@
<?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="RelatorioFinanceiroReceitasDespesas" pageWidth="1136" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="1096" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="84b9dfcf-8ec5-4f51-80cc-7339e3b158b4">
<property name="ireport.zoom" value="1.3636363636363662"/>
<property name="ireport.x" value="278"/>
<property name="ireport.y" value="0"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.keep.first.band.2" value="columnHeader"/>
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.rows" value="true"/>
<property name="net.sf.jasperreports.export.xls.remove.empty.space.between.columns" value="true"/>
<property name="net.sf.jasperreports.export.xls.exclude.origin.band.2" value="pageHeader"/>
<style name="zebrado">
<conditionalStyle>
<conditionExpression><![CDATA[$V{REPORT_COUNT}%2==1]]></conditionExpression>
<style backcolor="#CCCCCC"/>
</conditionalStyle>
</style>
<parameter name="TITULO" class="java.lang.String"/>
<parameter name="USUARIO" class="java.lang.String"/>
<parameter name="FILTROS" class="java.lang.String"/>
<queryString>
<![CDATA[]]>
</queryString>
<field name="dataValidade" class="java.util.Date"/>
<field name="mensagem" class="java.lang.String"/>
<field name="numContrato" class="java.lang.String"/>
<field name="valorLicitado" class="java.math.BigDecimal"/>
<field name="situacao" class="java.lang.String"/>
<field name="trecho" class="java.lang.String"/>
<field name="voucherId" class="java.lang.Long"/>
<field name="valorLegalizado" class="java.math.BigDecimal"/>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band splitType="Stretch"/>
</title>
<pageHeader>
<band height="78" splitType="Stretch">
<textField>
<reportElement uuid="6a8a0843-7236-40a3-98ae-5fbf59b4cfec" x="934" y="20" width="136" height="20"/>
<textElement textAlignment="Right">
<font isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.pagina} + " " + $V{PAGE_NUMBER}+ " " + $R{cabecalho.de}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="43b2c28d-4760-4890-b00d-25e931e79c74" x="0" y="0" width="934" height="20"/>
<textElement markup="none">
<font size="14" isBold="true"/>
</textElement>
<textFieldExpression><![CDATA[$P{TITULO}]]></textFieldExpression>
</textField>
<textField pattern="dd/MM/yyyy HH:mm">
<reportElement uuid="4d1bcd65-c9a6-44b4-8dca-cc3c4c20c9a5" x="934" y="0" width="161" height="20"/>
<textElement textAlignment="Right">
<font isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
<textField evaluationTime="Report">
<reportElement uuid="b3192d34-b55c-4a4e-9d38-227fbcd2f2bb" x="1073" y="20" width="22" height="20"/>
<textElement>
<font size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="b1cf4373-eaf7-44ea-a501-f860094844df" x="77" y="20" width="857" height="40"/>
<textElement/>
<textFieldExpression><![CDATA[$P{FILTROS}]]></textFieldExpression>
</textField>
<textField pattern="" isBlankWhenNull="false">
<reportElement uuid="2112e0ea-6df2-448f-8761-5c211d3012d3" mode="Transparent" x="934" y="40" width="161" height="20" forecolor="#000000" backcolor="#FFFFFF"/>
<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" markup="none">
<font fontName="SansSerif" size="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
<paragraph lineSpacing="Single"/>
</textElement>
<textFieldExpression><![CDATA[$R{cabecalho.impressorPor}+" "+$P{USUARIO}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="718f0c7e-92f9-4204-8405-4b65faf995c6" x="0" y="20" width="77" height="40"/>
<textElement markup="none"/>
<textFieldExpression><![CDATA[$R{cabecalho.filtros}]]></textFieldExpression>
</textField>
<line>
<reportElement uuid="ddc1f7ca-fd85-4698-824f-eba0fbb9e81a" x="0" y="59" width="1096" height="1"/>
</line>
</band>
</pageHeader>
<columnHeader>
<band height="21" splitType="Stretch">
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="a3dea313-f2a7-4388-bd91-5c02e8612b8e" stretchType="RelativeToTallestObject" x="0" y="0" width="77" height="20"/>
<textElement/>
<textFieldExpression><![CDATA[$R{label.id}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="a228f320-6e89-45a4-aef6-d1e8e76fa7a7" stretchType="RelativeToTallestObject" x="77" y="1" width="120" height="20"/>
<textElement/>
<textFieldExpression><![CDATA[$R{label.numContrato}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="6724b194-ae32-48c6-ac74-578fe785e768" stretchType="RelativeToTallestObject" x="197" y="0" width="141" height="20"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$R{label.situacao}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement uuid="6d430f80-9725-4277-8eb7-9c36b8d0496c" stretchType="RelativeToTallestObject" x="338" y="0" width="89" height="20"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$R{label.dataValidade}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="98852ec0-40cc-46f6-8e15-d243abbef01e" x="517" y="0" width="115" height="20"/>
<textElement textAlignment="Left" markup="none"/>
<textFieldExpression><![CDATA[$R{label.valorLegalizado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
<reportElement uuid="97964207-4388-4f8b-be2b-befe4264210c" stretchType="RelativeToTallestObject" x="884" y="1" width="212" height="20"/>
<box rightPadding="2"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$R{label.mensagem}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement uuid="72be8326-4994-4155-b95a-bd7735d2a3c7" stretchType="RelativeToTallestObject" x="427" y="1" width="90" height="20"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$R{label.valorLicitado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement uuid="30ef0ac9-9128-48bd-aefc-86d8c21d90f1" stretchType="RelativeToTallestObject" x="632" y="0" width="251" height="20"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$R{label.trecho}]]></textFieldExpression>
</textField>
</band>
</columnHeader>
<detail>
<band height="14" splitType="Stretch">
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
<reportElement uuid="aad51f92-6577-4404-9c57-1d47c0c64c6a" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="77" y="0" width="120" height="14" isPrintWhenDetailOverflows="true"/>
<box>
<bottomPen lineWidth="0.0"/>
</box>
<textElement/>
<textFieldExpression><![CDATA[$F{numContrato}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="77d7eb39-6b9d-448d-981b-01813e97d038" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="883" y="0" width="212" height="14" isPrintWhenDetailOverflows="true"/>
<box>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{mensagem}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true">
<reportElement uuid="a9a0a244-8f87-4ebf-8557-dfde197b4287" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="0" y="0" width="77" height="14" isPrintWhenDetailOverflows="true"/>
<box>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{voucherId}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="be7f0c15-3826-4f96-a4ce-1c869ccfeaae" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="427" y="0" width="90" height="14"/>
<box>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" markup="styled">
<font fontName="SansSerif" size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{valorLicitado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="f20aaaa9-f7af-4217-9067-3ae137dd742e" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="517" y="0" width="115" height="14"/>
<box>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{valorLegalizado}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true">
<reportElement uuid="d0a920ca-cfca-4885-b85e-5c698a999cb7" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="632" y="0" width="251" height="14"/>
<box>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Left" verticalAlignment="Top" markup="styled">
<font fontName="SansSerif" size="10" isBold="false"/>
</textElement>
<textFieldExpression><![CDATA[$F{trecho}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
<reportElement uuid="e2841610-831d-4379-96ff-e5806f4c1ceb" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="197" y="0" width="141" height="14" isPrintWhenDetailOverflows="true"/>
<box>
<bottomPen lineWidth="0.0"/>
</box>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[$F{situacao}]]></textFieldExpression>
</textField>
<textField isStretchWithOverflow="true" pattern="dd/MM/yyyy" isBlankWhenNull="true">
<reportElement uuid="c98526c0-c36f-42df-9308-452ac671044c" style="zebrado" stretchType="RelativeToTallestObject" mode="Opaque" x="338" y="0" width="89" height="14" isPrintWhenDetailOverflows="true"/>
<box>
<bottomPen lineWidth="0.0"/>
</box>
<textElement/>
<textFieldExpression><![CDATA[$F{dataValidade}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band splitType="Stretch"/>
</pageFooter>
</jasperReport>

View File

@ -26,9 +26,11 @@ import org.zkoss.zul.Textbox;
import com.rjconsultores.ventaboletos.entidad.Parada;
import com.rjconsultores.ventaboletos.entidad.Transportadora;
import com.rjconsultores.ventaboletos.exception.BusinessException;
import com.rjconsultores.ventaboletos.relatorios.impl.RelatorioLegalizacaoMassiva;
import com.rjconsultores.ventaboletos.service.ParadaService;
import com.rjconsultores.ventaboletos.service.TransportadoraService;
import com.rjconsultores.ventaboletos.service.VoucherService;
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
import com.rjconsultores.ventaboletos.vo.configuracioneccomerciales.VoucherVO;
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
@ -46,6 +48,7 @@ public class LegalizacaoMassivaController extends MyGenericForwardComposer {
private static Logger log = LogManager.getLogger(LegalizacaoMassivaController.class);
private static final long serialVersionUID = 1L;
private static final String TITULO = "legalizacaoMassivaController.window.title";
private static final String ESPACO = " ";
@Autowired
private VoucherService voucherService;
@ -57,6 +60,7 @@ public class LegalizacaoMassivaController extends MyGenericForwardComposer {
private TransportadoraService transportadoraService;
private MyListbox voucherList;
private Button btnImprimir;
private Paging pagingLegalizar;
private Longbox txtNumInicial;
private Longbox txtNumFinal;
@ -123,6 +127,99 @@ public class LegalizacaoMassivaController extends MyGenericForwardComposer {
}
public void onClick$btnImprimir(Event ev) throws InterruptedException {
try {
if(voucherList.getData() == null || voucherList.getData().length <= 1) {
throw new BusinessException("legalizacaoMassivaController.MSG.noData");
}
imprimirLegalizacao();
} catch (BusinessException bex) {
Messagebox.show(
bex.getMessage(),
Labels.getLabel(TITULO),
Messagebox.OK, Messagebox.ERROR);
} catch (Exception ex) {
log.error(ex.getMessage());
Messagebox.show(
Labels.getLabel("MSG.Error"),
Labels.getLabel(TITULO),
Messagebox.OK, Messagebox.ERROR);
}
}
@SuppressWarnings("unchecked")
private void imprimirLegalizacao() throws Exception {
Map<String, Object> parametros = new HashMap<String, Object>();
StringBuilder filtro = new StringBuilder();
parametros.put("TITULO", Labels.getLabel(TITULO));
parametros.put("USUARIO", UsuarioLogado.getUsuarioLogado().getNombusuario());
filtro.append(Labels.getLabel("label.numInicial"));
filtro.append(ESPACO);
filtro.append(txtNumInicial.getValue());
filtro.append(ESPACO);
filtro.append(Labels.getLabel("label.numFinal"));
filtro.append(ESPACO);
filtro.append(txtNumFinal.getValue());
filtro.append(ESPACO);
Comboitem transp = cmbTransportadora.getSelectedItem();
if (transp != null){
filtro.append(Labels.getLabel("label.transportadora"));
filtro.append(ESPACO);
Transportadora tra = (Transportadora) transp.getValue();
filtro.append( tra.getNomeTransportadora());
filtro.append(ESPACO);
}
filtro.append(Labels.getLabel("label.numContrato"));
filtro.append(ESPACO);
parametros.put("numContrato", txtNumContrato.getValue());
filtro.append(ESPACO);
filtro.append(Labels.getLabel("label.valorLegalizado"));
filtro.append(ESPACO);
parametros.put("valorLegalizado", txtValorLegalizado.getValue());
filtro.append(ESPACO);
Comboitem ori = cmbOrigem.getSelectedItem();
if (ori != null){
filtro.append(Labels.getLabel("label.origem"));
filtro.append(ESPACO);
Parada orig = (Parada) ori.getValue();
parametros.put("origem", orig.getDescparada());
filtro.append(ESPACO);
}
Comboitem des = cmbDestino.getSelectedItem();
if (des != null){
filtro.append(Labels.getLabel("label.destino"));
filtro.append(ESPACO);
Parada dest = (Parada) des.getValue();
parametros.put("destino", dest.getDescparada());
filtro.append(ESPACO);
}
parametros.put("FILTROS", filtro.toString());
Map<String, Object> args = new HashMap<String, Object>();
RelatorioLegalizacaoMassiva relatorio = new RelatorioLegalizacaoMassiva(parametros, null);
relatorio.setLsDadosRelatorio(voucherList.getListData());
args.put("relatorio", relatorio);
openWindow("/component/reportView.zul", Labels.getLabel(TITULO), args, MODAL);
}
public void onBlur$txtNit(Event ev) throws InterruptedException {
if(txtNit.getValue() != null && !txtNit.getValue().isEmpty()) {
Transportadora transp = transportadoraService.buscarPorNit(txtNit.getValue());
@ -167,6 +264,7 @@ public class LegalizacaoMassivaController extends MyGenericForwardComposer {
preencheComplemento();
pagingLegalizar.setVisible(true);
voucherList.setVisible(true);
btnImprimir.setVisible(true);
}
private void validaCampos() throws BusinessException {

View File

@ -13,7 +13,6 @@ public class ItemMenuConfiguracionProductos extends DefaultItemMenuSistema{
@Override
public String getClaveMenu() {
return "COM.RJCONSULTORES.ADMINISTRACION.GUI.CONFIGURACIONECCOMERCIALES.MENU.CONFIGURACIONDEPRODUCTOS";
}
@Override

View File

@ -66,6 +66,8 @@ confComerciales.negCorporativos.Contrato=com.rjconsultores.ventaboletos.web.util
confComerciales.negCorporativos.MudancaMassiva=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuMudancaMassiva
confComerciales.negCorporativos.Transportadora=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuTransportadora
confComerciales.negCorporativos.Voucher=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuVoucher
confComerciales.negCorporativos.Legalizar=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuLegalizar
confComerciales.negCorporativos.faturar=com.rjconsultores.ventaboletos.web.utilerias.menu.item.negcorporativos.ItemMenuFaturarVoucher
confComerciales.impressaofiscal=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.SubMenuImpressaoFiscal
confComerciales.impressaofiscal.totnaofiscalEmpresa=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.ItemMenuTotnaofiscalEmpresa
confComerciales.impressaofiscal.formapagoEmpresa=com.rjconsultores.ventaboletos.web.utilerias.menu.item.impressaofiscal.ItemMenuFormapagoEmpresa

View File

@ -12,7 +12,10 @@ public class RenderTarifaGrupoContrato implements ListitemRenderer {
public void render(Listitem lstm, Object o) throws Exception {
TarifaGrupoContrato tarifa = (TarifaGrupoContrato) o;
Listcell lc = new Listcell(tarifa.getClaseServicio().getDescclase());
Listcell lc = new Listcell(tarifa.getTarifaGrupoContratoId().toString());
lc.setParent(lstm);
lc = new Listcell(tarifa.getClaseServicio().getDescclase());
lc.setParent(lstm);
lc = new Listcell(tarifa.getTarifa().toString());

View File

@ -8221,6 +8221,7 @@ label.bairro = Neighborhood
label.bilheteAberto = Open Tickets
label.bilhetesConfirmados = Confirmed Tickets
label.btnFaturar = Invoice
label.btnImprimir = Print
label.btnLegalizar = Legalize
label.btnPesquisar = Search
label.cep = CEP

View File

@ -8229,6 +8229,7 @@ label.bairro = Vecindario
label.bilheteAberto = Tiquetes Abierto
label.bilhetesConfirmados = Tiquetes Confirmados
label.btnFaturar = Factura
label.btnImprimir = Imprimir
label.btnLegalizar = Legalizar
label.btnPesquisar = Pesquisar
label.cep = Código postal

View File

@ -8220,6 +8220,7 @@ label.bairro = Quartier
label.bilheteAberto = Billets ouverts
label.bilhetesConfirmados = Billets confirmés
label.btnFaturar = Facture
label.btnImprimir = Imprimer
label.btnLegalizar = Légaliser
label.btnPesquisar = Recherche
label.cep = Code postal

View File

@ -8204,6 +8204,7 @@ label.bairro = Bairro
label.bilheteAberto = Bilhetes Abertos
label.bilhetesConfirmados = Bilhetes Confirmados
label.btnFaturar = Faturar
label.btnImprimir = Imprimir
label.btnLegalizar = Legalizar
label.btnPesquisar = Pesquisar
label.cep = CEP

View File

@ -99,11 +99,14 @@
</row>
</rows>
</grid>
<paging id="pagingTarifasGrupo" pageSize="20" />
<paging id="pagingTarifasGrupo" pageSize="20" > <label value="${c:l('label.tarifa')}" /></paging>
<listbox id="tarifaGrupoList"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
multiple="false">
<listhead sizable="true">
<listheader id="lbId" image="/gui/img/create_doc.gif"
label="${c:l('label.id')}"
sort="auto(grupoContratoId)" />
<listheader id="lbClasse" image="/gui/img/create_doc.gif"
label="${c:l('label.classe')}"
sort="auto(claseservicioId)" />

View File

@ -66,13 +66,21 @@
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada" />
</row>
<row spans="4" align="center">
<button id="btnLegalizar" height="20"
image="/gui/img/ok.png" width="120px"
label="${c:l('label.btnLegalizar')}" />
</row>
<div>
<button id="btnLegalizar" height="20"
image="/gui/img/ok.png" width="120px"
label="${c:l('label.btnLegalizar')}" />
<button id="btnImprimir" height="20" visible="false"
image="/gui/img/pdf.png" width="120px"
label="${c:l('label.btnImprimir')}" />
</div>
</row>
</rows>
</grid>
<paging id="pagingLegalizar" pageSize="20" visible="false"/>
<listbox id="voucherList" visible="false"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"