git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@20549 d1611594-4594-4d17-8e1d-87c2c4800839
parent
fcca923056
commit
ee974ef3d7
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,76 @@
|
||||||
|
package com.rjconsultores.ventaboletos.web.utilerias.render;
|
||||||
|
|
||||||
|
import org.zkoss.zul.Listcell;
|
||||||
|
import org.zkoss.zul.Listitem;
|
||||||
|
import org.zkoss.zul.ListitemRenderer;
|
||||||
|
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.CoeficienteTarifa;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.OrgaoConcedente;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.OrgaoTramo;
|
||||||
|
|
||||||
|
public class RenderOrgaoTramo implements ListitemRenderer {
|
||||||
|
|
||||||
|
public void render(Listitem lstm, Object o) throws Exception {
|
||||||
|
OrgaoTramo orgaoTramo = (OrgaoTramo) o;
|
||||||
|
|
||||||
|
Listcell lc = new Listcell();
|
||||||
|
|
||||||
|
CoeficienteTarifa coeficienteTarifa1 = orgaoTramo.getCoeficienteTarifa1();
|
||||||
|
if (coeficienteTarifa1 != null) {
|
||||||
|
lc = new Listcell(coeficienteTarifa1.toString());
|
||||||
|
} else {
|
||||||
|
lc = new Listcell("");
|
||||||
|
}
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
Integer kmCoeficienteTarifa1 = orgaoTramo.getKmCoeficiente1();
|
||||||
|
if (kmCoeficienteTarifa1 != null) {
|
||||||
|
lc = new Listcell(kmCoeficienteTarifa1.toString());
|
||||||
|
} else {
|
||||||
|
lc = new Listcell("");
|
||||||
|
}
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
CoeficienteTarifa coeficienteTarifa2 = orgaoTramo.getCoeficienteTarifa2();
|
||||||
|
if (coeficienteTarifa2 != null) {
|
||||||
|
lc = new Listcell(coeficienteTarifa2.toString());
|
||||||
|
} else {
|
||||||
|
lc = new Listcell("");
|
||||||
|
}
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
Integer kmCoeficienteTarifa2 = orgaoTramo.getKmCoeficiente2();
|
||||||
|
if (kmCoeficienteTarifa2 != null) {
|
||||||
|
lc = new Listcell(kmCoeficienteTarifa2.toString());
|
||||||
|
} else {
|
||||||
|
lc = new Listcell("");
|
||||||
|
}
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
CoeficienteTarifa coeficienteTarifa3 = orgaoTramo.getCoeficienteTarifa3();
|
||||||
|
if (coeficienteTarifa3 != null) {
|
||||||
|
lc = new Listcell(coeficienteTarifa3.toString());
|
||||||
|
} else {
|
||||||
|
lc = new Listcell("");
|
||||||
|
}
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
Integer kmCoeficienteTarifa3 = orgaoTramo.getKmCoeficiente3();
|
||||||
|
if (kmCoeficienteTarifa3 != null) {
|
||||||
|
lc = new Listcell(kmCoeficienteTarifa1.toString());
|
||||||
|
} else {
|
||||||
|
lc = new Listcell("");
|
||||||
|
}
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
OrgaoConcedente orgaoConcedente = orgaoTramo.getOrgaoConcedente();
|
||||||
|
if (orgaoConcedente != null) {
|
||||||
|
lc = new Listcell(orgaoConcedente.toString());
|
||||||
|
} else {
|
||||||
|
lc = new Listcell("");
|
||||||
|
}
|
||||||
|
lc.setParent(lstm);
|
||||||
|
|
||||||
|
lstm.setAttribute("data", orgaoTramo);
|
||||||
|
}
|
||||||
|
}
|
|
@ -1067,6 +1067,7 @@ editarTramosController.labelDestino.value = Destino
|
||||||
editarTramosController.labelOrigen.value = Origem
|
editarTramosController.labelOrigen.value = Origem
|
||||||
editarTramosController.labelVia.value = Via
|
editarTramosController.labelVia.value = Via
|
||||||
editarTramosController.tabTramos.label = Trechos
|
editarTramosController.tabTramos.label = Trechos
|
||||||
|
editarTramosController.tabOrgaoCoeficientes.label = Coeficientes
|
||||||
editarTramosController.tabServicio.label = Tempo Geral
|
editarTramosController.tabServicio.label = Tempo Geral
|
||||||
editarTramosController.lbKmReal.value = KM Real
|
editarTramosController.lbKmReal.value = KM Real
|
||||||
editarTramosController.lbKmTarifa.value = KM Tarifa
|
editarTramosController.lbKmTarifa.value = KM Tarifa
|
||||||
|
@ -1104,6 +1105,15 @@ editarTramosController.btnApagarExcepcioneKm.tooltiptext = Eliminar
|
||||||
editarTramosController.btnSalvarExceptioneKm.tooltiptext = Salva Trecho Km
|
editarTramosController.btnSalvarExceptioneKm.tooltiptext = Salva Trecho Km
|
||||||
editarTramosController.MSG.selecioneTramoKm = Selecione uma exceção de Km.
|
editarTramosController.MSG.selecioneTramoKm = Selecione uma exceção de Km.
|
||||||
editarTramosController.MSG.borrarTramoKm = Elimina exceção de Km?
|
editarTramosController.MSG.borrarTramoKm = Elimina exceção de Km?
|
||||||
|
editarTramosController.labelCoeficiente1.value = Coeficiente 1
|
||||||
|
editarTramosController.labelKMCoeficiente1.value = KM Coeficiente 1
|
||||||
|
editarTramosController.labelCoeficiente2.value = Coeficiente 2
|
||||||
|
editarTramosController.labelKMCoeficiente2.value = KM Coeficiente 2
|
||||||
|
editarTramosController.labelCoeficiente3.value = Coeficiente 3
|
||||||
|
editarTramosController.labelKMCoeficiente3.value = KM Coeficiente 3
|
||||||
|
editarTramosController.labelOrgaoConcedente.value = Órgão Concedente
|
||||||
|
editarTramosController.btnApagarCoeficiente.tooltiptext = Eliminar Coeficiente
|
||||||
|
editarTramosController.btnSalvarCoeficiente.tooltiptext = Salvar Coeficiente
|
||||||
|
|
||||||
#Panatalla VentaBoletos Comissionistas
|
#Panatalla VentaBoletos Comissionistas
|
||||||
pantalla.VentaBoletosTDO.window.title = Grupo Senda - Comissionista onLine
|
pantalla.VentaBoletosTDO.window.title = Grupo Senda - Comissionista onLine
|
||||||
|
|
|
@ -5,80 +5,82 @@
|
||||||
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||||
|
|
||||||
<zk>
|
<zk>
|
||||||
<window id="winEditarTramos" border="normal"
|
<window id="winEditarTramos" border="normal"
|
||||||
apply="${editarTramosController}" width="700px" height="400px"
|
apply="${editarTramosController}" width="950px" height="400px"
|
||||||
title="${c:l('editarTramosController.window.title')}">
|
title="${c:l('editarTramosController.window.title')}">
|
||||||
<toolbar>
|
<toolbar>
|
||||||
<hbox spacing="5px" style="padding:1px" align="right">
|
<hbox spacing="5px" style="padding:1px" align="right">
|
||||||
<button id="btnApagar" height="20"
|
<button id="btnApagar" height="20"
|
||||||
image="/gui/img/remove.png" width="35px"
|
image="/gui/img/remove.png" width="35px"
|
||||||
tooltiptext="${c:l('editarTramosController.btnApagar.tooltiptext')}" />
|
tooltiptext="${c:l('editarTramosController.btnApagar.tooltiptext')}" />
|
||||||
<button id="btnSalvar" height="20"
|
<button id="btnSalvar" height="20"
|
||||||
image="/gui/img/save.png" width="35px"
|
image="/gui/img/save.png" width="35px"
|
||||||
tooltiptext="${c:l('editarTramosController.btnSalvar.tooltiptext')}" />
|
tooltiptext="${c:l('editarTramosController.btnSalvar.tooltiptext')}" />
|
||||||
<button id="btnFechar" height="20"
|
<button id="btnFechar" height="20"
|
||||||
image="/gui/img/exit.png" width="35px"
|
image="/gui/img/exit.png" width="35px"
|
||||||
onClick="winEditarTramos.detach()"
|
onClick="winEditarTramos.detach()"
|
||||||
tooltiptext="${c:l('editarTramosController.btnFechar.tooltiptext')}" />
|
tooltiptext="${c:l('editarTramosController.btnFechar.tooltiptext')}" />
|
||||||
</hbox>
|
</hbox>
|
||||||
</toolbar>
|
</toolbar>
|
||||||
|
|
||||||
<tabbox>
|
<tabbox>
|
||||||
<tabs>
|
<tabs>
|
||||||
<tab id="tabTramos"
|
<tab id="tabTramos"
|
||||||
label="${c:l('editarTramosController.tabTramos.label')}" />
|
label="${c:l('editarTramosController.tabTramos.label')}" />
|
||||||
<tab id="tabServicio"
|
<tab id="tabServicio"
|
||||||
label="${c:l('editarTramosController.tabServicio.label')}" />
|
label="${c:l('editarTramosController.tabServicio.label')}" />
|
||||||
<tab id="tabTiempo"
|
<tab id="tabTiempo"
|
||||||
label="${c:l('editarTramosController.tabTiempo.label')}" />
|
label="${c:l('editarTramosController.tabTiempo.label')}" />
|
||||||
<tab id="tabExcepcionesKm"
|
<tab id="tabExcepcionesKm"
|
||||||
label="${c:l('editarTramosController.tabExcepcionesKm.label')}" />
|
label="${c:l('editarTramosController.tabExcepcionesKm.label')}" />
|
||||||
</tabs>
|
<tab id="tabOrgaoCoeficientes"
|
||||||
<tabpanels>
|
label="${c:l('editarTramosController.tabOrgaoCoeficientes.label')}" />
|
||||||
<tabpanel>
|
</tabs>
|
||||||
<grid fixedLayout="true">
|
<tabpanels>
|
||||||
<columns>
|
<tabpanel>
|
||||||
<column width="20%" />
|
<grid fixedLayout="true">
|
||||||
<column width="80%" />
|
<columns>
|
||||||
</columns>
|
<column width="20%" />
|
||||||
<rows>
|
<column width="80%" />
|
||||||
<row>
|
</columns>
|
||||||
<label id="lbNome"
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label id="lbNome"
|
||||||
value="${c:l('editarTramosController.lbNome.value')}" />
|
value="${c:l('editarTramosController.lbNome.value')}" />
|
||||||
<textbox id="txtNome"
|
<textbox id="txtNome"
|
||||||
constraint="no empty" width="80%" maxlength="20"
|
constraint="no empty" width="80%" maxlength="20"
|
||||||
value="@{winEditarTramos$composer.tramo.desctramo}"
|
value="@{winEditarTramos$composer.tramo.desctramo}"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label
|
<label
|
||||||
value="${c:l('editarTramosController.labelOrigen.value')}" />
|
value="${c:l('editarTramosController.labelOrigen.value')}" />
|
||||||
<combobox id="cmbParadaOrigem"
|
<combobox id="cmbParadaOrigem"
|
||||||
constraint="no empty"
|
constraint="no empty"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
|
||||||
mold="rounded" buttonVisible="true" width="80%"
|
mold="rounded" buttonVisible="true" width="80%"
|
||||||
initialValue="@{winEditarTramos$composer.tramo.origem}"
|
initialValue="@{winEditarTramos$composer.tramo.origem}"
|
||||||
selectedItem="@{winEditarTramos$composer.tramo.origem}" />
|
selectedItem="@{winEditarTramos$composer.tramo.origem}" />
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label
|
<label
|
||||||
value="${c:l('editarTramosController.labelDestino.value')}" />
|
value="${c:l('editarTramosController.labelDestino.value')}" />
|
||||||
<combobox id="cmbParadaDestino"
|
<combobox id="cmbParadaDestino"
|
||||||
constraint="no empty"
|
constraint="no empty"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
|
||||||
mold="rounded" buttonVisible="true" width="80%"
|
mold="rounded" buttonVisible="true" width="80%"
|
||||||
initialValue="@{winEditarTramos$composer.tramo.destino}"
|
initialValue="@{winEditarTramos$composer.tramo.destino}"
|
||||||
selectedItem="@{winEditarTramos$composer.tramo.destino}" />
|
selectedItem="@{winEditarTramos$composer.tramo.destino}" />
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label
|
<label
|
||||||
value="${c:l('editarTramosController.labelVia.value')}" />
|
value="${c:l('editarTramosController.labelVia.value')}" />
|
||||||
<combobox id="cmbVia"
|
<combobox id="cmbVia"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
constraint="no empty" mold="rounded" buttonVisible="true"
|
constraint="no empty" mold="rounded" buttonVisible="true"
|
||||||
width="80%" model="@{winEditarTramos$composer.lsVias}"
|
width="80%" model="@{winEditarTramos$composer.lsVias}"
|
||||||
selectedItem="@{winEditarTramos$composer.tramo.via}" />
|
selectedItem="@{winEditarTramos$composer.tramo.via}" />
|
||||||
</row>
|
</row>
|
||||||
<!--row>
|
<!--row>
|
||||||
<label id="lbKmReal" value="${c:l('editarTramosController.lbKmReal.value')}"/>
|
<label id="lbKmReal" value="${c:l('editarTramosController.lbKmReal.value')}"/>
|
||||||
<intbox id="txKmReal" constraint="no empty, no negative" width="80%" maxlength="5"
|
<intbox id="txKmReal" constraint="no empty, no negative" width="80%" maxlength="5"
|
||||||
|
@ -89,238 +91,331 @@
|
||||||
<intbox id="txtKmPagoConductor" constraint="no empty, no negative" format="#0.00" maxlength="7"
|
<intbox id="txtKmPagoConductor" constraint="no empty, no negative" format="#0.00" maxlength="7"
|
||||||
value="@{winEditarTramos$composer.tramo.kmPagoConductor}"/>
|
value="@{winEditarTramos$composer.tramo.kmPagoConductor}"/>
|
||||||
</row-->
|
</row-->
|
||||||
<row>
|
<row>
|
||||||
<label
|
<label
|
||||||
value="${c:l('editarTramosController.lbKmReal.value')}" />
|
value="${c:l('editarTramosController.lbKmReal.value')}" />
|
||||||
<textbox id="txKmReal" width="80%"
|
<textbox id="txKmReal" width="80%"
|
||||||
maxlength="11"
|
maxlength="11"
|
||||||
value="@{winEditarTramos$composer.tramo.kmReal}" />
|
value="@{winEditarTramos$composer.tramo.kmReal}" />
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label
|
<label
|
||||||
value="${c:l('editarTramosController.lbKmPagoConductor.value')}" />
|
value="${c:l('editarTramosController.lbKmPagoConductor.value')}" />
|
||||||
<textbox id="txtKmPagoConductor"
|
<textbox id="txtKmPagoConductor"
|
||||||
width="80%" maxlength="11"
|
width="80%" maxlength="11"
|
||||||
value="@{winEditarTramos$composer.tramo.kmPagoConductor}" />
|
value="@{winEditarTramos$composer.tramo.kmPagoConductor}" />
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
<tabpanel height="300px" >
|
<tabpanel height="300px">
|
||||||
<grid fixedLayout="true">
|
<grid fixedLayout="true">
|
||||||
<columns>
|
<columns>
|
||||||
<column width="20%" />
|
<column width="20%" />
|
||||||
<column width="80%" />
|
<column width="80%" />
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<label id="lbClaseServicio"
|
<label id="lbClaseServicio"
|
||||||
value="${c:l('editarTramosController.lbClaseServicio.value')}" />
|
value="${c:l('editarTramosController.lbClaseServicio.value')}" />
|
||||||
<combobox id="cmbClaseServicio"
|
<combobox id="cmbClaseServicio"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
mold="rounded" buttonVisible="true" width="90%"
|
mold="rounded" buttonVisible="true" width="90%"
|
||||||
model="@{winEditarTramos$composer.lsClaseServicio}" />
|
model="@{winEditarTramos$composer.lsClaseServicio}" />
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label
|
<label
|
||||||
value="${c:l('editarTramosController.lbTiempoRecorrido.value')}" />
|
value="${c:l('editarTramosController.lbTiempoRecorrido.value')}" />
|
||||||
<hbox>
|
<hbox>
|
||||||
<vbox>
|
<vbox>
|
||||||
<hbox>
|
<hbox>
|
||||||
<spinner id="spHora"
|
<spinner id="spHora"
|
||||||
value="00" width="50px" maxlength="2"
|
value="00" width="50px" maxlength="2"
|
||||||
constraint="max 99,no negative" mold="rounded" />
|
constraint="max 99,no negative" mold="rounded" />
|
||||||
<label value=":" />
|
<label value=":" />
|
||||||
<spinner id="spMinuto"
|
<spinner id="spMinuto"
|
||||||
value="00" width="50px" maxlength="2"
|
value="00" width="50px" maxlength="2"
|
||||||
constraint="max 59,no negative" mold="rounded" />
|
constraint="max 59,no negative" mold="rounded" />
|
||||||
</hbox>
|
</hbox>
|
||||||
</vbox>
|
</vbox>
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
<toolbar>
|
<toolbar>
|
||||||
<hbox spacing="5px" style="padding:1px"
|
<hbox spacing="5px" style="padding:1px"
|
||||||
align="right">
|
align="right">
|
||||||
<button id="btnApagarServicio" height="20"
|
<button id="btnApagarServicio" height="20"
|
||||||
image="/gui/img/remove.png" width="35px"
|
image="/gui/img/remove.png" width="35px"
|
||||||
tooltiptext="${c:l('editarTramosController.btnApagarAtributo.tooltiptext')}" />
|
tooltiptext="${c:l('editarTramosController.btnApagarAtributo.tooltiptext')}" />
|
||||||
<button id="btnSalvarServicio" height="20"
|
<button id="btnSalvarServicio" height="20"
|
||||||
image="/gui/img/add.png" width="35px"
|
image="/gui/img/add.png" width="35px"
|
||||||
tooltiptext="${c:l('editarTramosController.btnSalvarAtributo.tooltiptext')}" />
|
tooltiptext="${c:l('editarTramosController.btnSalvarAtributo.tooltiptext')}" />
|
||||||
</hbox>
|
</hbox>
|
||||||
</toolbar>
|
</toolbar>
|
||||||
<listbox id="servicioList"
|
<listbox id="servicioList"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
multiple="false">
|
multiple="false">
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader image="/gui/img/builder.gif"
|
<listheader image="/gui/img/builder.gif"
|
||||||
label="${c:l('editarTramosController.ClaseServicio.value')}" />
|
label="${c:l('editarTramosController.ClaseServicio.value')}" />
|
||||||
<listheader image="/gui/img/builder.gif"
|
<listheader image="/gui/img/builder.gif"
|
||||||
label="${c:l('editarTramosController.lbTiemporecorrido.value')}" />
|
label="${c:l('editarTramosController.lbTiemporecorrido.value')}" />
|
||||||
</listhead>
|
</listhead>
|
||||||
</listbox>
|
</listbox>
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
<tabpanel height="300px">
|
<tabpanel height="300px">
|
||||||
<grid fixedLayout="true">
|
<grid fixedLayout="true">
|
||||||
<columns>
|
<columns>
|
||||||
<column width="20%" />
|
<column width="20%" />
|
||||||
<column width="80%" />
|
<column width="80%" />
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<label id="lbClaseServicioTiempo"
|
<label id="lbClaseServicioTiempo"
|
||||||
value="${c:l('editarTramosController.lbClaseServicio.value')}" />
|
value="${c:l('editarTramosController.lbClaseServicio.value')}" />
|
||||||
<combobox id="cmbClaseServicioTiempo"
|
<combobox id="cmbClaseServicioTiempo"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
constraint="no empty" mold="rounded" buttonVisible="true"
|
constraint="no empty" mold="rounded" buttonVisible="true"
|
||||||
width="80%"
|
width="80%"
|
||||||
model="@{winEditarTramos$composer.lsClaseServicio}" />
|
model="@{winEditarTramos$composer.lsClaseServicio}" />
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label id="lbTiemporecorrido"
|
<label id="lbTiemporecorrido"
|
||||||
value="${c:l('editarTramosController.lbTiemporecorrido.value')}" />
|
value="${c:l('editarTramosController.lbTiemporecorrido.value')}" />
|
||||||
<hbox>
|
<hbox>
|
||||||
<vbox>
|
<vbox>
|
||||||
<hbox>
|
<hbox>
|
||||||
<spinner id="spHoraTiempo"
|
<spinner id="spHoraTiempo"
|
||||||
value="00" width="50px" maxlength="2"
|
value="00" width="50px" maxlength="2"
|
||||||
constraint="max 99,no negative" mold="rounded" />
|
constraint="max 99,no negative" mold="rounded" />
|
||||||
<label value=":" />
|
<label value=":" />
|
||||||
<spinner id="spMinutoTiempo"
|
<spinner id="spMinutoTiempo"
|
||||||
value="00" width="50px" maxlength="2"
|
value="00" width="50px" maxlength="2"
|
||||||
constraint="max 59,no negative" mold="rounded" />
|
constraint="max 59,no negative" mold="rounded" />
|
||||||
</hbox>
|
</hbox>
|
||||||
</vbox>
|
</vbox>
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label id="lbHorainicio"
|
<label id="lbHorainicio"
|
||||||
value="${c:l('editarTramosController.lbHorainicio.value')}" />
|
value="${c:l('editarTramosController.lbHorainicio.value')}" />
|
||||||
<timebox id="horainicio" cols="14"
|
<timebox id="horainicio" cols="14"
|
||||||
format="HH:mm" mold="rounded" constraint="no empty" />
|
format="HH:mm" mold="rounded" constraint="no empty" />
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label id="lbHorafin"
|
<label id="lbHorafin"
|
||||||
value="${c:l('editarTramosController.lbHorafin.value')}" />
|
value="${c:l('editarTramosController.lbHorafin.value')}" />
|
||||||
<timebox id="horafin" cols="14"
|
<timebox id="horafin" cols="14"
|
||||||
format="HH:mm" mold="rounded" constraint="no empty" />
|
format="HH:mm" mold="rounded" constraint="no empty" />
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<label
|
<label
|
||||||
value="${c:l('editarConfiguracionReservacionController.lbDias.value')}" />
|
value="${c:l('editarConfiguracionReservacionController.lbDias.value')}" />
|
||||||
<hbox>
|
<hbox>
|
||||||
<checkbox id="lun"
|
<checkbox id="lun"
|
||||||
label="${c:l('editarConfiguracionReservacionController.lbLun.value')}"
|
label="${c:l('editarConfiguracionReservacionController.lbLun.value')}"
|
||||||
checked="false" />
|
checked="false" />
|
||||||
<checkbox id="mar"
|
<checkbox id="mar"
|
||||||
label="${c:l('editarConfiguracionReservacionController.lbMar.value')}"
|
label="${c:l('editarConfiguracionReservacionController.lbMar.value')}"
|
||||||
checked="false" />
|
checked="false" />
|
||||||
<checkbox id="mie"
|
<checkbox id="mie"
|
||||||
label="${c:l('editarConfiguracionReservacionController.lbMie.value')}"
|
label="${c:l('editarConfiguracionReservacionController.lbMie.value')}"
|
||||||
checked="false" />
|
checked="false" />
|
||||||
<checkbox id="jue"
|
<checkbox id="jue"
|
||||||
label="${c:l('editarConfiguracionReservacionController.lbJue.value')}"
|
label="${c:l('editarConfiguracionReservacionController.lbJue.value')}"
|
||||||
checked="false" />
|
checked="false" />
|
||||||
<checkbox id="vie"
|
<checkbox id="vie"
|
||||||
label="${c:l('editarConfiguracionReservacionController.lbVie.value')}"
|
label="${c:l('editarConfiguracionReservacionController.lbVie.value')}"
|
||||||
checked="false" />
|
checked="false" />
|
||||||
<checkbox id="sab"
|
<checkbox id="sab"
|
||||||
label="${c:l('editarConfiguracionReservacionController.lbSab.value')}"
|
label="${c:l('editarConfiguracionReservacionController.lbSab.value')}"
|
||||||
checked="false" />
|
checked="false" />
|
||||||
<checkbox id="dom"
|
<checkbox id="dom"
|
||||||
label="${c:l('editarConfiguracionReservacionController.lbDom.value')}"
|
label="${c:l('editarConfiguracionReservacionController.lbDom.value')}"
|
||||||
checked="false" />
|
checked="false" />
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
<toolbar>
|
<toolbar>
|
||||||
<hbox spacing="5px" style="padding:1px"
|
<hbox spacing="5px" style="padding:1px"
|
||||||
align="right">
|
align="right">
|
||||||
<button id="btnApagarTiempo" height="20"
|
<button id="btnApagarTiempo" height="20"
|
||||||
image="/gui/img/remove.png" width="35px"
|
image="/gui/img/remove.png" width="35px"
|
||||||
tooltiptext="${c:l('editarTramosController.btnApagarTiempo.tooltiptext')}" />
|
tooltiptext="${c:l('editarTramosController.btnApagarTiempo.tooltiptext')}" />
|
||||||
<button id="btnSalvarTiempo" height="20"
|
<button id="btnSalvarTiempo" height="20"
|
||||||
image="/gui/img/add.png" width="35px"
|
image="/gui/img/add.png" width="35px"
|
||||||
tooltiptext="${c:l('editarTramosController.btnSalvarTiempo.tooltiptext')}" />
|
tooltiptext="${c:l('editarTramosController.btnSalvarTiempo.tooltiptext')}" />
|
||||||
</hbox>
|
</hbox>
|
||||||
</toolbar>
|
</toolbar>
|
||||||
<listbox id="tiempoList"
|
<listbox id="tiempoList"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
multiple="false">
|
multiple="false">
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader id="lhTiempoClaseServico"
|
<listheader id="lhTiempoClaseServico"
|
||||||
image="/gui/img/builder.gif"
|
image="/gui/img/builder.gif"
|
||||||
label="${c:l('editarTramosController.ClaseServicio.value')}"
|
label="${c:l('editarTramosController.ClaseServicio.value')}"
|
||||||
width="30%" />
|
width="30%" />
|
||||||
<listheader id="lhTiempoHorainicio"
|
<listheader id="lhTiempoHorainicio"
|
||||||
label="${c:l('editarTramosController.lhTiempoHorainicio.value')}" />
|
label="${c:l('editarTramosController.lhTiempoHorainicio.value')}" />
|
||||||
<listheader id="lhTiempoHorafin"
|
<listheader id="lhTiempoHorafin"
|
||||||
label="${c:l('editarTramosController.lhTiempoHorafin.value')}" />
|
label="${c:l('editarTramosController.lhTiempoHorafin.value')}" />
|
||||||
<listheader id="lhTiempoTiemporecorrido"
|
<listheader id="lhTiempoTiemporecorrido"
|
||||||
label="${c:l('editarTramosController.lhTiempoTiemporecorrido.value')}" />
|
label="${c:l('editarTramosController.lhTiempoTiemporecorrido.value')}" />
|
||||||
<listheader
|
<listheader
|
||||||
label="${c:l('editarConfiguracionReservacionController.lbLunM.value')}" />
|
label="${c:l('editarConfiguracionReservacionController.lbLunM.value')}" />
|
||||||
<listheader
|
<listheader
|
||||||
label="${c:l('editarConfiguracionReservacionController.lbMarM.value')}" />
|
label="${c:l('editarConfiguracionReservacionController.lbMarM.value')}" />
|
||||||
<listheader
|
<listheader
|
||||||
label="${c:l('editarConfiguracionReservacionController.lbMieM.value')}" />
|
label="${c:l('editarConfiguracionReservacionController.lbMieM.value')}" />
|
||||||
<listheader
|
<listheader
|
||||||
label="${c:l('editarConfiguracionReservacionController.lbJueM.value')}" />
|
label="${c:l('editarConfiguracionReservacionController.lbJueM.value')}" />
|
||||||
<listheader
|
<listheader
|
||||||
label="${c:l('editarConfiguracionReservacionController.lbVieM.value')}" />
|
label="${c:l('editarConfiguracionReservacionController.lbVieM.value')}" />
|
||||||
<listheader
|
<listheader
|
||||||
label="${c:l('editarConfiguracionReservacionController.lbSabM.value')}" />
|
label="${c:l('editarConfiguracionReservacionController.lbSabM.value')}" />
|
||||||
<listheader
|
<listheader
|
||||||
label="${c:l('editarConfiguracionReservacionController.lbDomM.value')}" />
|
label="${c:l('editarConfiguracionReservacionController.lbDomM.value')}" />
|
||||||
</listhead>
|
</listhead>
|
||||||
</listbox>
|
</listbox>
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
<tabpanel height="300px">
|
<tabpanel height="300px">
|
||||||
<grid fixedLayout="true">
|
<grid fixedLayout="true">
|
||||||
<columns>
|
<columns>
|
||||||
<column width="20%" />
|
<column width="20%" />
|
||||||
<column width="80%" />
|
<column width="80%" />
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<row>
|
||||||
<label value="${c:l('editarTramosController.lbItxCantkmpagoconductor.value')}" />
|
<label
|
||||||
<intbox id="itxCantkmpagoconductor" width="80%" maxlength="7" constraint="no empty" />
|
value="${c:l('editarTramosController.lbItxCantkmpagoconductor.value')}" />
|
||||||
</row>
|
<intbox id="itxCantkmpagoconductor"
|
||||||
<row>
|
width="80%" maxlength="7" constraint="no empty" />
|
||||||
<label value="${c:l('editarTramosController.labelEmpresa.value')}" />
|
</row>
|
||||||
<combobox id="cmbEmpresa" constraint="no empty" mold="rounded" buttonVisible="true"
|
<row>
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" model="@{winEditarTramos$composer.lsEmpresa}" width="80%" />
|
<label
|
||||||
</row>
|
value="${c:l('editarTramosController.labelEmpresa.value')}" />
|
||||||
</rows>
|
<combobox id="cmbEmpresa"
|
||||||
</grid>
|
constraint="no empty" mold="rounded" buttonVisible="true"
|
||||||
<toolbar>
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
<hbox spacing="5px" style="padding:1px"
|
model="@{winEditarTramos$composer.lsEmpresa}" width="80%" />
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
<toolbar>
|
||||||
|
<hbox spacing="5px" style="padding:1px"
|
||||||
align="right">
|
align="right">
|
||||||
<button id="btnApagarExcepcioneKm"
|
<button id="btnApagarExcepcioneKm"
|
||||||
height="20" image="/gui/img/remove.png" width="35px"
|
height="20" image="/gui/img/remove.png" width="35px"
|
||||||
tooltiptext="${c:l('editarTramosController.btnApagarExcepcioneKm.tooltiptext')}" />
|
tooltiptext="${c:l('editarTramosController.btnApagarExcepcioneKm.tooltiptext')}" />
|
||||||
<button id="btnSalvarExceptioneKm"
|
<button id="btnSalvarExceptioneKm"
|
||||||
height="20" image="/gui/img/add.png" width="35px"
|
height="20" image="/gui/img/add.png" width="35px"
|
||||||
tooltiptext="${c:l('editarTramosController.btnSalvarExceptioneKm.tooltiptext')}" />
|
tooltiptext="${c:l('editarTramosController.btnSalvarExceptioneKm.tooltiptext')}" />
|
||||||
</hbox>
|
</hbox>
|
||||||
</toolbar>
|
</toolbar>
|
||||||
<listbox id="tramoKmEmpresaList"
|
<listbox id="tramoKmEmpresaList"
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||||
multiple="false">
|
multiple="false">
|
||||||
<listhead sizable="true">
|
<listhead sizable="true">
|
||||||
<listheader id="lhKm"
|
<listheader id="lhKm"
|
||||||
image="/gui/img/builder.gif"
|
image="/gui/img/builder.gif"
|
||||||
label="${c:l('editarTramosController.lbItxCantkmpagoconductor.value')}"
|
label="${c:l('editarTramosController.lbItxCantkmpagoconductor.value')}"
|
||||||
width="30%" />
|
width="30%" />
|
||||||
<listheader id="lhEmpresa"
|
<listheader id="lhEmpresa"
|
||||||
label="${c:l('editarTramosController.labelEmpresa.value')}" />
|
label="${c:l('editarTramosController.labelEmpresa.value')}" />
|
||||||
</listhead>
|
</listhead>
|
||||||
</listbox>
|
</listbox>
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
</tabpanels>
|
<!-- Coeficientes -->
|
||||||
</tabbox>
|
<tabpanel height="300px">
|
||||||
</window>
|
<grid>
|
||||||
|
<columns>
|
||||||
|
<column width="40%" />
|
||||||
|
<column width="60%" />
|
||||||
|
<column width="40%" />
|
||||||
|
<column width="60%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<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" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<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" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<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" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<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" />
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
<toolbar>
|
||||||
|
<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"
|
||||||
|
tooltiptext="${c:l('editarTramosController.btnSalvarCoeficiente.tooltiptext')}" />
|
||||||
|
</hbox>
|
||||||
|
</toolbar>
|
||||||
|
<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')}" />
|
||||||
|
<listheader image="/gui/img/builder.gif"
|
||||||
|
label="${c:l('editarTramosController.labelKMCoeficiente1.value')}" />
|
||||||
|
<listheader image="/gui/img/builder.gif"
|
||||||
|
label="${c:l('editarTramosController.labelCoeficiente2.value')}" />
|
||||||
|
<listheader image="/gui/img/builder.gif"
|
||||||
|
label="${c:l('editarTramosController.labelKMCoeficiente2.value')}" />
|
||||||
|
<listheader image="/gui/img/builder.gif"
|
||||||
|
label="${c:l('editarTramosController.labelCoeficiente3.value')}" />
|
||||||
|
<listheader image="/gui/img/builder.gif"
|
||||||
|
label="${c:l('editarTramosController.labelKMCoeficiente3.value')}" />
|
||||||
|
<listheader image="/gui/img/builder.gif"
|
||||||
|
label="${c:l('editarTramosController.labelOrgaoConcedente.value')}" />
|
||||||
|
</listhead>
|
||||||
|
</listbox>
|
||||||
|
</tabpanel>
|
||||||
|
</tabpanels>
|
||||||
|
</tabbox>
|
||||||
|
</window>
|
||||||
</zk>
|
</zk>
|
||||||
|
|
Loading…
Reference in New Issue