fixes bug#7578
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@57709 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
a607375e31
commit
5d2fb93f21
|
@ -163,9 +163,6 @@ public class ModificacionMasivaTarifasController extends MyGenericForwardCompose
|
||||||
private Tab tabCategoria;
|
private Tab tabCategoria;
|
||||||
|
|
||||||
private final int ROW_CABECALHO = 0;
|
private final int ROW_CABECALHO = 0;
|
||||||
private final int ROW_PEDAGIO = 16;
|
|
||||||
private final int ROW_TXEMBARQUE = 18;
|
|
||||||
private final int ROW_SEGURO = 19;
|
|
||||||
|
|
||||||
//INDICES PLANILHA
|
//INDICES PLANILHA
|
||||||
private final int IDX_CELL_ID = 0;
|
private final int IDX_CELL_ID = 0;
|
||||||
|
@ -905,7 +902,7 @@ public class ModificacionMasivaTarifasController extends MyGenericForwardCompose
|
||||||
if (cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.PEDAGIO.getDescricao())||
|
if (cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.PEDAGIO.getDescricao())||
|
||||||
cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.TODOS.getDescricao())){
|
cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.TODOS.getDescricao())){
|
||||||
|
|
||||||
if (!validarComponente(obj, ROW_PEDAGIO)){
|
if (!validarComponente(obj, IDX_CELL_PEDAGIOATUAL)){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -920,7 +917,7 @@ public class ModificacionMasivaTarifasController extends MyGenericForwardCompose
|
||||||
if (cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.TX_EMBARQUE.getDescricao())||
|
if (cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.TX_EMBARQUE.getDescricao())||
|
||||||
cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.TODOS.getDescricao())){
|
cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.TODOS.getDescricao())){
|
||||||
|
|
||||||
if (!validarComponente(obj, ROW_TXEMBARQUE)){
|
if (!validarComponente(obj, IDX_CELL_TXEMBARQUEATUAL)){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -935,7 +932,7 @@ public class ModificacionMasivaTarifasController extends MyGenericForwardCompose
|
||||||
if (cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.SEGURO.getDescricao())||
|
if (cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.SEGURO.getDescricao())||
|
||||||
cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.TODOS.getDescricao())){
|
cmbComponentePreco.getSelectedItem().getValue().equals(EnumTarifaPedagio.TODOS.getDescricao())){
|
||||||
|
|
||||||
if (!validarComponente(obj, ROW_SEGURO)){
|
if (!validarComponente(obj, IDX_CELL_SEGUROATUAL)){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
* To change this template, choose Tools | Templates
|
* To change this template, choose Tools | Templates
|
||||||
* and open the template in the editor.
|
* and open the template in the editor.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue