fixed bug #8009
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@60583 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
20d283efaa
commit
7b00929102
|
@ -55,18 +55,18 @@ public class EditarCasetaPeajeController extends MyGenericForwardComposer {
|
|||
private List<CasetaPeajeExcepcion> lsCasetaPeajeExcepcion = new ArrayList<CasetaPeajeExcepcion>();;
|
||||
private List<CasetaPeajeExcepcion> casetaPeajeExcepcionToDelete = new ArrayList<CasetaPeajeExcepcion>();
|
||||
|
||||
private Datebox fecInicio;
|
||||
private Datebox fecFin;
|
||||
private Checkbox chkINDLUNES;
|
||||
private Checkbox chkINDMARTES;
|
||||
private Checkbox chkINDMIERCOLES;
|
||||
private Checkbox chkINDJUEVES;
|
||||
private Checkbox chkINDVIERNES;
|
||||
private Checkbox chkINDSABADO;
|
||||
private Checkbox chkINDDOMINGO;
|
||||
private Timebox horaIni;
|
||||
private Timebox horaFin;
|
||||
private MyTextboxDecimal txtPreco;
|
||||
// private Datebox fecInicio;
|
||||
// private Datebox fecFin;
|
||||
// private Checkbox chkINDLUNES;
|
||||
// private Checkbox chkINDMARTES;
|
||||
// private Checkbox chkINDMIERCOLES;
|
||||
// private Checkbox chkINDJUEVES;
|
||||
// private Checkbox chkINDVIERNES;
|
||||
// private Checkbox chkINDSABADO;
|
||||
// private Checkbox chkINDDOMINGO;
|
||||
// private Timebox horaIni;
|
||||
// private Timebox horaFin;
|
||||
// private MyTextboxDecimal txtPreco;
|
||||
|
||||
private CasetaPeajeExcepcion casetaPeajeExcepcion;
|
||||
|
||||
|
@ -78,9 +78,9 @@ public class EditarCasetaPeajeController extends MyGenericForwardComposer {
|
|||
lsCasetaPeajeExcepcion = casetaPeaje.getLsCasetaPeajeExcepcion();
|
||||
|
||||
super.doAfterCompose(comp);
|
||||
|
||||
casetaPeajeExcepcionList.setItemRenderer(new RenderCasetaPeajeExcepcion());
|
||||
casetaPeajeExcepcionList.setData(lsCasetaPeajeExcepcion);
|
||||
//
|
||||
// casetaPeajeExcepcionList.setItemRenderer(new RenderCasetaPeajeExcepcion());
|
||||
// casetaPeajeExcepcionList.setData(lsCasetaPeajeExcepcion);
|
||||
|
||||
if(casetaPeaje.getCasetaPeajeId() == null) {
|
||||
btnApagar.setVisible(Boolean.FALSE);
|
||||
|
@ -117,9 +117,9 @@ public class EditarCasetaPeajeController extends MyGenericForwardComposer {
|
|||
casetaPeajeList.updateItem(casetaPeaje);
|
||||
}
|
||||
|
||||
if (!casetaPeajeExcepcionToDelete.isEmpty()) {
|
||||
casetaPeajeService.deletarVigencias(casetaPeajeExcepcionToDelete);
|
||||
}
|
||||
// if (!casetaPeajeExcepcionToDelete.isEmpty()) {
|
||||
// casetaPeajeService.deletarVigencias(casetaPeajeExcepcionToDelete);
|
||||
// }
|
||||
|
||||
Messagebox.show(
|
||||
Labels.getLabel("editarPracaPedagioController.MSG.suscribirOK"),
|
||||
|
@ -164,113 +164,113 @@ public class EditarCasetaPeajeController extends MyGenericForwardComposer {
|
|||
|
||||
}
|
||||
|
||||
public void onClick$btnAdicionarCasetaPeajeExcepcion(Event ev) throws InterruptedException{
|
||||
txtPreco.getValue();
|
||||
casetaPeajeExcepcion = new CasetaPeajeExcepcion();
|
||||
casetaPeajeExcepcion.setFecVentaIni(fecInicio.getValue());
|
||||
casetaPeajeExcepcion.setFecVentaFin(fecFin.getValue());
|
||||
casetaPeajeExcepcion.setINDDOMINGO(chkINDDOMINGO.isChecked());
|
||||
casetaPeajeExcepcion.setINDLUNES(chkINDLUNES.isChecked());
|
||||
casetaPeajeExcepcion.setINDMARTES(chkINDMARTES.isChecked());
|
||||
casetaPeajeExcepcion.setINDMIERCOLES(chkINDMIERCOLES.isChecked());
|
||||
casetaPeajeExcepcion.setINDVIERNES(chkINDVIERNES.isChecked());
|
||||
casetaPeajeExcepcion.setINDJUEVES(chkINDJUEVES.isChecked());
|
||||
casetaPeajeExcepcion.setINDSABADO(chkINDSABADO.isChecked());
|
||||
if(horaIni.getValue() == null){
|
||||
Calendar horaI=Calendar.getInstance();
|
||||
horaI.set(Calendar.getInstance().get(Calendar.YEAR), Calendar.getInstance().get(Calendar.MONTH), Calendar.getInstance().get(Calendar.DATE), 0, 0, 0);
|
||||
horaIni.setValue(horaI.getTime());
|
||||
casetaPeajeExcepcion.setHoraIni(horaIni.getValue());
|
||||
}else{
|
||||
casetaPeajeExcepcion.setHoraIni(horaIni.getValue());
|
||||
}
|
||||
if(horaFin.getValue() == null){
|
||||
Calendar horaF=Calendar.getInstance();
|
||||
horaF.set(Calendar.getInstance().get(Calendar.YEAR), Calendar.getInstance().get(Calendar.MONTH), Calendar.getInstance().get(Calendar.DATE), 23, 59, 59);
|
||||
horaFin.setValue(horaF.getTime());
|
||||
casetaPeajeExcepcion.setHoraFin(horaFin.getValue());
|
||||
}else{
|
||||
casetaPeajeExcepcion.setHoraFin(horaFin.getValue());
|
||||
}
|
||||
// public void onClick$btnAdicionarCasetaPeajeExcepcion(Event ev) throws InterruptedException{
|
||||
// txtPreco.getValue();
|
||||
// casetaPeajeExcepcion = new CasetaPeajeExcepcion();
|
||||
// casetaPeajeExcepcion.setFecVentaIni(fecInicio.getValue());
|
||||
// casetaPeajeExcepcion.setFecVentaFin(fecFin.getValue());
|
||||
// casetaPeajeExcepcion.setINDDOMINGO(chkINDDOMINGO.isChecked());
|
||||
// casetaPeajeExcepcion.setINDLUNES(chkINDLUNES.isChecked());
|
||||
// casetaPeajeExcepcion.setINDMARTES(chkINDMARTES.isChecked());
|
||||
// casetaPeajeExcepcion.setINDMIERCOLES(chkINDMIERCOLES.isChecked());
|
||||
// casetaPeajeExcepcion.setINDVIERNES(chkINDVIERNES.isChecked());
|
||||
// casetaPeajeExcepcion.setINDJUEVES(chkINDJUEVES.isChecked());
|
||||
// casetaPeajeExcepcion.setINDSABADO(chkINDSABADO.isChecked());
|
||||
// if(horaIni.getValue() == null){
|
||||
// Calendar horaI=Calendar.getInstance();
|
||||
// horaI.set(Calendar.getInstance().get(Calendar.YEAR), Calendar.getInstance().get(Calendar.MONTH), Calendar.getInstance().get(Calendar.DATE), 0, 0, 0);
|
||||
// horaIni.setValue(horaI.getTime());
|
||||
// casetaPeajeExcepcion.setHoraIni(horaIni.getValue());
|
||||
// }else{
|
||||
// casetaPeajeExcepcion.setHoraIni(horaIni.getValue());
|
||||
// }
|
||||
// if(horaFin.getValue() == null){
|
||||
// Calendar horaF=Calendar.getInstance();
|
||||
// horaF.set(Calendar.getInstance().get(Calendar.YEAR), Calendar.getInstance().get(Calendar.MONTH), Calendar.getInstance().get(Calendar.DATE), 23, 59, 59);
|
||||
// horaFin.setValue(horaF.getTime());
|
||||
// casetaPeajeExcepcion.setHoraFin(horaFin.getValue());
|
||||
// }else{
|
||||
// casetaPeajeExcepcion.setHoraFin(horaFin.getValue());
|
||||
// }
|
||||
//
|
||||
// if(!isDataValida(casetaPeajeExcepcion)){
|
||||
// try {
|
||||
// Messagebox.show(
|
||||
// Labels.getLabel("editarExcepcionPeajeController.MSG.datasInconsistentes.value"),
|
||||
// Labels.getLabel("editarExcepcionPeajeController.window.title"),
|
||||
// Messagebox.OK, Messagebox.EXCLAMATION);
|
||||
// } catch (InterruptedException e) {
|
||||
// e.printStackTrace();
|
||||
// }
|
||||
// return;
|
||||
// }
|
||||
//
|
||||
// if(!validaHoraFinal(casetaPeajeExcepcion)){
|
||||
// try {
|
||||
// Messagebox.show(
|
||||
// Labels.getLabel("editarExcepcionPeajeController.MSG.horaInvalida.value"),
|
||||
// Labels.getLabel("editarExcepcionPeajeController.window.title"),
|
||||
// Messagebox.OK, Messagebox.EXCLAMATION);
|
||||
// } catch (InterruptedException e) {
|
||||
// e.printStackTrace();
|
||||
// }
|
||||
// return;
|
||||
// }
|
||||
// if(!validaHoras(casetaPeajeExcepcion)){
|
||||
// try {
|
||||
// Messagebox.show(
|
||||
// Labels.getLabel("editarExcepcionPeajeController.MSG.horasInconsistentes.value"),
|
||||
// Labels.getLabel("editarExcepcionPeajeController.window.title"),
|
||||
// Messagebox.OK, Messagebox.EXCLAMATION);
|
||||
// } catch (InterruptedException e) {
|
||||
// e.printStackTrace();
|
||||
// }
|
||||
// return;
|
||||
// }
|
||||
//
|
||||
// casetaPeajeExcepcion.setPrecio(txtPreco.getValueDecimal());
|
||||
//
|
||||
// if(lsCasetaPeajeExcepcion == null){
|
||||
// lsCasetaPeajeExcepcion = new ArrayList<CasetaPeajeExcepcion>();
|
||||
// }
|
||||
// casetaPeajeExcepcion.setActivo(Boolean.TRUE);
|
||||
// casetaPeajeExcepcion.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||
// casetaPeajeExcepcion.setFecmodif(Calendar.getInstance().getTime());
|
||||
//
|
||||
// if(!isCasetaPeajeExcepcionValida(casetaPeajeExcepcion)){
|
||||
// try {
|
||||
// Messagebox.show(
|
||||
// Labels.getLabel("editarExcepcionPeajeController.MSG.conflitoVigencia.value"),
|
||||
// Labels.getLabel("editarExcepcionPeajeController.window.title"),
|
||||
// Messagebox.OK, Messagebox.EXCLAMATION);
|
||||
// } catch (InterruptedException e) {
|
||||
// e.printStackTrace();
|
||||
// }
|
||||
// return;
|
||||
// }
|
||||
//
|
||||
// lsCasetaPeajeExcepcion.add(casetaPeajeExcepcion);
|
||||
// if(null != lsCasetaPeajeExcepcion){
|
||||
// Collections.sort(lsCasetaPeajeExcepcion);
|
||||
// }
|
||||
// casetaPeajeExcepcion.setCasetaPeaje(casetaPeaje);
|
||||
// casetaPeajeExcepcionList.setData(lsCasetaPeajeExcepcion);
|
||||
// //casetaPeajeExcepcionService.suscribir(casetaPeajeExcepcion);
|
||||
// limparInput();
|
||||
// }
|
||||
|
||||
if(!isDataValida(casetaPeajeExcepcion)){
|
||||
try {
|
||||
Messagebox.show(
|
||||
Labels.getLabel("editarExcepcionPeajeController.MSG.datasInconsistentes.value"),
|
||||
Labels.getLabel("editarExcepcionPeajeController.window.title"),
|
||||
Messagebox.OK, Messagebox.EXCLAMATION);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if(!validaHoraFinal(casetaPeajeExcepcion)){
|
||||
try {
|
||||
Messagebox.show(
|
||||
Labels.getLabel("editarExcepcionPeajeController.MSG.horaInvalida.value"),
|
||||
Labels.getLabel("editarExcepcionPeajeController.window.title"),
|
||||
Messagebox.OK, Messagebox.EXCLAMATION);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return;
|
||||
}
|
||||
if(!validaHoras(casetaPeajeExcepcion)){
|
||||
try {
|
||||
Messagebox.show(
|
||||
Labels.getLabel("editarExcepcionPeajeController.MSG.horasInconsistentes.value"),
|
||||
Labels.getLabel("editarExcepcionPeajeController.window.title"),
|
||||
Messagebox.OK, Messagebox.EXCLAMATION);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
casetaPeajeExcepcion.setPrecio(txtPreco.getValueDecimal());
|
||||
|
||||
if(lsCasetaPeajeExcepcion == null){
|
||||
lsCasetaPeajeExcepcion = new ArrayList<CasetaPeajeExcepcion>();
|
||||
}
|
||||
casetaPeajeExcepcion.setActivo(Boolean.TRUE);
|
||||
casetaPeajeExcepcion.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||
casetaPeajeExcepcion.setFecmodif(Calendar.getInstance().getTime());
|
||||
|
||||
if(!isCasetaPeajeExcepcionValida(casetaPeajeExcepcion)){
|
||||
try {
|
||||
Messagebox.show(
|
||||
Labels.getLabel("editarExcepcionPeajeController.MSG.conflitoVigencia.value"),
|
||||
Labels.getLabel("editarExcepcionPeajeController.window.title"),
|
||||
Messagebox.OK, Messagebox.EXCLAMATION);
|
||||
} catch (InterruptedException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
lsCasetaPeajeExcepcion.add(casetaPeajeExcepcion);
|
||||
if(null != lsCasetaPeajeExcepcion){
|
||||
Collections.sort(lsCasetaPeajeExcepcion);
|
||||
}
|
||||
casetaPeajeExcepcion.setCasetaPeaje(casetaPeaje);
|
||||
casetaPeajeExcepcionList.setData(lsCasetaPeajeExcepcion);
|
||||
//casetaPeajeExcepcionService.suscribir(casetaPeajeExcepcion);
|
||||
limparInput();
|
||||
}
|
||||
|
||||
public void onClick$btnRemoverCasetaPeajeExcepcion(Event ev) throws InterruptedException {
|
||||
CasetaPeajeExcepcion cpe = (CasetaPeajeExcepcion) casetaPeajeExcepcionList.getSelected();
|
||||
if(cpe != null){
|
||||
cpe.setActivo(Boolean.FALSE);
|
||||
cpe.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||
cpe.setFecmodif(Calendar.getInstance().getTime());
|
||||
lsCasetaPeajeExcepcion.remove(cpe);
|
||||
Collections.sort(lsCasetaPeajeExcepcion);
|
||||
casetaPeajeExcepcionList.setData(lsCasetaPeajeExcepcion);
|
||||
casetaPeajeExcepcionService.borrar(cpe);
|
||||
}
|
||||
}
|
||||
// public void onClick$btnRemoverCasetaPeajeExcepcion(Event ev) throws InterruptedException {
|
||||
// CasetaPeajeExcepcion cpe = (CasetaPeajeExcepcion) casetaPeajeExcepcionList.getSelected();
|
||||
// if(cpe != null){
|
||||
// cpe.setActivo(Boolean.FALSE);
|
||||
// cpe.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||
// cpe.setFecmodif(Calendar.getInstance().getTime());
|
||||
// lsCasetaPeajeExcepcion.remove(cpe);
|
||||
// Collections.sort(lsCasetaPeajeExcepcion);
|
||||
// casetaPeajeExcepcionList.setData(lsCasetaPeajeExcepcion);
|
||||
// casetaPeajeExcepcionService.borrar(cpe);
|
||||
// }
|
||||
// }
|
||||
|
||||
private boolean isDataValida(CasetaPeajeExcepcion cpe){
|
||||
if( cpe.getFecVentaIni().after(cpe.getFecVentaFin())){
|
||||
|
@ -357,28 +357,28 @@ public class EditarCasetaPeajeController extends MyGenericForwardComposer {
|
|||
testDate.getTime() <= endDate.getTime();
|
||||
}
|
||||
|
||||
private void limparInput() {
|
||||
fecInicio.setConstraint("");
|
||||
fecInicio.setValue(null);
|
||||
fecInicio.setConstraint("no empty");
|
||||
|
||||
fecFin.setConstraint("");
|
||||
fecFin.setValue(null);
|
||||
fecFin.setConstraint("no empty");
|
||||
|
||||
chkINDDOMINGO.setChecked(false);
|
||||
chkINDLUNES.setChecked(false);
|
||||
chkINDMARTES.setChecked(false);
|
||||
chkINDMIERCOLES.setChecked(false);
|
||||
chkINDVIERNES.setChecked(false);
|
||||
chkINDJUEVES.setChecked(false);
|
||||
chkINDSABADO.setChecked(false);
|
||||
horaIni.setText("");
|
||||
horaFin.setText("");
|
||||
txtPreco.setConstraint("");
|
||||
txtPreco.setValue("");
|
||||
txtPreco.setConstraint("no empty, no zero, no negative, /[0-9]+(\\,[0-9][0-9]?)?/");
|
||||
}
|
||||
// private void limparInput() {
|
||||
// fecInicio.setConstraint("");
|
||||
// fecInicio.setValue(null);
|
||||
// fecInicio.setConstraint("no empty");
|
||||
//
|
||||
// fecFin.setConstraint("");
|
||||
// fecFin.setValue(null);
|
||||
// fecFin.setConstraint("no empty");
|
||||
//
|
||||
// chkINDDOMINGO.setChecked(false);
|
||||
// chkINDLUNES.setChecked(false);
|
||||
// chkINDMARTES.setChecked(false);
|
||||
// chkINDMIERCOLES.setChecked(false);
|
||||
// chkINDVIERNES.setChecked(false);
|
||||
// chkINDJUEVES.setChecked(false);
|
||||
// chkINDSABADO.setChecked(false);
|
||||
// horaIni.setText("");
|
||||
// horaFin.setText("");
|
||||
// txtPreco.setConstraint("");
|
||||
// txtPreco.setValue("");
|
||||
// txtPreco.setConstraint("no empty, no zero, no negative, /[0-9]+(\\,[0-9][0-9]?)?/");
|
||||
// }
|
||||
|
||||
public MyTextbox getDescricaoPracaPedagio() {
|
||||
return descricaoPracaPedagio;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||
<window id="winEditarPracaPedagio" border="normal" apply="${editarCasetaPeajeController}" width="800px"
|
||||
height="600px" xmlns:h="http://www.w3.org/1999/xhtml"
|
||||
height="160px" xmlns:h="http://www.w3.org/1999/xhtml"
|
||||
contentStyle="overflow:auto" title="${c:l('editarPracaPedagioController.window.title')}">
|
||||
|
||||
<toolbar>
|
||||
|
@ -41,139 +41,139 @@
|
|||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<separator bar="true" />
|
||||
</toolbar>
|
||||
<grid fixedLayout="true">
|
||||
<auxhead>
|
||||
<auxheader colspan="3" label="${c:l('editarExcepcionPeajeController.window.title')}" />
|
||||
</auxhead>
|
||||
<columns>
|
||||
<column width="26%" />
|
||||
<column width="37%" />
|
||||
<column width="37%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarExcepcionPeajeController.lbVigenciaVenta.value')}" />
|
||||
<hbox>
|
||||
<h:table border="0">
|
||||
<h:tr>
|
||||
<h:td>
|
||||
<label
|
||||
value="${c:l('editarExcepcionPeajeController.lbDe.value')}" />
|
||||
<!-- <toolbar> -->
|
||||
<!-- <separator bar="true" /> -->
|
||||
<!-- </toolbar> -->
|
||||
<!-- <grid fixedLayout="true"> -->
|
||||
<!-- <auxhead> -->
|
||||
<!-- <auxheader colspan="3" label="${c:l('editarExcepcionPeajeController.window.title')}" /> -->
|
||||
<!-- </auxhead> -->
|
||||
<!-- <columns> -->
|
||||
<!-- <column width="26%" /> -->
|
||||
<!-- <column width="37%" /> -->
|
||||
<!-- <column width="37%" /> -->
|
||||
<!-- </columns> -->
|
||||
<!-- <rows> -->
|
||||
<!-- <row> -->
|
||||
<!-- <label -->
|
||||
<!-- value="${c:l('editarExcepcionPeajeController.lbVigenciaVenta.value')}" /> -->
|
||||
<!-- <hbox> -->
|
||||
<!-- <h:table border="0"> -->
|
||||
<!-- <h:tr> -->
|
||||
<!-- <h:td> -->
|
||||
<!-- <label -->
|
||||
<!-- value="${c:l('editarExcepcionPeajeController.lbDe.value')}" /> -->
|
||||
|
||||
<datebox id="fecInicio" width="70x" constraint="no empty"
|
||||
mold="rounded" lenient="false" />
|
||||
</h:td>
|
||||
</h:tr>
|
||||
</h:table>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<h:table border="0">
|
||||
<h:tr>
|
||||
<h:td>
|
||||
<label
|
||||
value="${c:l('editarExcepcionPeajeController.lbHasta.value')}" />
|
||||
<!-- <datebox id="fecInicio" width="70x" constraint="no empty" -->
|
||||
<!-- mold="rounded" lenient="false" /> -->
|
||||
<!-- </h:td> -->
|
||||
<!-- </h:tr> -->
|
||||
<!-- </h:table> -->
|
||||
<!-- </hbox> -->
|
||||
<!-- <hbox> -->
|
||||
<!-- <h:table border="0"> -->
|
||||
<!-- <h:tr> -->
|
||||
<!-- <h:td> -->
|
||||
<!-- <label -->
|
||||
<!-- value="${c:l('editarExcepcionPeajeController.lbHasta.value')}" /> -->
|
||||
|
||||
<datebox id="fecFin" width="70x" constraint="no empty"
|
||||
mold="rounded" lenient="false" />
|
||||
</h:td>
|
||||
</h:tr>
|
||||
</h:table>
|
||||
</hbox>
|
||||
</row>
|
||||
<row spans="1,2">
|
||||
<label
|
||||
value="${c:l('editarExcepcionPeajeController.lbDias.value')}" />
|
||||
<hbox>
|
||||
<checkbox id="chkINDLUNES"
|
||||
label="${c:l('editarExcepcionPeajeController.lbLun.value')}"
|
||||
checked="@{winEditarCliente$composer.boolINDLUNES}" />
|
||||
<checkbox id="chkINDMARTES"
|
||||
label="${c:l('editarExcepcionPeajeController.lbMar.value')}"
|
||||
checked="@{winEditarCliente$composer.boolINDMARTES}" />
|
||||
<checkbox id="chkINDMIERCOLES"
|
||||
label="${c:l('editarExcepcionPeajeController.lbMie.value')}"
|
||||
checked="@{winEditarCliente$composer.boolINDMIERCOLES}" />
|
||||
<checkbox id="chkINDJUEVES"
|
||||
label="${c:l('editarExcepcionPeajeController.lbJue.value')}"
|
||||
checked="@{winEditarCliente$composer.boolINDJUEVES}" />
|
||||
<checkbox id="chkINDVIERNES"
|
||||
label="${c:l('editarExcepcionPeajeController.lbVie.value')}"
|
||||
checked="@{winEditarCliente$composer.boolINDVIERNES}" />
|
||||
<checkbox id="chkINDSABADO"
|
||||
label="${c:l('editarExcepcionPeajeController.lbSab.value')}"
|
||||
checked="@{winEditarCliente$composer.boolINDSABADO}" />
|
||||
<checkbox id="chkINDDOMINGO"
|
||||
label="${c:l('editarExcepcionPeajeController.lbDom.value')}"
|
||||
checked="@{winEditarCliente$composer.boolINDDOMINGO}" />
|
||||
</hbox>
|
||||
</row><row>
|
||||
<label
|
||||
value="${c:l('editarExcepcionPeajeController.lbPeriodoVenta.value')}" />
|
||||
<hbox>
|
||||
<h:table border="0">
|
||||
<h:tr>
|
||||
<h:td>
|
||||
<label
|
||||
value="${c:l('editarExcepcionPeajeController.lbHorInical.value')}" />
|
||||
<!-- <datebox id="fecFin" width="70x" constraint="no empty" -->
|
||||
<!-- mold="rounded" lenient="false" /> -->
|
||||
<!-- </h:td> -->
|
||||
<!-- </h:tr> -->
|
||||
<!-- </h:table> -->
|
||||
<!-- </hbox> -->
|
||||
<!-- </row> -->
|
||||
<!-- <row spans="1,2"> -->
|
||||
<!-- <label -->
|
||||
<!-- value="${c:l('editarExcepcionPeajeController.lbDias.value')}" /> -->
|
||||
<!-- <hbox> -->
|
||||
<!-- <checkbox id="chkINDLUNES" -->
|
||||
<!-- label="${c:l('editarExcepcionPeajeController.lbLun.value')}" -->
|
||||
<!-- checked="@{winEditarCliente$composer.boolINDLUNES}" /> -->
|
||||
<!-- <checkbox id="chkINDMARTES" -->
|
||||
<!-- label="${c:l('editarExcepcionPeajeController.lbMar.value')}" -->
|
||||
<!-- checked="@{winEditarCliente$composer.boolINDMARTES}" /> -->
|
||||
<!-- <checkbox id="chkINDMIERCOLES" -->
|
||||
<!-- label="${c:l('editarExcepcionPeajeController.lbMie.value')}" -->
|
||||
<!-- checked="@{winEditarCliente$composer.boolINDMIERCOLES}" /> -->
|
||||
<!-- <checkbox id="chkINDJUEVES" -->
|
||||
<!-- label="${c:l('editarExcepcionPeajeController.lbJue.value')}" -->
|
||||
<!-- checked="@{winEditarCliente$composer.boolINDJUEVES}" /> -->
|
||||
<!-- <checkbox id="chkINDVIERNES" -->
|
||||
<!-- label="${c:l('editarExcepcionPeajeController.lbVie.value')}" -->
|
||||
<!-- checked="@{winEditarCliente$composer.boolINDVIERNES}" /> -->
|
||||
<!-- <checkbox id="chkINDSABADO" -->
|
||||
<!-- label="${c:l('editarExcepcionPeajeController.lbSab.value')}" -->
|
||||
<!-- checked="@{winEditarCliente$composer.boolINDSABADO}" /> -->
|
||||
<!-- <checkbox id="chkINDDOMINGO" -->
|
||||
<!-- label="${c:l('editarExcepcionPeajeController.lbDom.value')}" -->
|
||||
<!-- checked="@{winEditarCliente$composer.boolINDDOMINGO}" /> -->
|
||||
<!-- </hbox> -->
|
||||
<!-- </row><row> -->
|
||||
<!-- <label -->
|
||||
<!-- value="${c:l('editarExcepcionPeajeController.lbPeriodoVenta.value')}" /> -->
|
||||
<!-- <hbox> -->
|
||||
<!-- <h:table border="0"> -->
|
||||
<!-- <h:tr> -->
|
||||
<!-- <h:td> -->
|
||||
<!-- <label -->
|
||||
<!-- value="${c:l('editarExcepcionPeajeController.lbHorInical.value')}" /> -->
|
||||
|
||||
<timebox id="horaIni" mold="rounded" />
|
||||
</h:td>
|
||||
</h:tr>
|
||||
</h:table>
|
||||
</hbox>
|
||||
<hbox>
|
||||
<h:table border="0">
|
||||
<h:tr>
|
||||
<h:td>
|
||||
<label
|
||||
value="${c:l('editarExcepcionPeajeController.lbHorFinal.value')}" />
|
||||
<!-- <timebox id="horaIni" mold="rounded" /> -->
|
||||
<!-- </h:td> -->
|
||||
<!-- </h:tr> -->
|
||||
<!-- </h:table> -->
|
||||
<!-- </hbox> -->
|
||||
<!-- <hbox> -->
|
||||
<!-- <h:table border="0"> -->
|
||||
<!-- <h:tr> -->
|
||||
<!-- <h:td> -->
|
||||
<!-- <label -->
|
||||
<!-- value="${c:l('editarExcepcionPeajeController.lbHorFinal.value')}" /> -->
|
||||
|
||||
<timebox id="horaFin" mold="rounded" />
|
||||
</h:td>
|
||||
</h:tr>
|
||||
</h:table>
|
||||
</hbox>
|
||||
</row>
|
||||
<row spans="1,2">
|
||||
<!-- <timebox id="horaFin" mold="rounded" /> -->
|
||||
<!-- </h:td> -->
|
||||
<!-- </h:tr> -->
|
||||
<!-- </h:table> -->
|
||||
<!-- </hbox> -->
|
||||
<!-- </row> -->
|
||||
<!-- <row spans="1,2"> -->
|
||||
|
||||
<label value="${c:l('editarExcepcionPeajeController.lbPrecio.value')}"/>
|
||||
<textbox id="txtPreco" mold="rounded" constraint="no empty, no zero, no negative, /[0-9]+(\,[0-9][0-9]?)?/ "
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" precision="6" scale="2"/>
|
||||
<!-- <label value="${c:l('editarExcepcionPeajeController.lbPrecio.value')}"/> -->
|
||||
<!-- <textbox id="txtPreco" mold="rounded" constraint="no empty, no zero, no negative, /[0-9]+(\,[0-9][0-9]?)?/ " -->
|
||||
<!-- use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" precision="6" scale="2"/> -->
|
||||
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<button id="btnAdicionarCasetaPeajeExcepcion" height="20"
|
||||
image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('editarExcepcionPeajeController.btnAddConvenioDet.tooltiptext')}" />
|
||||
<button id="btnRemoverCasetaPeajeExcepcion" height="20"
|
||||
image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarExcepcionPeajeController.btnBorrarConvenioDet.tooltiptext')}" />
|
||||
</toolbar>
|
||||
<listbox id="casetaPeajeExcepcionList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader width="50px"
|
||||
image="/gui/img/builder.gif" label="${c:l('editarExcepcionPeajeController.msg.RenderId')}" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarExcepcionPeajeController.msg.RenderInicioVigencia')}" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarExcepcionPeajeController.msg.RenderFinVigencia')}" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarExcepcionPeajeController.msg.RenderHoraInicio')}" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarExcepcionPeajeController.msg.RenderHoraFin')}" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarExcepcionPeajeController.msg.RenderDias')}" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarExcepcionPeajeController.msg.RenderPrecio')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
<!-- </row> -->
|
||||
<!-- </rows> -->
|
||||
<!-- </grid> -->
|
||||
<!-- <toolbar> -->
|
||||
<!-- <button id="btnAdicionarCasetaPeajeExcepcion" height="20" -->
|
||||
<!-- image="/gui/img/add.png" width="35px" -->
|
||||
<!-- tooltiptext="${c:l('editarExcepcionPeajeController.btnAddConvenioDet.tooltiptext')}" /> -->
|
||||
<!-- <button id="btnRemoverCasetaPeajeExcepcion" height="20" -->
|
||||
<!-- image="/gui/img/remove.png" width="35px" -->
|
||||
<!-- tooltiptext="${c:l('editarExcepcionPeajeController.btnBorrarConvenioDet.tooltiptext')}" /> -->
|
||||
<!-- </toolbar> -->
|
||||
<!-- <listbox id="casetaPeajeExcepcionList" -->
|
||||
<!-- use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" -->
|
||||
<!-- multiple="false"> -->
|
||||
<!-- <listhead sizable="true"> -->
|
||||
<!-- <listheader width="50px" -->
|
||||
<!-- image="/gui/img/builder.gif" label="${c:l('editarExcepcionPeajeController.msg.RenderId')}" /> -->
|
||||
<!-- <listheader image="/gui/img/builder.gif" -->
|
||||
<!-- label="${c:l('editarExcepcionPeajeController.msg.RenderInicioVigencia')}" /> -->
|
||||
<!-- <listheader image="/gui/img/builder.gif" -->
|
||||
<!-- label="${c:l('editarExcepcionPeajeController.msg.RenderFinVigencia')}" /> -->
|
||||
<!-- <listheader image="/gui/img/builder.gif" -->
|
||||
<!-- label="${c:l('editarExcepcionPeajeController.msg.RenderHoraInicio')}" /> -->
|
||||
<!-- <listheader image="/gui/img/builder.gif" -->
|
||||
<!-- label="${c:l('editarExcepcionPeajeController.msg.RenderHoraFin')}" /> -->
|
||||
<!-- <listheader image="/gui/img/builder.gif" -->
|
||||
<!-- label="${c:l('editarExcepcionPeajeController.msg.RenderDias')}" /> -->
|
||||
<!-- <listheader image="/gui/img/builder.gif" -->
|
||||
<!-- label="${c:l('editarExcepcionPeajeController.msg.RenderPrecio')}" /> -->
|
||||
<!-- </listhead> -->
|
||||
<!-- </listbox> -->
|
||||
</window>
|
||||
</zk>
|
Loading…
Reference in New Issue