fixes bug#14260

qua:juliane
dev:lucas

Implementado no relatório o campo "Vende", em anexo o relatório gerado.

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@93948 d1611594-4594-4d17-8e1d-87c2c4800839
master
walace 2019-05-29 20:49:52 +00:00
parent 410bdc8b35
commit 8e82d910cf
3 changed files with 9 additions and 0 deletions

View File

@ -192,6 +192,7 @@ public class ModificacionMasivaTarifasController extends MyGenericForwardCompose
private final int IDX_CELL_VIGENCIA = 21;
private final int IDX_CELL_MOEDA = 22;
private final int IDX_CELL_SENTIDO = 23;
private final int IDX_CELL_VENDE = 24;
private static Logger log = Logger.getLogger(ModificacionMasivaTarifasController.class);
@ -848,6 +849,10 @@ public class ModificacionMasivaTarifasController extends MyGenericForwardCompose
Cell cellSentido = rowCabecalho.createCell(IDX_CELL_SENTIDO);
cellSentido.setCellValue(Labels.getLabel("busquedaTarifaController.lhSentido.label"));
cellSentido.setCellStyle(estilo);
Cell cellVende = rowCabecalho.createCell(IDX_CELL_VENDE);
cellVende.setCellValue(Labels.getLabel("busquedaTarifaController.lhVende.label"));
cellVende.setCellStyle(estilo);
}
private boolean popularPlanilha(SXSSFSheet sheet1,Object[] obj, CellStyle estilo, BigDecimal coeficiente, int rowNum){
@ -903,6 +908,8 @@ public class ModificacionMasivaTarifasController extends MyGenericForwardCompose
String sentido = obj[23].toString();
row.createCell(IDX_CELL_SENTIDO).setCellValue(sentido.equals("1") ? "IDA" : "VOLTA");
row.createCell(IDX_CELL_VENDE).setCellValue(obj[24] == null ? "" : (Integer.parseInt(obj[24].toString()) == 1 ?"SIM" : "NAO"));
// novo preco:
BigDecimal novoPrecio = null;

View File

@ -2813,6 +2813,7 @@ busquedaTarifaController.MSG.categoria = No se encontró ningún registro con es
busquedaTarifaController.MSG.tipoPuntoVenta = No se encontró ningún registro con este canal de venta
busquedaTarifaController.MSG.dadosVazios= Não foram encontrados dados para gerar o arquivo Excel
busquedaTarifaController.lhTodos.label = Todos
busquedaTarifaController.lhVende.label = Vende
# Editar Tarifa:
editarTarifaController.window.title = Tarifa

View File

@ -3005,6 +3005,7 @@ busquedaTarifaController.MSG.tipoPuntoVenta = Não foi encontrado nenhum registr
busquedaTarifaController.MSG.dadosVazios= Não foram encontrados dados para gerar o arquivo Excel
busquedaTarifaController.lhTodos.label = Todos
busquedaTarifaController.lhSentido.label = Sentido
busquedaTarifaController.lhVende.label = Vende
busquedaTarifaController.lhPrefixo.label = Prefixo
busquedaTarifaController.lhDescLinha.label = Desc. Linha