266 lines
8.4 KiB
XML
266 lines
8.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?page contentType="text/html;charset=UTF-8"?>
|
|
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
|
|
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winFiltroRelatorioLinhasHorario"?>
|
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
|
|
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
|
<window id="winFiltroRelatorioLinhasHorario"
|
|
apply="${relatorioLinhasHorarioController}"
|
|
contentStyle="overflow:auto" height="570px" width="600px"
|
|
border="normal">
|
|
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="12%" />
|
|
<column width="38%" />
|
|
<column width="12%" />
|
|
<column width="38%" />
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row>
|
|
<label
|
|
value="${c:l('relatorioLinhasHorarioController.lbDataIni.value')}" />
|
|
<datebox id="datInicial" width="90%"
|
|
format="dd/MM/yyyy" constraint="no empty"
|
|
maxlength="10" />
|
|
<label
|
|
value="${c:l('relatorioLinhasHorarioController.lbDataFin.value')}" />
|
|
<datebox id="datFinal" width="90%"
|
|
format="dd/MM/yyyy" constraint="no empty"
|
|
maxlength="10" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('relatorioLinhasHorarioController.lbHoraSaidaInicial.value')}" />
|
|
<timebox id="horaInicial" width="50%" format="HH:mm"
|
|
mold="rounded" maxlength="10" cols="14" />
|
|
<label
|
|
value="${c:l('relatorioLinhasHorarioController.lbHoraSaidaFinal.value')}" />
|
|
<timebox id="horaFinal" width="50%" format="HH:mm"
|
|
mold="rounded" maxlength="10" cols="14" >
|
|
<attribute name="onFocus">
|
|
horaFinal.setText(horaInicial.getText());
|
|
</attribute>
|
|
</timebox>
|
|
</row>
|
|
<row height="30px" >
|
|
<cell colspan="4">
|
|
<checkbox id="chkIndSentidoIda"
|
|
label="${c:l('relatorioLinhasHorarioController.chKIda.value')}" width="100px" >
|
|
<attribute name="onFocus">
|
|
chkIndSentidoVolta.setChecked(false);
|
|
</attribute>
|
|
</checkbox>
|
|
<checkbox id="chkIndSentidoVolta"
|
|
label="${c:l('relatorioLinhasHorarioController.chKVolta.value')}" width="100px" >
|
|
<attribute name="onFocus">
|
|
chkIndSentidoIda.setChecked(false);
|
|
</attribute>
|
|
</checkbox>
|
|
</cell>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="20%" />
|
|
<column width="80%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label
|
|
value="${c:l('relatorioLinhasHorarioController.lbServico.label')}" />
|
|
|
|
<bandbox id="bbPesquisarServico" width="100%"
|
|
mold="rounded" readonly="true">
|
|
<bandpopup>
|
|
<vbox>
|
|
<hbox>
|
|
<intbox id="txtCorridaId" />
|
|
<button id="btnPesquisaServico"
|
|
image="/gui/img/find.png"
|
|
label="${c:l('relatorioLinhasHorarioController.btnPesquisa.label')}" />
|
|
<button id="btnLimparServico"
|
|
image="/gui/img/eraser.png"
|
|
label="${c:l('relatorioLinhasHorarioController.btnLimpar.label')}" />
|
|
</hbox>
|
|
|
|
<listbox id="servicoList" mold="paging"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
vflex="true" multiple="false" height="60%" width="410px">
|
|
<listhead>
|
|
<listheader
|
|
label="${c:l('relatorioLinhasHorarioController.lbServico.label')}"
|
|
width="20%" />
|
|
<listheader
|
|
label="${c:l('relatorioLinhasHorarioController.rutaId.label')}"
|
|
width="20%" />
|
|
<listheader
|
|
label="${c:l('relatorioLinhasHorarioController.origem.destino.label')}"
|
|
width="60%" />
|
|
</listhead>
|
|
</listbox>
|
|
<paging id="pagingServico"
|
|
pageSize="10" />
|
|
</vbox>
|
|
</bandpopup>
|
|
</bandbox>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
<cell colspan="4">
|
|
<borderlayout height="100px">
|
|
|
|
<center border="0">
|
|
<listbox id="servicoListSelList"
|
|
mold="paging"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
vflex="true" multiple="true" height="60%" width="100%">
|
|
<listhead>
|
|
<listheader
|
|
label="${c:l('relatorioLinhasHorarioController.lbServico.label')}"
|
|
width="20%" />
|
|
<listheader
|
|
label="${c:l('relatorioLinhasHorarioController.rutaId.label')}"
|
|
width="20%" />
|
|
<listheader
|
|
label="${c:l('relatorioLinhasHorarioController.origem.destino.label')}"
|
|
width="50%" />
|
|
<listheader width="10%" />
|
|
|
|
</listhead>
|
|
</listbox>
|
|
</center>
|
|
</borderlayout>
|
|
</cell>
|
|
</row>
|
|
|
|
<row>
|
|
<label
|
|
value="${c:l('relatorioLinhasHorarioController.lbLinha.label')}" />
|
|
|
|
<bandbox id="bbPesquisaLinha" width="100%"
|
|
mold="rounded" readonly="true">
|
|
<bandpopup>
|
|
<vbox>
|
|
<hbox>
|
|
<textbox
|
|
id="txtPalavraPesquisaLinha" />
|
|
<button id="btnPesquisaLinha"
|
|
image="/gui/img/find.png"
|
|
label="${c:l('relatorioLinhasHorarioController.btnPesquisa.label')}" />
|
|
<button id="btnLimparLinha"
|
|
image="/gui/img/eraser.png"
|
|
label="${c:l('relatorioLinhasHorarioController.btnLimpar.label')}" />
|
|
</hbox>
|
|
|
|
<listbox id="linhaList" mold="paging"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
vflex="true" multiple="false" height="60%" width="410px">
|
|
<listhead>
|
|
|
|
<listheader
|
|
label="${c:l('relatorioLinhasHorarioController.lbNumRuta.label')}"
|
|
width="18%" />
|
|
|
|
<listheader
|
|
label="${c:l('relatorioLinhasHorarioController.lbPrefixo.label')}"
|
|
width="20%" />
|
|
<listheader
|
|
label="${c:l('lb.dec')}" width="35%" />
|
|
<listheader
|
|
label="${c:l('relatorioLinhasHorarioController.lbOrgao.label')}"
|
|
width="27%" />
|
|
</listhead>
|
|
</listbox>
|
|
<paging id="pagingLinha" pageSize="10" />
|
|
</vbox>
|
|
</bandpopup>
|
|
</bandbox>
|
|
</row>
|
|
|
|
<row>
|
|
<cell colspan="4">
|
|
<borderlayout height="100px">
|
|
|
|
<center border="0">
|
|
<listbox id="linhaListSelList"
|
|
mold="paging"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
vflex="true" multiple="true" height="60%" width="100%">
|
|
<listhead>
|
|
<listheader
|
|
label="${c:l('relatorioLinhasHorarioController.lbNumRuta.label')}"
|
|
width="18%" />
|
|
<listheader
|
|
label="${c:l('relatorioLinhasHorarioController.lbPrefixo.label')}"
|
|
width="20%" />
|
|
<listheader
|
|
label="${c:l('lb.dec')}" width="30%" />
|
|
<listheader
|
|
label="${c:l('relatorioLinhasHorarioController.lbOrgao.label')}"
|
|
width="22%" />
|
|
<listheader width="10%" />
|
|
</listhead>
|
|
</listbox>
|
|
</center>
|
|
</borderlayout>
|
|
</cell>
|
|
</row>
|
|
|
|
<row>
|
|
<label
|
|
value="${c:l('relatorioLinhasHorarioController.lbEmpresa.label')}" />
|
|
<combobox id="cmbEmpresa"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
mold="rounded" buttonVisible="true" width="100%"
|
|
model="@{winFiltroRelatorioLinhasHorario$composer.lsEmpresa}"/>
|
|
|
|
</row>
|
|
|
|
<row>
|
|
<label
|
|
value="${c:l('relatorioLinhasHorarioController.lbGrupoRuta.label')}" />
|
|
<combobox id="cmbGrupoRuta"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
mold="rounded" buttonVisible="true" width="100%"
|
|
model="@{winFiltroRelatorioLinhasHorario$composer.lsGrupoRuta}" />
|
|
|
|
</row>
|
|
|
|
<row>
|
|
<label
|
|
value="${c:l('relatorioLinhasHorarioController.rdTipoServico.label')}" />
|
|
<radiogroup Id="rdTipoServico">
|
|
<hbox align="center">
|
|
<radio Id="rdOrdinario" value="1"
|
|
label="${c:l('relatorioLinhasHorarioController.rdOrdinario.label')}" />
|
|
<radio Id="rdExtraOrdinario" value="2"
|
|
label="${c:l('relatorioLinhasHorarioController.rdExtraOrdinario.label')}" />
|
|
<radio Id="rdTodos" value="0"
|
|
label="${c:l('relatorioLinhasHorarioController.rdTodos.label')}"
|
|
checked="true" />
|
|
</hbox>
|
|
</radiogroup>
|
|
</row>
|
|
<row height="40px" >
|
|
<cell colspan="2">
|
|
<checkbox id="chkSimplificado"
|
|
label="${c:l('relatorioLinhasHorarioController.lblSimplificado.value')}" >
|
|
</checkbox>
|
|
</cell>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
|
|
<toolbar>
|
|
<button id="btnExecutarRelatorio" image="/gui/img/find.png"
|
|
label="${c:l('relatorio.lb.btnExecutarRelatorio')}" />
|
|
</toolbar>
|
|
</window>
|
|
</zk> |