fixes bug #7144
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@53141 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
dc12ff25ac
commit
3e44eab998
|
@ -120,15 +120,10 @@ public class ModificacionMasivaTarifasUploadController extends MyGenericForwardC
|
||||||
public void onClick$btnSalvar(Event ev) throws IOException, InterruptedException {
|
public void onClick$btnSalvar(Event ev) throws IOException, InterruptedException {
|
||||||
componentePreco = cmbComponentePreco.getValue();
|
componentePreco = cmbComponentePreco.getValue();
|
||||||
|
|
||||||
boolean salvarNuevos = false;
|
if (rdSalvarNuevos.isChecked()) {
|
||||||
if (rdSalvarNuevos.isChecked())
|
salvarNuevos(false);
|
||||||
salvarNuevos = true;
|
} else if (rdNoSalvarNuevos.isChecked()) {
|
||||||
|
salvarNuevos(true);
|
||||||
if (rdVigenciaAtual.isChecked()) {
|
|
||||||
salvarNuevos(salvarNuevos);
|
|
||||||
} else {
|
|
||||||
cmbVigenciaTarifa.getValue();
|
|
||||||
salvarNuevos(salvarNuevos);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -164,11 +159,11 @@ public class ModificacionMasivaTarifasUploadController extends MyGenericForwardC
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (row.getCell(0).getCellType() == Cell.CELL_TYPE_STRING && row.getCell(0).getStringCellValue().equalsIgnoreCase("id")){
|
if (row.getCell(0).getCellType() == Cell.CELL_TYPE_STRING && row.getCell(0).getStringCellValue().equalsIgnoreCase("id")) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (row.getCell(0).getCellType() == Cell.CELL_TYPE_BLANK){
|
if (row.getCell(0).getCellType() == Cell.CELL_TYPE_BLANK) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -383,11 +378,11 @@ public class ModificacionMasivaTarifasUploadController extends MyGenericForwardC
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (row.getCell(0).getCellType() == Cell.CELL_TYPE_STRING && row.getCell(0).getStringCellValue().equalsIgnoreCase("id")){
|
if (row.getCell(0).getCellType() == Cell.CELL_TYPE_STRING && row.getCell(0).getStringCellValue().equalsIgnoreCase("id")) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (row.getCell(0).getCellType() == Cell.CELL_TYPE_BLANK){
|
if (row.getCell(0).getCellType() == Cell.CELL_TYPE_BLANK) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||||
<window id="winModificacionMasivaTarifaUpload" border="normal"
|
<window id="winModificacionMasivaTarifaUpload" border="normal"
|
||||||
apply="${modificacionMasivaTarifasUploadController}"
|
apply="${modificacionMasivaTarifasUploadController}"
|
||||||
width="700px" height="220px" contentStyle="overflow:auto"
|
width="580px" height="275px" contentStyle="overflow:auto"
|
||||||
title="${c:l('editarTarifaController.window.title')}">
|
title="${c:l('editarTarifaController.window.title')}">
|
||||||
<toolbar>
|
<toolbar>
|
||||||
<hbox spacing="5px" style="padding:1px" align="right">
|
<hbox spacing="5px" style="padding:1px" align="right">
|
||||||
|
|
Loading…
Reference in New Issue