168 lines
7.8 KiB
XML
168 lines
7.8 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="winEditarCategoria"?>
|
|
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
|
|
|
<zk xmlns="http://www.zkoss.org/2005/zul">
|
|
<window id="winEditarCategoria" border="normal"
|
|
apply="${editarCategoriaController}"
|
|
width="500px" height="507x" contentStyle="overflow:auto"
|
|
title="${c:l('editarCategoriaController.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('editarCategoriaController.btnApagar.tooltiptext')}"/>
|
|
<button id="btnSalvar" height="20"
|
|
image="/gui/img/save.png" width="35px"
|
|
tooltiptext="${c:l('editarCategoriaController.btnSalvar.tooltiptext')}"/>
|
|
<button id="btnFechar" height="20"
|
|
image="/gui/img/exit.png" width="35px"
|
|
onClick="winEditarCategoria.detach()"
|
|
tooltiptext="${c:l('editarCategoriaController.btnFechar.tooltiptext')}"/>
|
|
</hbox>
|
|
</toolbar>
|
|
<tabbox vflex="1" hflex="1">
|
|
<tabs>
|
|
|
|
<tab
|
|
label="${c:l('editarEmpresaController.lbNome.value')}" />
|
|
<tab id="tabAutorizacao" visible="@{winEditarCategoria$composer.categoria.indEmiteFormularioAutorizacao}"
|
|
label="${c:l('editarCategoriaController.lbAutPassageiro.value')}" />
|
|
</tabs>
|
|
|
|
<tabpanels style="overflow: auto">
|
|
<tabpanel>
|
|
<grid fixedLayout="true">
|
|
<columns>
|
|
<column width="40%" />
|
|
<column width="60%" />
|
|
</columns>
|
|
<rows>
|
|
<row>
|
|
<label id="lbNome" value="${c:l('editarCategoriaController.lbNome.value')}"/>
|
|
<textbox id="txtNome" constraint="no empty" width="100%" maxlength="30"
|
|
value="@{winEditarCategoria$composer.categoria.desccategoria}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
|
</row>
|
|
<row>
|
|
<label id="lbCveCategoria"
|
|
value="${c:l('editarCategoriaController.lbCvecategoria.value')}"/>
|
|
<textbox id="txtCvecategoria"
|
|
constraint="no empty"
|
|
width="20%"
|
|
maxlength="3"
|
|
value="@{winEditarCategoria$composer.categoria.cvecategoria}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarCategoriaController.lbGrupoCategoria.value')}" />
|
|
<combobox id="cmbGrupoCategoria" width="70%"
|
|
maxlength="60" mold="rounded" buttonVisible="true"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
model="@{winEditarCategoria$composer.lsGrupoCategoria}"
|
|
selectedItem="@{winEditarCategoria$composer.categoria.grupoCategoria}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarCategoriaController.lbDescontoMonitrip.value')}" />
|
|
<combobox id="cmbDescontoMonitrip"
|
|
mold="rounded" buttonVisible="true" width="100%"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
model="@{winEditarCategoria$composer.lsTipoDescontoMonitrips}"
|
|
selectedItem="@{winEditarCategoria$composer.categoria.tipoDescontoMonitrip}" />
|
|
</row>
|
|
<row>
|
|
<label
|
|
value="${c:l('editarCategoriaController.lbDescontoBPe.value')}" />
|
|
<combobox id="cmbDescontoBPe"
|
|
mold="rounded" buttonVisible="true" width="100%"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
|
model="@{winEditarCategoria$composer.lsTipoDescontoBPe}"
|
|
selectedItem="@{winEditarCategoria$composer.categoria.tipoDescontoBPe}" />
|
|
</row>
|
|
<row>
|
|
<label id="lbIndemitetermorecusa"
|
|
value="${c:l('editarCategoriaController.lbIndemitetermorecusa.value')}" />
|
|
<checkbox id="chkIndemitetermorecusa"
|
|
value="@{winEditarEmpresa$composer.categoria.indemitetermorecusa}" />
|
|
</row>
|
|
|
|
<row>
|
|
<label id="lbIndnaousaassento"
|
|
value="${c:l('editarCategoriaController.lbIndnaousaassento.value')}" />
|
|
<checkbox id="chkIndnaousaassento"
|
|
value="@{winEditarEmpresa$composer.categoria.indnaousaassento}" />
|
|
</row>
|
|
|
|
<row>
|
|
<label id="lbIndvendenaapi"
|
|
value="${c:l('editarCategoriaController.lbIndvendenaapi.value')}" />
|
|
<checkbox id="chkIndvendenaapi"
|
|
value="@{winEditarEmpresa$composer.categoria.indvendenaapi}" />
|
|
</row>
|
|
<row id="rowVendaEmPeAPI" visible="false">
|
|
<label
|
|
value="${c:l('editarCategoriaController.lblVendaEmPeAPI.value')}" />
|
|
<radiogroup Id="rgVendaEmPeAPI">
|
|
<radio id="radioVendaEmPeAPISim"
|
|
label="${c:l('editarCategoriaController.lblVendaEmPeAPISim.value')}" />
|
|
<radio id="radioVendaEmPeAPINao" checked="true"
|
|
label="${c:l('editarCategoriaController.lblVendaEmPeAPINao.value')}" />
|
|
</radiogroup>
|
|
</row>
|
|
<row>
|
|
<label id="lbIndExigeIdentidade"
|
|
value="${c:l('editarCategoriaController.lbIndExigeIdentidade.value')}" />
|
|
<checkbox id="chkIndExigeIdentidade"
|
|
value="@{winEditarEmpresa$composer.categoria.indExigeIdentidade}" />
|
|
</row>
|
|
<row>
|
|
<label id="lbDescImpresionGratuidade"
|
|
value="${c:l('editarCategoriaController.lbDescImpresionGratuidade.value')}" />
|
|
<textbox id="txtDescImpresionGratuidade" width="100%" maxlength="30"
|
|
value="@{winEditarCategoria$composer.categoria.descImpresionGratuidade}"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" rows="2"/>
|
|
</row>
|
|
<row>
|
|
<label value="${c:l('editarCategoriaController.indEmiteFormularioAutorizacao.value')}" />
|
|
|
|
<checkbox id="chkEmiteFormularioAutorizacao"
|
|
value="@{winEditarCategoria$composer.categoria.indEmiteFormularioAutorizacao}" />
|
|
</row>
|
|
<row>
|
|
<label value="${c:l('editarEmpresaController.indIntegracaoAGR')}" />
|
|
|
|
<checkbox id="chkIndntegracaoAGR"
|
|
value="@{winEditarEmpresa$composer.categoria.indIntegracaoAGR}" />
|
|
</row>
|
|
|
|
</rows>
|
|
</grid>
|
|
</tabpanel>
|
|
<tabpanel>
|
|
<toolbar>
|
|
<button id="btnAdicionarForm" height="20"
|
|
image="/gui/img/add.png" width="35px"
|
|
tooltiptext="${c:l('editarCategoriaController.btnAdcionarForm.tooltiptext')}" />
|
|
<button id="btnRemoverForm" height="20"
|
|
image="/gui/img/remove.png" width="35px"
|
|
tooltiptext="${c:l('editarCategoriaController.btnRemoverForm.tooltiptext')}" />
|
|
</toolbar>
|
|
<listbox id="tipoPassagemAutorizacaoList"
|
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
|
multiple="false" checkmark="false" tooltiptext="">
|
|
<listhead sizable="true">
|
|
<listheader id="secuencia"
|
|
image="/gui/img/create_doc.gif" width="100%"
|
|
label="${c:l('editarCategoriaController.lbEmpresa.value')}" />
|
|
</listhead>
|
|
</listbox>
|
|
</tabpanel>
|
|
</tabpanels>
|
|
</tabbox>
|
|
</window>
|
|
</zk>
|