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.labelVia.value = Via
|
||||
editarTramosController.tabTramos.label = Trechos
|
||||
editarTramosController.tabOrgaoCoeficientes.label = Coeficientes
|
||||
editarTramosController.tabServicio.label = Tempo Geral
|
||||
editarTramosController.lbKmReal.value = KM Real
|
||||
editarTramosController.lbKmTarifa.value = KM Tarifa
|
||||
|
@ -1104,6 +1105,15 @@ editarTramosController.btnApagarExcepcioneKm.tooltiptext = Eliminar
|
|||
editarTramosController.btnSalvarExceptioneKm.tooltiptext = Salva Trecho Km
|
||||
editarTramosController.MSG.selecioneTramoKm = Selecione uma 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
|
||||
pantalla.VentaBoletosTDO.window.title = Grupo Senda - Comissionista onLine
|
||||
|
|
|
@ -5,80 +5,82 @@
|
|||
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||
|
||||
<zk>
|
||||
<window id="winEditarTramos" border="normal"
|
||||
apply="${editarTramosController}" width="700px" height="400px"
|
||||
<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"
|
||||
<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"
|
||||
<button id="btnSalvar" height="20"
|
||||
image="/gui/img/save.png" width="35px"
|
||||
tooltiptext="${c:l('editarTramosController.btnSalvar.tooltiptext')}" />
|
||||
<button id="btnFechar" height="20"
|
||||
<button id="btnFechar" height="20"
|
||||
image="/gui/img/exit.png" width="35px"
|
||||
onClick="winEditarTramos.detach()"
|
||||
tooltiptext="${c:l('editarTramosController.btnFechar.tooltiptext')}" />
|
||||
</hbox>
|
||||
</toolbar>
|
||||
</hbox>
|
||||
</toolbar>
|
||||
|
||||
<tabbox>
|
||||
<tabs>
|
||||
<tab id="tabTramos"
|
||||
<tabbox>
|
||||
<tabs>
|
||||
<tab id="tabTramos"
|
||||
label="${c:l('editarTramosController.tabTramos.label')}" />
|
||||
<tab id="tabServicio"
|
||||
<tab id="tabServicio"
|
||||
label="${c:l('editarTramosController.tabServicio.label')}" />
|
||||
<tab id="tabTiempo"
|
||||
<tab id="tabTiempo"
|
||||
label="${c:l('editarTramosController.tabTiempo.label')}" />
|
||||
<tab id="tabExcepcionesKm"
|
||||
<tab id="tabExcepcionesKm"
|
||||
label="${c:l('editarTramosController.tabExcepcionesKm.label')}" />
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
<tabpanel>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="20%" />
|
||||
<column width="80%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label id="lbNome"
|
||||
<tab id="tabOrgaoCoeficientes"
|
||||
label="${c:l('editarTramosController.tabOrgaoCoeficientes.label')}" />
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
<tabpanel>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="20%" />
|
||||
<column width="80%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label id="lbNome"
|
||||
value="${c:l('editarTramosController.lbNome.value')}" />
|
||||
<textbox id="txtNome"
|
||||
<textbox id="txtNome"
|
||||
constraint="no empty" width="80%" maxlength="20"
|
||||
value="@{winEditarTramos$composer.tramo.desctramo}"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarTramosController.labelOrigen.value')}" />
|
||||
<combobox id="cmbParadaOrigem"
|
||||
<combobox id="cmbParadaOrigem"
|
||||
constraint="no empty"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
|
||||
mold="rounded" buttonVisible="true" width="80%"
|
||||
initialValue="@{winEditarTramos$composer.tramo.origem}"
|
||||
selectedItem="@{winEditarTramos$composer.tramo.origem}" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarTramosController.labelDestino.value')}" />
|
||||
<combobox id="cmbParadaDestino"
|
||||
<combobox id="cmbParadaDestino"
|
||||
constraint="no empty"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
|
||||
mold="rounded" buttonVisible="true" width="80%"
|
||||
initialValue="@{winEditarTramos$composer.tramo.destino}"
|
||||
selectedItem="@{winEditarTramos$composer.tramo.destino}" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarTramosController.labelVia.value')}" />
|
||||
<combobox id="cmbVia"
|
||||
<combobox id="cmbVia"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
constraint="no empty" mold="rounded" buttonVisible="true"
|
||||
width="80%" model="@{winEditarTramos$composer.lsVias}"
|
||||
selectedItem="@{winEditarTramos$composer.tramo.via}" />
|
||||
</row>
|
||||
</row>
|
||||
<!--row>
|
||||
<label id="lbKmReal" value="${c:l('editarTramosController.lbKmReal.value')}"/>
|
||||
<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"
|
||||
value="@{winEditarTramos$composer.tramo.kmPagoConductor}"/>
|
||||
</row-->
|
||||
<row>
|
||||
<label
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarTramosController.lbKmReal.value')}" />
|
||||
<textbox id="txKmReal" width="80%"
|
||||
<textbox id="txKmReal" width="80%"
|
||||
maxlength="11"
|
||||
value="@{winEditarTramos$composer.tramo.kmReal}" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarTramosController.lbKmPagoConductor.value')}" />
|
||||
<textbox id="txtKmPagoConductor"
|
||||
<textbox id="txtKmPagoConductor"
|
||||
width="80%" maxlength="11"
|
||||
value="@{winEditarTramos$composer.tramo.kmPagoConductor}" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</tabpanel>
|
||||
<tabpanel height="300px" >
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="20%" />
|
||||
<column width="80%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label id="lbClaseServicio"
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</tabpanel>
|
||||
<tabpanel height="300px">
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="20%" />
|
||||
<column width="80%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label id="lbClaseServicio"
|
||||
value="${c:l('editarTramosController.lbClaseServicio.value')}" />
|
||||
<combobox id="cmbClaseServicio"
|
||||
<combobox id="cmbClaseServicio"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
mold="rounded" buttonVisible="true" width="90%"
|
||||
model="@{winEditarTramos$composer.lsClaseServicio}" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarTramosController.lbTiempoRecorrido.value')}" />
|
||||
<hbox>
|
||||
<vbox>
|
||||
<hbox>
|
||||
<spinner id="spHora"
|
||||
<hbox>
|
||||
<vbox>
|
||||
<hbox>
|
||||
<spinner id="spHora"
|
||||
value="00" width="50px" maxlength="2"
|
||||
constraint="max 99,no negative" mold="rounded" />
|
||||
<label value=":" />
|
||||
<spinner id="spMinuto"
|
||||
<label value=":" />
|
||||
<spinner id="spMinuto"
|
||||
value="00" width="50px" maxlength="2"
|
||||
constraint="max 59,no negative" mold="rounded" />
|
||||
</hbox>
|
||||
</vbox>
|
||||
</hbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px"
|
||||
</hbox>
|
||||
</vbox>
|
||||
</hbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px"
|
||||
align="right">
|
||||
<button id="btnApagarServicio" height="20"
|
||||
<button id="btnApagarServicio" height="20"
|
||||
image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarTramosController.btnApagarAtributo.tooltiptext')}" />
|
||||
<button id="btnSalvarServicio" height="20"
|
||||
<button id="btnSalvarServicio" height="20"
|
||||
image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('editarTramosController.btnSalvarAtributo.tooltiptext')}" />
|
||||
</hbox>
|
||||
</toolbar>
|
||||
<listbox id="servicioList"
|
||||
</hbox>
|
||||
</toolbar>
|
||||
<listbox id="servicioList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
<listhead sizable="true">
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarTramosController.ClaseServicio.value')}" />
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
<listheader image="/gui/img/builder.gif"
|
||||
label="${c:l('editarTramosController.lbTiemporecorrido.value')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
<tabpanel height="300px">
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="20%" />
|
||||
<column width="80%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label id="lbClaseServicioTiempo"
|
||||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
<tabpanel height="300px">
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="20%" />
|
||||
<column width="80%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label id="lbClaseServicioTiempo"
|
||||
value="${c:l('editarTramosController.lbClaseServicio.value')}" />
|
||||
<combobox id="cmbClaseServicioTiempo"
|
||||
<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"
|
||||
</row>
|
||||
<row>
|
||||
<label id="lbTiemporecorrido"
|
||||
value="${c:l('editarTramosController.lbTiemporecorrido.value')}" />
|
||||
<hbox>
|
||||
<vbox>
|
||||
<hbox>
|
||||
<spinner id="spHoraTiempo"
|
||||
<hbox>
|
||||
<vbox>
|
||||
<hbox>
|
||||
<spinner id="spHoraTiempo"
|
||||
value="00" width="50px" maxlength="2"
|
||||
constraint="max 99,no negative" mold="rounded" />
|
||||
<label value=":" />
|
||||
<spinner id="spMinutoTiempo"
|
||||
<label value=":" />
|
||||
<spinner id="spMinutoTiempo"
|
||||
value="00" width="50px" maxlength="2"
|
||||
constraint="max 59,no negative" mold="rounded" />
|
||||
</hbox>
|
||||
</vbox>
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<label id="lbHorainicio"
|
||||
</hbox>
|
||||
</vbox>
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<label id="lbHorainicio"
|
||||
value="${c:l('editarTramosController.lbHorainicio.value')}" />
|
||||
<timebox id="horainicio" cols="14"
|
||||
<timebox id="horainicio" cols="14"
|
||||
format="HH:mm" mold="rounded" constraint="no empty" />
|
||||
</row>
|
||||
<row>
|
||||
<label id="lbHorafin"
|
||||
</row>
|
||||
<row>
|
||||
<label id="lbHorafin"
|
||||
value="${c:l('editarTramosController.lbHorafin.value')}" />
|
||||
<timebox id="horafin" cols="14"
|
||||
<timebox id="horafin" cols="14"
|
||||
format="HH:mm" mold="rounded" constraint="no empty" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarConfiguracionReservacionController.lbDias.value')}" />
|
||||
<hbox>
|
||||
<checkbox id="lun"
|
||||
<hbox>
|
||||
<checkbox id="lun"
|
||||
label="${c:l('editarConfiguracionReservacionController.lbLun.value')}"
|
||||
checked="false" />
|
||||
<checkbox id="mar"
|
||||
<checkbox id="mar"
|
||||
label="${c:l('editarConfiguracionReservacionController.lbMar.value')}"
|
||||
checked="false" />
|
||||
<checkbox id="mie"
|
||||
<checkbox id="mie"
|
||||
label="${c:l('editarConfiguracionReservacionController.lbMie.value')}"
|
||||
checked="false" />
|
||||
<checkbox id="jue"
|
||||
<checkbox id="jue"
|
||||
label="${c:l('editarConfiguracionReservacionController.lbJue.value')}"
|
||||
checked="false" />
|
||||
<checkbox id="vie"
|
||||
<checkbox id="vie"
|
||||
label="${c:l('editarConfiguracionReservacionController.lbVie.value')}"
|
||||
checked="false" />
|
||||
<checkbox id="sab"
|
||||
<checkbox id="sab"
|
||||
label="${c:l('editarConfiguracionReservacionController.lbSab.value')}"
|
||||
checked="false" />
|
||||
<checkbox id="dom"
|
||||
<checkbox id="dom"
|
||||
label="${c:l('editarConfiguracionReservacionController.lbDom.value')}"
|
||||
checked="false" />
|
||||
</hbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px"
|
||||
</hbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px"
|
||||
align="right">
|
||||
<button id="btnApagarTiempo" height="20"
|
||||
<button id="btnApagarTiempo" height="20"
|
||||
image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarTramosController.btnApagarTiempo.tooltiptext')}" />
|
||||
<button id="btnSalvarTiempo" height="20"
|
||||
<button id="btnSalvarTiempo" height="20"
|
||||
image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('editarTramosController.btnSalvarTiempo.tooltiptext')}" />
|
||||
</hbox>
|
||||
</toolbar>
|
||||
<listbox id="tiempoList"
|
||||
</hbox>
|
||||
</toolbar>
|
||||
<listbox id="tiempoList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader id="lhTiempoClaseServico"
|
||||
<listhead sizable="true">
|
||||
<listheader id="lhTiempoClaseServico"
|
||||
image="/gui/img/builder.gif"
|
||||
label="${c:l('editarTramosController.ClaseServicio.value')}"
|
||||
width="30%" />
|
||||
<listheader id="lhTiempoHorainicio"
|
||||
<listheader id="lhTiempoHorainicio"
|
||||
label="${c:l('editarTramosController.lhTiempoHorainicio.value')}" />
|
||||
<listheader id="lhTiempoHorafin"
|
||||
<listheader id="lhTiempoHorafin"
|
||||
label="${c:l('editarTramosController.lhTiempoHorafin.value')}" />
|
||||
<listheader id="lhTiempoTiemporecorrido"
|
||||
<listheader id="lhTiempoTiemporecorrido"
|
||||
label="${c:l('editarTramosController.lhTiempoTiemporecorrido.value')}" />
|
||||
<listheader
|
||||
<listheader
|
||||
label="${c:l('editarConfiguracionReservacionController.lbLunM.value')}" />
|
||||
<listheader
|
||||
<listheader
|
||||
label="${c:l('editarConfiguracionReservacionController.lbMarM.value')}" />
|
||||
<listheader
|
||||
<listheader
|
||||
label="${c:l('editarConfiguracionReservacionController.lbMieM.value')}" />
|
||||
<listheader
|
||||
<listheader
|
||||
label="${c:l('editarConfiguracionReservacionController.lbJueM.value')}" />
|
||||
<listheader
|
||||
<listheader
|
||||
label="${c:l('editarConfiguracionReservacionController.lbVieM.value')}" />
|
||||
<listheader
|
||||
<listheader
|
||||
label="${c:l('editarConfiguracionReservacionController.lbSabM.value')}" />
|
||||
<listheader
|
||||
<listheader
|
||||
label="${c:l('editarConfiguracionReservacionController.lbDomM.value')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
<tabpanel height="300px">
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="20%" />
|
||||
<column width="80%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<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%" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px"
|
||||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
<tabpanel height="300px">
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="20%" />
|
||||
<column width="80%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<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%" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<hbox spacing="5px" style="padding:1px"
|
||||
align="right">
|
||||
<button id="btnApagarExcepcioneKm"
|
||||
<button id="btnApagarExcepcioneKm"
|
||||
height="20" image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarTramosController.btnApagarExcepcioneKm.tooltiptext')}" />
|
||||
<button id="btnSalvarExceptioneKm"
|
||||
<button id="btnSalvarExceptioneKm"
|
||||
height="20" image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('editarTramosController.btnSalvarExceptioneKm.tooltiptext')}" />
|
||||
</hbox>
|
||||
</toolbar>
|
||||
<listbox id="tramoKmEmpresaList"
|
||||
</hbox>
|
||||
</toolbar>
|
||||
<listbox id="tramoKmEmpresaList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader id="lhKm"
|
||||
<listhead sizable="true">
|
||||
<listheader id="lhKm"
|
||||
image="/gui/img/builder.gif"
|
||||
label="${c:l('editarTramosController.lbItxCantkmpagoconductor.value')}"
|
||||
width="30%" />
|
||||
<listheader id="lhEmpresa"
|
||||
<listheader id="lhEmpresa"
|
||||
label="${c:l('editarTramosController.labelEmpresa.value')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
</window>
|
||||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
<!-- Coeficientes -->
|
||||
<tabpanel height="300px">
|
||||
<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>
|
||||
|
|
Loading…
Reference in New Issue