0004800: Quilometragem - Mudar para decimal
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@33326 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
a607a3eff5
commit
621ec19de3
|
@ -116,7 +116,7 @@ public class GridRutaTramoCoeficiente extends Grid implements RowRenderer, Rende
|
|||
|
||||
actualizaModel();
|
||||
}
|
||||
|
||||
|
||||
private Columns generarColumns() {
|
||||
Columns columns = new Columns();
|
||||
|
||||
|
@ -201,9 +201,12 @@ public class GridRutaTramoCoeficiente extends Grid implements RowRenderer, Rende
|
|||
|
||||
// Campos coeficientes tarifario
|
||||
final Combobox cboCoeficiente1 = new Combobox();
|
||||
final Intbox ibxKm1 = new Intbox();
|
||||
// final Intbox ibxKm1 = new Intbox();
|
||||
final MyCustomTextboxDecimal ibxKm1 = new MyCustomTextboxDecimal();
|
||||
|
||||
final Combobox cboCoeficiente2 = new Combobox();
|
||||
final Intbox ibxKm2 = new Intbox();
|
||||
// final Intbox ibxKm2 = new Intbox();
|
||||
final MyCustomTextboxDecimal ibxKm2 = new MyCustomTextboxDecimal();
|
||||
|
||||
// Cell Via
|
||||
final Combobox cboVia = new Combobox();
|
||||
|
@ -228,7 +231,7 @@ public class GridRutaTramoCoeficiente extends Grid implements RowRenderer, Rende
|
|||
llenarTramo(secuenciaRutaTramoCoeficienteVO);
|
||||
|
||||
boolean tramoEditable = (secuenciaRutaTramoCoeficienteVO.getTramoId() == null);
|
||||
boolean tramoCoeficienteEditable = (secuenciaRutaTramoCoeficienteVO.getOrgaoTramoId()== null);
|
||||
boolean tramoCoeficienteEditable = (secuenciaRutaTramoCoeficienteVO.getOrgaoTramoId() == null);
|
||||
boolean tramoServicioEditable = (secuenciaRutaTramoCoeficienteVO.getTramoServicioId() == null);
|
||||
|
||||
if (!tramoEditable) {// cuando el tramo no es editable, es porque ya existe. Entonces lleno la pantalla con los nuevos valores
|
||||
|
@ -245,17 +248,17 @@ public class GridRutaTramoCoeficiente extends Grid implements RowRenderer, Rende
|
|||
} else {
|
||||
secuenciaRutaTramoCoeficienteVO.setTiempoRecorrido(tiempoRecorridoAntigo);
|
||||
}
|
||||
|
||||
if (!tramoCoeficienteEditable){
|
||||
|
||||
if (!tramoCoeficienteEditable) {
|
||||
cboCoeficiente1.setText(secuenciaRutaTramoCoeficienteVO.getCoeficienteTarifa1().getDescCoeficiente());
|
||||
ibxKm1.setValue(secuenciaRutaTramoCoeficienteVO.getKmCoeficiente1());
|
||||
|
||||
ibxKm1.setValueBigDecimal(secuenciaRutaTramoCoeficienteVO.getKmCoeficiente1());
|
||||
|
||||
cboCoeficiente2.setSelectedIndex(-1);
|
||||
ibxKm2.setValue(0);
|
||||
|
||||
if (secuenciaRutaTramoCoeficienteVO.getCoeficienteTarifa2() != null){
|
||||
ibxKm2.setValueBigDecimal(BigDecimal.ZERO);
|
||||
|
||||
if (secuenciaRutaTramoCoeficienteVO.getCoeficienteTarifa2() != null) {
|
||||
cboCoeficiente2.setText(secuenciaRutaTramoCoeficienteVO.getCoeficienteTarifa2().getDescCoeficiente());
|
||||
ibxKm2.setValue(secuenciaRutaTramoCoeficienteVO.getKmCoeficiente2());
|
||||
ibxKm2.setValueBigDecimal(secuenciaRutaTramoCoeficienteVO.getKmCoeficiente2());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -279,7 +282,8 @@ public class GridRutaTramoCoeficiente extends Grid implements RowRenderer, Rende
|
|||
|
||||
// Cell Kms Real
|
||||
dKmsReal.setReadonly(!esTramoEditable);
|
||||
dataBinder.addBinding(dKmsReal, "value", row.getUuid() + ".kmReal", null, null, "save", "com.rjconsultores.ventaboletos.web.utilerias.StringDecimalToDecimalConverter", null, null, null);
|
||||
dataBinder.addBinding(dKmsReal, "value", row.getUuid() + ".kmReal", null, null, "save",
|
||||
"com.rjconsultores.ventaboletos.web.utilerias.StringDecimalToDecimalConverter", null, null, null);
|
||||
row.appendChild(dKmsReal);
|
||||
|
||||
// Cell Tiempo Recorrido
|
||||
|
@ -321,7 +325,7 @@ public class GridRutaTramoCoeficiente extends Grid implements RowRenderer, Rende
|
|||
|
||||
cboCoeficiente1.setId(cboCoeficiente1.getUuid());
|
||||
cboCoeficiente1.setWidth("99%");
|
||||
|
||||
|
||||
ListModelList lmlCoeficiente = getListCoeficienteCombobox();
|
||||
if (secuenciaRutaTramoCoeficienteVO.getCoeficienteTarifa1() != null) {
|
||||
lmlCoeficiente.addSelection(secuenciaRutaTramoCoeficienteVO.getCoeficienteTarifa1());
|
||||
|
@ -334,9 +338,9 @@ public class GridRutaTramoCoeficiente extends Grid implements RowRenderer, Rende
|
|||
|
||||
@Override
|
||||
public void onEvent(Event arg0) throws Exception {
|
||||
if (cboCoeficiente1.getSelectedItem() == null){
|
||||
secuenciaRutaTramoCoeficienteVO.setCoeficienteTarifa1(null);
|
||||
}else{
|
||||
if (cboCoeficiente1.getSelectedItem() == null) {
|
||||
secuenciaRutaTramoCoeficienteVO.setCoeficienteTarifa1(null);
|
||||
} else {
|
||||
secuenciaRutaTramoCoeficienteVO.setCoeficienteTarifa1((CoeficienteTarifa) cboCoeficiente1.getSelectedItem().getValue());
|
||||
}
|
||||
}
|
||||
|
@ -344,10 +348,13 @@ public class GridRutaTramoCoeficiente extends Grid implements RowRenderer, Rende
|
|||
});
|
||||
row.appendChild(cboCoeficiente1);
|
||||
// Km 1 do coeficiente 1
|
||||
ibxKm1.setValue((secuenciaRutaTramoCoeficienteVO.getKmCoeficiente1() != null) ? secuenciaRutaTramoCoeficienteVO.getKmCoeficiente1() : 0);
|
||||
ibxKm1.setValueBigDecimal((secuenciaRutaTramoCoeficienteVO.getKmCoeficiente1() != null) ?
|
||||
secuenciaRutaTramoCoeficienteVO.getKmCoeficiente1() : BigDecimal.ZERO);
|
||||
|
||||
ibxKm1.setWidth("80%");
|
||||
ibxKm1.setReadonly(!esTramoCoeficienteEditable);
|
||||
dataBinder.addBinding(ibxKm1, "value", row.getUuid() + ".kmCoeficiente1", null, null, "save", null, null, null, null);
|
||||
dataBinder.addBinding(ibxKm1, "value", row.getUuid() + ".kmCoeficiente1", null, null,
|
||||
"save", "com.rjconsultores.ventaboletos.web.utilerias.StringDecimalToDecimalConverter", null, null, null);
|
||||
row.appendChild(ibxKm1);
|
||||
// Coeficiente tarifário 2
|
||||
cboCoeficiente2.setId(cboCoeficiente2.getUuid());
|
||||
|
@ -363,27 +370,27 @@ public class GridRutaTramoCoeficiente extends Grid implements RowRenderer, Rende
|
|||
|
||||
@Override
|
||||
public void onEvent(Event arg0) throws Exception {
|
||||
if (cboCoeficiente2.getSelectedItem() == null){
|
||||
secuenciaRutaTramoCoeficienteVO.setCoeficienteTarifa2(null);
|
||||
}else{
|
||||
if (cboCoeficiente2.getSelectedItem() == null) {
|
||||
secuenciaRutaTramoCoeficienteVO.setCoeficienteTarifa2(null);
|
||||
} else {
|
||||
secuenciaRutaTramoCoeficienteVO.setCoeficienteTarifa2((CoeficienteTarifa) cboCoeficiente2.getSelectedItem().getValue());
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
row.appendChild(cboCoeficiente2);
|
||||
// Km 2 do coeficiente 2
|
||||
ibxKm2.setValue((secuenciaRutaTramoCoeficienteVO.getKmCoeficiente2() != null) ? secuenciaRutaTramoCoeficienteVO.getKmCoeficiente2() : 0);
|
||||
ibxKm2.setValueBigDecimal((secuenciaRutaTramoCoeficienteVO.getKmCoeficiente2() != null) ?
|
||||
secuenciaRutaTramoCoeficienteVO.getKmCoeficiente2() : BigDecimal.ZERO);
|
||||
ibxKm2.setWidth("80%");
|
||||
ibxKm2.setReadonly(!esTramoCoeficienteEditable);
|
||||
dataBinder.addBinding(ibxKm2, "value", row.getUuid() + ".kmCoeficiente2", null, null, "save", null, null, null, null);
|
||||
dataBinder.addBinding(ibxKm2, "value", row.getUuid() + ".kmCoeficiente2", null, null,
|
||||
"save", "com.rjconsultores.ventaboletos.web.utilerias.StringDecimalToDecimalConverter", null, null, null);
|
||||
row.appendChild(ibxKm2);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Actualiza el modelo de grid
|
||||
*/
|
||||
|
|
|
@ -38,7 +38,7 @@ class MyCustomTextboxDecimal extends Textbox {
|
|||
}
|
||||
|
||||
private void ejecutaJavaScript() {
|
||||
Clients.evalJavaScript("jQuery('#" + this.getUuid() + "').format({allow_negative:false,precision: 2,decimal:'.',autofix:true});");
|
||||
Clients.evalJavaScript("jQuery('#" + this.getUuid() + "').format({allow_negative:false,precision: 2,decimal:',',autofix:true});");
|
||||
}
|
||||
|
||||
private String getBigDecimal(BigDecimal val) {
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*/
|
||||
package com.rjconsultores.ventaboletos.web.gui.controladores.esquemaoperacional;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Calendar;
|
||||
import java.util.List;
|
||||
|
@ -37,7 +38,6 @@ import com.rjconsultores.ventaboletos.entidad.CoeficienteTarifa;
|
|||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.OrgaoConcedente;
|
||||
import com.rjconsultores.ventaboletos.entidad.OrgaoTramo;
|
||||
import com.rjconsultores.ventaboletos.entidad.Parada;
|
||||
import com.rjconsultores.ventaboletos.entidad.Tramo;
|
||||
import com.rjconsultores.ventaboletos.entidad.TramoKm;
|
||||
import com.rjconsultores.ventaboletos.entidad.TramoServicio;
|
||||
|
@ -59,6 +59,7 @@ import com.rjconsultores.ventaboletos.web.utilerias.ConstraintNumberBD;
|
|||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderOrgaoTramo;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderTramoKm;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderTramoServicio;
|
||||
|
@ -121,9 +122,9 @@ public class EditarTramosController extends MyGenericForwardComposer {
|
|||
private Textbox txKmReal;
|
||||
private Textbox txtNome;
|
||||
private Intbox itxCantkmpagoconductor;
|
||||
private Intbox txtKMCoeficiente1;
|
||||
private Intbox txtKMCoeficiente2;
|
||||
private Intbox txtKMCoeficiente3;
|
||||
private MyTextboxDecimal txtKMCoeficiente1;
|
||||
private MyTextboxDecimal txtKMCoeficiente2;
|
||||
private MyTextboxDecimal txtKMCoeficiente3;
|
||||
private Timebox horainicio;
|
||||
private Timebox horafin;
|
||||
private Checkbox lun;
|
||||
|
@ -223,25 +224,26 @@ public class EditarTramosController extends MyGenericForwardComposer {
|
|||
public void setLsOrgaoConcedentes(List<OrgaoConcedente> lsOrgaoConcedentes) {
|
||||
this.lsOrgaoConcedentes = lsOrgaoConcedentes;
|
||||
}
|
||||
private void generarDescripcionTramo(){
|
||||
|
||||
private void generarDescripcionTramo() {
|
||||
cmbParadaOrigem.getValue(true);
|
||||
cmbParadaDestino.getValue(true);
|
||||
cmbVia.getValue();
|
||||
|
||||
|
||||
Via via = (Via) cmbVia.getSelectedItem().getValue();
|
||||
|
||||
|
||||
txtNome.setText(tramoService.gerarDescripcionTramo(tramo.getOrigem(), tramo.getDestino(), via));
|
||||
}
|
||||
|
||||
public void onSelect$cmbParadaOrigem(){
|
||||
|
||||
public void onSelect$cmbParadaOrigem() {
|
||||
generarDescripcionTramo();
|
||||
}
|
||||
|
||||
public void onSelect$cmbParadaDestino(){
|
||||
|
||||
public void onSelect$cmbParadaDestino() {
|
||||
generarDescripcionTramo();
|
||||
}
|
||||
|
||||
public void onSelect$cmbVia(){
|
||||
|
||||
public void onSelect$cmbVia() {
|
||||
generarDescripcionTramo();
|
||||
}
|
||||
|
||||
|
@ -249,7 +251,7 @@ public class EditarTramosController extends MyGenericForwardComposer {
|
|||
public void doAfterCompose(Component comp) throws Exception {
|
||||
existeRutaOcupaTramo = false;
|
||||
lsVias = viaService.obtenerTodos();
|
||||
lsEmpresa = UsuarioLogado.getUsuarioLogado().getEmpresa();
|
||||
lsEmpresa = UsuarioLogado.getUsuarioLogado().getEmpresa();
|
||||
lsClaseServicio = claseServicioService.buscarTodosExceto(-1);
|
||||
lsCoeficienteTarifas = coeficienteTarifaService.obtenerTodos();
|
||||
lsOrgaoConcedentes = orgaoConcedenteService.obtenerTodos();
|
||||
|
@ -308,7 +310,7 @@ public class EditarTramosController extends MyGenericForwardComposer {
|
|||
}
|
||||
|
||||
private void aplicarMascaras() {
|
||||
Clients.evalJavaScript("jQuery('#" + txKmReal.getUuid() + "').format({allow_negative:false,precision: 2,decimal:'.',autofix:true});");
|
||||
Clients.evalJavaScript("jQuery('#" + txKmReal.getUuid() + "').format({allow_negative:false,precision: 2,decimal:',',autofix:true});");
|
||||
}
|
||||
|
||||
public void onClick$btnSalvarServicio(Event ev) throws InterruptedException {
|
||||
|
@ -394,7 +396,7 @@ public class EditarTramosController extends MyGenericForwardComposer {
|
|||
tramoTiempo.setIndaplicvie(vie.isChecked());
|
||||
tramoTiempo.setIndaplicsab(sab.isChecked());
|
||||
tramoTiempo.setIndaplicdom(dom.isChecked());
|
||||
tramoTiempo.setTiemporecorrido(DateUtil.getFecInicio(spHoraTiempo.getValue(),spMinutoTiempo.getValue()).getTime());
|
||||
tramoTiempo.setTiemporecorrido(DateUtil.getFecInicio(spHoraTiempo.getValue(), spMinutoTiempo.getValue()).getTime());
|
||||
|
||||
tramoTiempo.setUsuarioId(UsuarioLogado.getUsuarioLogado().getUsuarioId());
|
||||
tramoTiempo.setFecmodif(Calendar.getInstance().getTime());
|
||||
|
@ -549,15 +551,15 @@ public class EditarTramosController extends MyGenericForwardComposer {
|
|||
|
||||
try {
|
||||
tramo.setVia((Via) cmbVia.getSelectedItem().getValue());
|
||||
|
||||
|
||||
tramo.setLsOrgaoTramo(lsOrgamoTramo);
|
||||
tramo.setLsTramoTiempo(listaTramosTiempo);
|
||||
tramo.setTramoServicioList(listaTramoServicio);
|
||||
tramo.setTramoKms(listaTramosKm);
|
||||
|
||||
|
||||
tramo = tramoService.suscribirActualizar(tramo);
|
||||
tramosList.updateItem(tramo);
|
||||
|
||||
|
||||
Messagebox.show(Labels.getLabel("editarTramosController.MSG.suscribirOK"), Labels.getLabel("editarTramosController.window.title"), Messagebox.OK,
|
||||
Messagebox.INFORMATION);
|
||||
|
||||
|
@ -655,9 +657,9 @@ public class EditarTramosController extends MyGenericForwardComposer {
|
|||
orgaoConcedente = (OrgaoConcedente) cbiOrgaoConcedente.getValue();
|
||||
claseServicio = (ClaseServicio) cbiClaseServicio.getValue();
|
||||
|
||||
Integer kmCoeficiente1 = txtKMCoeficiente1.getValue();
|
||||
Integer kmCoeficiente2 = txtKMCoeficiente2.getValue();
|
||||
Integer kmCoeficiente3 = txtKMCoeficiente3.getValue();
|
||||
BigDecimal kmCoeficiente1 = txtKMCoeficiente1.getValueDecimal();
|
||||
BigDecimal kmCoeficiente2 = txtKMCoeficiente2.getValueDecimal();
|
||||
BigDecimal kmCoeficiente3 = txtKMCoeficiente3.getValueDecimal();
|
||||
|
||||
if ((coeficienteTarifa1 == null) && (kmCoeficiente1 == null)) {
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package com.rjconsultores.ventaboletos.web.utilerias.render;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.zkoss.zul.Listcell;
|
||||
import org.zkoss.zul.Listitem;
|
||||
import org.zkoss.zul.ListitemRenderer;
|
||||
|
@ -17,8 +19,8 @@ public class RenderOrgaoTramo implements ListitemRenderer {
|
|||
Listcell lc = new Listcell();
|
||||
|
||||
if (orgaoTramo.getActivo()) {
|
||||
Integer totalKm = 0;
|
||||
|
||||
BigDecimal totalKm = BigDecimal.ZERO;
|
||||
|
||||
CoeficienteTarifa coeficienteTarifa1 = orgaoTramo.getCoeficienteTarifa1();
|
||||
if (coeficienteTarifa1 != null) {
|
||||
lc = new Listcell(coeficienteTarifa1.toString());
|
||||
|
@ -27,9 +29,9 @@ public class RenderOrgaoTramo implements ListitemRenderer {
|
|||
}
|
||||
lc.setParent(lstm);
|
||||
|
||||
Integer kmCoeficienteTarifa1 = orgaoTramo.getKmCoeficiente1();
|
||||
BigDecimal kmCoeficienteTarifa1 = orgaoTramo.getKmCoeficiente1();
|
||||
if (kmCoeficienteTarifa1 != null) {
|
||||
totalKm += kmCoeficienteTarifa1;
|
||||
totalKm.add(kmCoeficienteTarifa1);
|
||||
lc = new Listcell(kmCoeficienteTarifa1.toString());
|
||||
} else {
|
||||
lc = new Listcell("");
|
||||
|
@ -44,9 +46,9 @@ public class RenderOrgaoTramo implements ListitemRenderer {
|
|||
}
|
||||
lc.setParent(lstm);
|
||||
|
||||
Integer kmCoeficienteTarifa2 = orgaoTramo.getKmCoeficiente2();
|
||||
BigDecimal kmCoeficienteTarifa2 = orgaoTramo.getKmCoeficiente2();
|
||||
if (kmCoeficienteTarifa2 != null) {
|
||||
totalKm += kmCoeficienteTarifa2;
|
||||
totalKm.add(kmCoeficienteTarifa2);
|
||||
lc = new Listcell(kmCoeficienteTarifa2.toString());
|
||||
} else {
|
||||
lc = new Listcell("");
|
||||
|
@ -61,9 +63,9 @@ public class RenderOrgaoTramo implements ListitemRenderer {
|
|||
}
|
||||
lc.setParent(lstm);
|
||||
|
||||
Integer kmCoeficienteTarifa3 = orgaoTramo.getKmCoeficiente3();
|
||||
BigDecimal kmCoeficienteTarifa3 = orgaoTramo.getKmCoeficiente3();
|
||||
if (kmCoeficienteTarifa3 != null) {
|
||||
totalKm += kmCoeficienteTarifa3;
|
||||
totalKm.add(kmCoeficienteTarifa3);
|
||||
lc = new Listcell(kmCoeficienteTarifa3.toString());
|
||||
} else {
|
||||
lc = new Listcell("");
|
||||
|
@ -77,7 +79,7 @@ public class RenderOrgaoTramo implements ListitemRenderer {
|
|||
lc = new Listcell("");
|
||||
}
|
||||
lc.setParent(lstm);
|
||||
|
||||
|
||||
ClaseServicio claseServicio = orgaoTramo.getClaseServicio();
|
||||
if (claseServicio != null) {
|
||||
lc = new Listcell(claseServicio.getDescclase());
|
||||
|
@ -85,10 +87,9 @@ public class RenderOrgaoTramo implements ListitemRenderer {
|
|||
lc = new Listcell("");
|
||||
}
|
||||
lc.setParent(lstm);
|
||||
|
||||
|
||||
lc = new Listcell(totalKm.toString());
|
||||
lc.setParent(lstm);
|
||||
|
||||
|
||||
lstm.setAttribute("data", orgaoTramo);
|
||||
} else {
|
||||
|
|
|
@ -5,23 +5,36 @@
|
|||
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||
|
||||
<zk>
|
||||
<window id="winEditarTramos" border="normal" apply="${editarTramosController}" width="950px" height="400px" title="${c:l('editarTramosController.window.title')}">
|
||||
<window id="winEditarTramos" border="normal"
|
||||
apply="${editarTramosController}" width="950px" height="400px"
|
||||
title="${c:l('editarTramosController.window.title')}">
|
||||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px" align="right">
|
||||
<button id="btnApagar" height="20" image="/gui/img/remove.png" width="35px" tooltiptext="${c:l('editarTramosController.btnApagar.tooltiptext')}" />
|
||||
<button id="btnSalvar" height="20" image="/gui/img/save.png" width="35px" tooltiptext="${c:l('editarTramosController.btnSalvar.tooltiptext')}" />
|
||||
<button id="btnFechar" height="20" image="/gui/img/exit.png" width="35px" onClick="winEditarTramos.detach()"
|
||||
<button id="btnApagar" height="20"
|
||||
image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarTramosController.btnApagar.tooltiptext')}" />
|
||||
<button id="btnSalvar" height="20"
|
||||
image="/gui/img/save.png" width="35px"
|
||||
tooltiptext="${c:l('editarTramosController.btnSalvar.tooltiptext')}" />
|
||||
<button id="btnFechar" height="20"
|
||||
image="/gui/img/exit.png" width="35px"
|
||||
onClick="winEditarTramos.detach()"
|
||||
tooltiptext="${c:l('editarTramosController.btnFechar.tooltiptext')}" />
|
||||
</hbox>
|
||||
</toolbar>
|
||||
|
||||
<tabbox>
|
||||
<tabs>
|
||||
<tab id="tabTramos" label="${c:l('editarTramosController.tabTramos.label')}" />
|
||||
<tab id="tabServicio" label="${c:l('editarTramosController.tabServicio.label')}" />
|
||||
<tab id="tabTiempo" label="${c:l('editarTramosController.tabTiempo.label')}" />
|
||||
<tab id="tabExcepcionesKm" label="${c:l('editarTramosController.tabExcepcionesKm.label')}" />
|
||||
<tab id="tabOrgaoCoeficientes" label="${c:l('editarTramosController.tabOrgaoCoeficientes.label')}" />
|
||||
<tab id="tabTramos"
|
||||
label="${c:l('editarTramosController.tabTramos.label')}" />
|
||||
<tab id="tabServicio"
|
||||
label="${c:l('editarTramosController.tabServicio.label')}" />
|
||||
<tab id="tabTiempo"
|
||||
label="${c:l('editarTramosController.tabTiempo.label')}" />
|
||||
<tab id="tabExcepcionesKm"
|
||||
label="${c:l('editarTramosController.tabExcepcionesKm.label')}" />
|
||||
<tab id="tabOrgaoCoeficientes"
|
||||
label="${c:l('editarTramosController.tabOrgaoCoeficientes.label')}" />
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
<tabpanel>
|
||||
|
@ -32,24 +45,48 @@
|
|||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label id="lbNome" value="${c:l('editarTramosController.lbNome.value')}" />
|
||||
<textbox id="txtNome" width="80%" maxlength="50" value="@{winEditarTramos$composer.tramo.desctramo}" disabled="true"
|
||||
<label id="lbNome"
|
||||
value="${c:l('editarTramosController.lbNome.value')}" />
|
||||
<textbox id="txtNome" width="80%"
|
||||
maxlength="50"
|
||||
value="@{winEditarTramos$composer.tramo.desctramo}"
|
||||
disabled="true"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarTramosController.labelOrigen.value')}" />
|
||||
<combobox id="cmbParadaOrigem" constraint="no empty" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada" mold="rounded" disabled="@{winEditarTramos$composer.existeRutaOcupaTramo}"
|
||||
buttonVisible="true" width="80%" initialValue="@{winEditarTramos$composer.tramo.origem}" selectedItem="@{winEditarTramos$composer.tramo.origem}" />
|
||||
<label
|
||||
value="${c:l('editarTramosController.labelOrigen.value')}" />
|
||||
<combobox id="cmbParadaOrigem"
|
||||
constraint="no empty"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
|
||||
mold="rounded"
|
||||
disabled="@{winEditarTramos$composer.existeRutaOcupaTramo}"
|
||||
buttonVisible="true" width="80%"
|
||||
initialValue="@{winEditarTramos$composer.tramo.origem}"
|
||||
selectedItem="@{winEditarTramos$composer.tramo.origem}" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarTramosController.labelDestino.value')}" />
|
||||
<combobox id="cmbParadaDestino" constraint="no empty" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada" mold="rounded" disabled="@{winEditarTramos$composer.existeRutaOcupaTramo}"
|
||||
buttonVisible="true" width="80%" initialValue="@{winEditarTramos$composer.tramo.destino}" selectedItem="@{winEditarTramos$composer.tramo.destino}" />
|
||||
<label
|
||||
value="${c:l('editarTramosController.labelDestino.value')}" />
|
||||
<combobox id="cmbParadaDestino"
|
||||
constraint="no empty"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
|
||||
mold="rounded"
|
||||
disabled="@{winEditarTramos$composer.existeRutaOcupaTramo}"
|
||||
buttonVisible="true" width="80%"
|
||||
initialValue="@{winEditarTramos$composer.tramo.destino}"
|
||||
selectedItem="@{winEditarTramos$composer.tramo.destino}" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarTramosController.labelVia.value')}" />
|
||||
<combobox id="cmbVia" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" constraint="no empty" mold="rounded" disabled="@{winEditarTramos$composer.existeRutaOcupaTramo}"
|
||||
buttonVisible="true" width="80%" model="@{winEditarTramos$composer.lsVias}" selectedItem="@{winEditarTramos$composer.tramo.via}" />
|
||||
<label
|
||||
value="${c:l('editarTramosController.labelVia.value')}" />
|
||||
<combobox id="cmbVia"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
constraint="no empty" mold="rounded"
|
||||
disabled="@{winEditarTramos$composer.existeRutaOcupaTramo}"
|
||||
buttonVisible="true" width="80%"
|
||||
model="@{winEditarTramos$composer.lsVias}"
|
||||
selectedItem="@{winEditarTramos$composer.tramo.via}" />
|
||||
</row>
|
||||
<!--row>
|
||||
<label id="lbKmReal" value="${c:l('editarTramosController.lbKmReal.value')}"/>
|
||||
|
@ -62,8 +99,11 @@
|
|||
value="@{winEditarTramos$composer.tramo.kmPagoConductor}"/>
|
||||
</row-->
|
||||
<row>
|
||||
<label value="${c:l('editarTramosController.lbKmReal.value')}" />
|
||||
<textbox id="txKmReal" width="80%" constraint="no empty" maxlength="11" value="@{winEditarTramos$composer.tramo.kmReal}" />
|
||||
<label
|
||||
value="${c:l('editarTramosController.lbKmReal.value')}" />
|
||||
<textbox id="txKmReal" width="80%"
|
||||
constraint="no empty" maxlength="11"
|
||||
value="@{winEditarTramos$composer.tramo.kmReal}" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
@ -76,18 +116,26 @@
|
|||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label id="lbClaseServicio" value="${c:l('editarTramosController.lbClaseServicio.value')}" />
|
||||
<combobox id="cmbClaseServicio" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" mold="rounded" buttonVisible="true"
|
||||
width="90%" model="@{winEditarTramos$composer.lsClaseServicio}" />
|
||||
<label id="lbClaseServicio"
|
||||
value="${c:l('editarTramosController.lbClaseServicio.value')}" />
|
||||
<combobox id="cmbClaseServicio"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
mold="rounded" buttonVisible="true" width="90%"
|
||||
model="@{winEditarTramos$composer.lsClaseServicio}" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarTramosController.lbTiempoRecorrido.value')}" />
|
||||
<label
|
||||
value="${c:l('editarTramosController.lbTiempoRecorrido.value')}" />
|
||||
<hbox>
|
||||
<vbox>
|
||||
<hbox>
|
||||
<spinner id="spHora" value="00" width="50px" maxlength="2" constraint="max 99,no negative" mold="rounded" />
|
||||
<spinner id="spHora"
|
||||
value="00" width="50px" maxlength="2"
|
||||
constraint="max 99,no negative" mold="rounded" />
|
||||
<label value=":" />
|
||||
<spinner id="spMinuto" value="00" width="50px" maxlength="2" constraint="max 59,no negative" mold="rounded" />
|
||||
<spinner id="spMinuto"
|
||||
value="00" width="50px" maxlength="2"
|
||||
constraint="max 59,no negative" mold="rounded" />
|
||||
</hbox>
|
||||
</vbox>
|
||||
</hbox>
|
||||
|
@ -95,17 +143,24 @@
|
|||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px" align="right">
|
||||
<button id="btnApagarServicio" height="20" image="/gui/img/remove.png" width="35px"
|
||||
<hbox spacing="5px" style="padding:1px"
|
||||
align="right">
|
||||
<button id="btnApagarServicio" height="20"
|
||||
image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarTramosController.btnApagarAtributo.tooltiptext')}" />
|
||||
<button id="btnSalvarServicio" height="20" image="/gui/img/add.png" width="35px"
|
||||
<button id="btnSalvarServicio" height="20"
|
||||
image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('editarTramosController.btnSalvarAtributo.tooltiptext')}" />
|
||||
</hbox>
|
||||
</toolbar>
|
||||
<listbox id="servicioList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" multiple="false">
|
||||
<listbox id="servicioList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader image="/gui/img/builder.gif" label="${c:l('editarTramosController.ClaseServicio.value')}" />
|
||||
<listheader image="/gui/img/builder.gif" label="${c:l('editarTramosController.lbTiemporecorrido.value')}" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarTramosController.ClaseServicio.value')}" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarTramosController.lbTiemporecorrido.value')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
|
@ -117,65 +172,111 @@
|
|||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label id="lbClaseServicioTiempo" value="${c:l('editarTramosController.lbClaseServicio.value')}" />
|
||||
<combobox id="cmbClaseServicioTiempo" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" constraint="no empty"
|
||||
mold="rounded" buttonVisible="true" width="80%" model="@{winEditarTramos$composer.lsClaseServicio}" />
|
||||
<label id="lbClaseServicioTiempo"
|
||||
value="${c:l('editarTramosController.lbClaseServicio.value')}" />
|
||||
<combobox id="cmbClaseServicioTiempo"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
constraint="no empty" mold="rounded" buttonVisible="true"
|
||||
width="80%"
|
||||
model="@{winEditarTramos$composer.lsClaseServicio}" />
|
||||
</row>
|
||||
<row>
|
||||
<label id="lbTiemporecorrido" value="${c:l('editarTramosController.lbTiemporecorrido.value')}" />
|
||||
<label id="lbTiemporecorrido"
|
||||
value="${c:l('editarTramosController.lbTiemporecorrido.value')}" />
|
||||
<hbox>
|
||||
<vbox>
|
||||
<hbox>
|
||||
<spinner id="spHoraTiempo" value="00" width="50px" maxlength="2" constraint="max 99,no negative" mold="rounded" />
|
||||
<spinner id="spHoraTiempo"
|
||||
value="00" width="50px" maxlength="2"
|
||||
constraint="max 99,no negative" mold="rounded" />
|
||||
<label value=":" />
|
||||
<spinner id="spMinutoTiempo" value="00" width="50px" maxlength="2" constraint="max 59,no negative" mold="rounded" />
|
||||
<spinner id="spMinutoTiempo"
|
||||
value="00" width="50px" maxlength="2"
|
||||
constraint="max 59,no negative" mold="rounded" />
|
||||
</hbox>
|
||||
</vbox>
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<label id="lbHorainicio" value="${c:l('editarTramosController.lbHorainicio.value')}" />
|
||||
<timebox id="horainicio" cols="14" format="HH:mm" mold="rounded" constraint="no empty" />
|
||||
<label id="lbHorainicio"
|
||||
value="${c:l('editarTramosController.lbHorainicio.value')}" />
|
||||
<timebox id="horainicio" cols="14"
|
||||
format="HH:mm" mold="rounded" constraint="no empty" />
|
||||
</row>
|
||||
<row>
|
||||
<label id="lbHorafin" value="${c:l('editarTramosController.lbHorafin.value')}" />
|
||||
<timebox id="horafin" cols="14" format="HH:mm" mold="rounded" constraint="no empty" />
|
||||
<label id="lbHorafin"
|
||||
value="${c:l('editarTramosController.lbHorafin.value')}" />
|
||||
<timebox id="horafin" cols="14"
|
||||
format="HH:mm" mold="rounded" constraint="no empty" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarConfiguracionReservacionController.lbDias.value')}" />
|
||||
<label
|
||||
value="${c:l('editarConfiguracionReservacionController.lbDias.value')}" />
|
||||
<hbox>
|
||||
<checkbox id="lun" label="${c:l('editarConfiguracionReservacionController.lbLun.value')}" checked="false" />
|
||||
<checkbox id="mar" label="${c:l('editarConfiguracionReservacionController.lbMar.value')}" checked="false" />
|
||||
<checkbox id="mie" label="${c:l('editarConfiguracionReservacionController.lbMie.value')}" checked="false" />
|
||||
<checkbox id="jue" label="${c:l('editarConfiguracionReservacionController.lbJue.value')}" checked="false" />
|
||||
<checkbox id="vie" label="${c:l('editarConfiguracionReservacionController.lbVie.value')}" checked="false" />
|
||||
<checkbox id="sab" label="${c:l('editarConfiguracionReservacionController.lbSab.value')}" checked="false" />
|
||||
<checkbox id="dom" label="${c:l('editarConfiguracionReservacionController.lbDom.value')}" checked="false" />
|
||||
<checkbox id="lun"
|
||||
label="${c:l('editarConfiguracionReservacionController.lbLun.value')}"
|
||||
checked="false" />
|
||||
<checkbox id="mar"
|
||||
label="${c:l('editarConfiguracionReservacionController.lbMar.value')}"
|
||||
checked="false" />
|
||||
<checkbox id="mie"
|
||||
label="${c:l('editarConfiguracionReservacionController.lbMie.value')}"
|
||||
checked="false" />
|
||||
<checkbox id="jue"
|
||||
label="${c:l('editarConfiguracionReservacionController.lbJue.value')}"
|
||||
checked="false" />
|
||||
<checkbox id="vie"
|
||||
label="${c:l('editarConfiguracionReservacionController.lbVie.value')}"
|
||||
checked="false" />
|
||||
<checkbox id="sab"
|
||||
label="${c:l('editarConfiguracionReservacionController.lbSab.value')}"
|
||||
checked="false" />
|
||||
<checkbox id="dom"
|
||||
label="${c:l('editarConfiguracionReservacionController.lbDom.value')}"
|
||||
checked="false" />
|
||||
</hbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px" align="right">
|
||||
<button id="btnApagarTiempo" height="20" image="/gui/img/remove.png" width="35px"
|
||||
<hbox spacing="5px" style="padding:1px"
|
||||
align="right">
|
||||
<button id="btnApagarTiempo" height="20"
|
||||
image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarTramosController.btnApagarTiempo.tooltiptext')}" />
|
||||
<button id="btnSalvarTiempo" height="20" image="/gui/img/add.png" width="35px"
|
||||
<button id="btnSalvarTiempo" height="20"
|
||||
image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('editarTramosController.btnSalvarTiempo.tooltiptext')}" />
|
||||
</hbox>
|
||||
</toolbar>
|
||||
<listbox id="tiempoList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" multiple="false">
|
||||
<listbox id="tiempoList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader id="lhTiempoClaseServico" image="/gui/img/builder.gif" label="${c:l('editarTramosController.ClaseServicio.value')}" width="30%" />
|
||||
<listheader id="lhTiempoHorainicio" label="${c:l('editarTramosController.lhTiempoHorainicio.value')}" />
|
||||
<listheader id="lhTiempoHorafin" label="${c:l('editarTramosController.lhTiempoHorafin.value')}" />
|
||||
<listheader id="lhTiempoTiemporecorrido" label="${c:l('editarTramosController.lhTiempoTiemporecorrido.value')}" />
|
||||
<listheader label="${c:l('editarConfiguracionReservacionController.lbLunM.value')}" />
|
||||
<listheader label="${c:l('editarConfiguracionReservacionController.lbMarM.value')}" />
|
||||
<listheader label="${c:l('editarConfiguracionReservacionController.lbMieM.value')}" />
|
||||
<listheader label="${c:l('editarConfiguracionReservacionController.lbJueM.value')}" />
|
||||
<listheader label="${c:l('editarConfiguracionReservacionController.lbVieM.value')}" />
|
||||
<listheader label="${c:l('editarConfiguracionReservacionController.lbSabM.value')}" />
|
||||
<listheader label="${c:l('editarConfiguracionReservacionController.lbDomM.value')}" />
|
||||
<listheader id="lhTiempoClaseServico"
|
||||
image="/gui/img/builder.gif"
|
||||
label="${c:l('editarTramosController.ClaseServicio.value')}"
|
||||
width="30%" />
|
||||
<listheader id="lhTiempoHorainicio"
|
||||
label="${c:l('editarTramosController.lhTiempoHorainicio.value')}" />
|
||||
<listheader id="lhTiempoHorafin"
|
||||
label="${c:l('editarTramosController.lhTiempoHorafin.value')}" />
|
||||
<listheader id="lhTiempoTiemporecorrido"
|
||||
label="${c:l('editarTramosController.lhTiempoTiemporecorrido.value')}" />
|
||||
<listheader
|
||||
label="${c:l('editarConfiguracionReservacionController.lbLunM.value')}" />
|
||||
<listheader
|
||||
label="${c:l('editarConfiguracionReservacionController.lbMarM.value')}" />
|
||||
<listheader
|
||||
label="${c:l('editarConfiguracionReservacionController.lbMieM.value')}" />
|
||||
<listheader
|
||||
label="${c:l('editarConfiguracionReservacionController.lbJueM.value')}" />
|
||||
<listheader
|
||||
label="${c:l('editarConfiguracionReservacionController.lbVieM.value')}" />
|
||||
<listheader
|
||||
label="${c:l('editarConfiguracionReservacionController.lbSabM.value')}" />
|
||||
<listheader
|
||||
label="${c:l('editarConfiguracionReservacionController.lbDomM.value')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
|
@ -187,28 +288,42 @@
|
|||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${c:l('editarTramosController.lbItxCantkmpagoconductor.value')}" />
|
||||
<intbox id="itxCantkmpagoconductor" width="80%" maxlength="7" constraint="no empty" />
|
||||
<label
|
||||
value="${c:l('editarTramosController.lbItxCantkmpagoconductor.value')}" />
|
||||
<intbox id="itxCantkmpagoconductor"
|
||||
width="80%" maxlength="7" constraint="no empty" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarTramosController.labelEmpresa.value')}" />
|
||||
<combobox id="cmbEmpresa" constraint="no empty" mold="rounded" buttonVisible="true"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" model="@{winEditarTramos$composer.lsEmpresa}" width="80%" />
|
||||
<label
|
||||
value="${c:l('editarTramosController.labelEmpresa.value')}" />
|
||||
<combobox id="cmbEmpresa"
|
||||
constraint="no empty" mold="rounded" buttonVisible="true"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
model="@{winEditarTramos$composer.lsEmpresa}" width="80%" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px" align="right">
|
||||
<button id="btnApagarExcepcioneKm" height="20" image="/gui/img/remove.png" width="35px"
|
||||
<hbox spacing="5px" style="padding:1px"
|
||||
align="right">
|
||||
<button id="btnApagarExcepcioneKm"
|
||||
height="20" image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarTramosController.btnApagarExcepcioneKm.tooltiptext')}" />
|
||||
<button id="btnSalvarExceptioneKm" height="20" image="/gui/img/add.png" width="35px"
|
||||
<button id="btnSalvarExceptioneKm"
|
||||
height="20" image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('editarTramosController.btnSalvarExceptioneKm.tooltiptext')}" />
|
||||
</hbox>
|
||||
</toolbar>
|
||||
<listbox id="tramoKmEmpresaList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" multiple="false">
|
||||
<listbox id="tramoKmEmpresaList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader id="lhKm" image="/gui/img/builder.gif" label="${c:l('editarTramosController.lbItxCantkmpagoconductor.value')}" width="30%" />
|
||||
<listheader id="lhEmpresa" label="${c:l('editarTramosController.labelEmpresa.value')}" />
|
||||
<listheader id="lhKm"
|
||||
image="/gui/img/builder.gif"
|
||||
label="${c:l('editarTramosController.lbItxCantkmpagoconductor.value')}"
|
||||
width="30%" />
|
||||
<listheader id="lhEmpresa"
|
||||
label="${c:l('editarTramosController.labelEmpresa.value')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
|
@ -223,59 +338,107 @@
|
|||
</columns>
|
||||
<rows>
|
||||
<row spans="1,1,1,1">
|
||||
<label value="${c:l('editarTramosController.labelCoeficiente1.value')}" />
|
||||
<combobox id="cmbCoeficiente1" mold="rounded" buttonVisible="true" width="90%" model="@{winEditarTramos$composer.lsCoeficienteTarifas}"
|
||||
<label
|
||||
value="${c:l('editarTramosController.labelCoeficiente1.value')}" />
|
||||
<combobox id="cmbCoeficiente1"
|
||||
mold="rounded" buttonVisible="true" width="90%"
|
||||
model="@{winEditarTramos$composer.lsCoeficienteTarifas}"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" />
|
||||
|
||||
<label value="${c:l('editarTramosController.labelKMCoeficiente1.value')}" />
|
||||
<intbox id="txtKMCoeficiente1" />
|
||||
<label
|
||||
value="${c:l('editarTramosController.labelKMCoeficiente1.value')}" />
|
||||
<textbox id="txtKMCoeficiente1"
|
||||
maxlength="7"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</row>
|
||||
<row spans="1,1,1,1">
|
||||
<label value="${c:l('editarTramosController.labelCoeficiente2.value')}" />
|
||||
<combobox id="cmbCoeficiente2" mold="rounded" buttonVisible="true" width="90%" model="@{winEditarTramos$composer.lsCoeficienteTarifas}"
|
||||
<label
|
||||
value="${c:l('editarTramosController.labelCoeficiente2.value')}" />
|
||||
<combobox id="cmbCoeficiente2"
|
||||
mold="rounded" buttonVisible="true" width="90%"
|
||||
model="@{winEditarTramos$composer.lsCoeficienteTarifas}"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" />
|
||||
|
||||
<label value="${c:l('editarTramosController.labelKMCoeficiente2.value')}" />
|
||||
<intbox id="txtKMCoeficiente2" />
|
||||
<label
|
||||
value="${c:l('editarTramosController.labelKMCoeficiente2.value')}" />
|
||||
<textbox id="txtKMCoeficiente2"
|
||||
maxlength="7"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</row>
|
||||
<row spans="1,1,1,1">
|
||||
<label value="${c:l('editarTramosController.labelCoeficiente3.value')}" />
|
||||
<combobox id="cmbCoeficiente3" mold="rounded" buttonVisible="true" width="90%" model="@{winEditarTramos$composer.lsCoeficienteTarifas}"
|
||||
<label
|
||||
value="${c:l('editarTramosController.labelCoeficiente3.value')}" />
|
||||
<combobox id="cmbCoeficiente3"
|
||||
mold="rounded" buttonVisible="true" width="90%"
|
||||
model="@{winEditarTramos$composer.lsCoeficienteTarifas}"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" />
|
||||
|
||||
<label value="${c:l('editarTramosController.labelKMCoeficiente3.value')}" />
|
||||
<intbox id="txtKMCoeficiente3" />
|
||||
<label
|
||||
value="${c:l('editarTramosController.labelKMCoeficiente3.value')}" />
|
||||
<textbox id="txtKMCoeficiente3"
|
||||
maxlength="7"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</row>
|
||||
<row spans="1,1,1,1">
|
||||
<label value="${c:l('editarTramosController.labelOrgaoConcedente.value')}" />
|
||||
<combobox id="cmbOrgaoConcedente" mold="rounded" buttonVisible="true" width="90%" model="@{winEditarTramos$composer.lsOrgaoConcedentes}"
|
||||
<label
|
||||
value="${c:l('editarTramosController.labelOrgaoConcedente.value')}" />
|
||||
<combobox id="cmbOrgaoConcedente"
|
||||
mold="rounded" buttonVisible="true" width="90%"
|
||||
model="@{winEditarTramos$composer.lsOrgaoConcedentes}"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" />
|
||||
|
||||
<label value="${c:l('editarTramosController.lbClaseServicio.value')}" />
|
||||
<combobox id="cmbClaseServicioCoeficiente" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" mold="rounded"
|
||||
buttonVisible="true" width="90%" model="@{winEditarTramos$composer.lsClaseServicio}" />
|
||||
<label
|
||||
value="${c:l('editarTramosController.lbClaseServicio.value')}" />
|
||||
<combobox
|
||||
id="cmbClaseServicioCoeficiente"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
mold="rounded" buttonVisible="true" width="90%"
|
||||
model="@{winEditarTramos$composer.lsClaseServicio}" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px" align="right">
|
||||
<button id="btnApagarCoeficiente" height="20" image="/gui/img/remove.png" width="35px"
|
||||
<hbox spacing="5px" style="padding:1px"
|
||||
align="right">
|
||||
<button id="btnApagarCoeficiente"
|
||||
height="20" image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarTramosController.btnApagarCoeficiente.tooltiptext')}" />
|
||||
<button id="btnSalvarCoeficiente" height="20" image="/gui/img/add.png" width="35px"
|
||||
<button id="btnSalvarCoeficiente"
|
||||
height="20" image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('editarTramosController.btnSalvarCoeficiente.tooltiptext')}" />
|
||||
</hbox>
|
||||
</toolbar>
|
||||
<listbox id="tramoCoeficientesList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox" multiple="false">
|
||||
<listbox id="tramoCoeficientesList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader image="/gui/img/builder.gif" label="${c:l('editarTramosController.labelCoeficiente1.value')}" width="15%" />
|
||||
<listheader image="/gui/img/builder.gif" label="${c:l('editarTramosController.labelKMCoeficiente1.value')}" width="6%" />
|
||||
<listheader image="/gui/img/builder.gif" label="${c:l('editarTramosController.labelCoeficiente2.value')}" width="15%" />
|
||||
<listheader image="/gui/img/builder.gif" label="${c:l('editarTramosController.labelKMCoeficiente2.value')}" width="6%" />
|
||||
<listheader image="/gui/img/builder.gif" label="${c:l('editarTramosController.labelCoeficiente3.value')}" width="15%" />
|
||||
<listheader image="/gui/img/builder.gif" label="${c:l('editarTramosController.labelKMCoeficiente3.value')}" width="7%" />
|
||||
<listheader image="/gui/img/builder.gif" label="${c:l('editarTramosController.labelOrgaoConcedente.value')}" width="15%" />
|
||||
<listheader image="/gui/img/builder.gif" label="${c:l('editarTramosController.labelClase.value')}" width="12%" />
|
||||
<listheader image="/gui/img/builder.gif" label="${c:l('editarTramosController.labelTotalKm.value')}" width="9%" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarTramosController.labelCoeficiente1.value')}"
|
||||
width="15%" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarTramosController.labelKMCoeficiente1.value')}"
|
||||
width="6%" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarTramosController.labelCoeficiente2.value')}"
|
||||
width="15%" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarTramosController.labelKMCoeficiente2.value')}"
|
||||
width="6%" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarTramosController.labelCoeficiente3.value')}"
|
||||
width="15%" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarTramosController.labelKMCoeficiente3.value')}"
|
||||
width="7%" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarTramosController.labelOrgaoConcedente.value')}"
|
||||
width="15%" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarTramosController.labelClase.value')}"
|
||||
width="12%" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarTramosController.labelTotalKm.value')}"
|
||||
width="9%" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
|
|
Loading…
Reference in New Issue