AdmMono/VentaBoletosAdm/web/gui/impressaofiscal/editarFormapagoEmpresa.zul

81 lines
3.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<?page title="FormapagoEmpresa" contentType="text/html;charset=UTF-8"?>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" arg0="winEditarFormapagoEmpresa"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk>
<window id="winEditarFormapagoEmpresa" title="${c:l('editarFormapagoEmpresaController.window.title')}"
apply="${editarFormapagoEmpresaController}" contentStyle="overflow:auto"
height="215px" width="450px" border="normal" >
<toolbar>
<hbox spacing="5px" style="padding:1px" align="right">
<button id="btnApagar" height="20"
image="/gui/img/remove.png" width="35px"
tooltiptext="${c:l('editarFormapagoEmpresaController.btnApagar.tooltiptext')}" disabled="false"/>
<button id="btnSalvar" height="20"
image="/gui/img/save.png" width="35px"
tooltiptext="${c:l('editarFormapagoEmpresaController.btnSalvar.tooltiptext')}" disabled="false"/>
<button id="btnFechar" height="20"
image="/gui/img/exit.png" width="35px"
onClick="winEditarFormapagoEmpresa.detach()"
tooltiptext="${c:l('editarFormapagoEmpresaController.btnFechar.tooltiptext')}" disabled="false"/>
</hbox>
</toolbar>
<grid fixedLayout="true">
<columns>
<column width="40%" />
<column width="60%" />
</columns>
<rows>
<row>
<label
value="${c:l('busquedaFormapagoEmpresaController.empresa.label')}" />
<combobox id="cmbEmpresa"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
width="70%" mold="rounded" buttonVisible="true"
model="@{winEditarFormapagoEmpresa$composer.lsEmpresas}"
selectedItem="@{winEditarFormapagoEmpresa$composer.formapagoEmpresa.empresa}"
constraint="no empty" />
</row>
<row>
<label value="${c:l('busquedaFormapagoEmpresaController.tipoformapago.label')}"/>
<combobox id="cmbTipoformapago" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true" width="70%"
model="@{winEditarFormapagoEmpresa$composer.lsTipoformapago}"
selectedItem="@{winEditarFormapagoEmpresa$composer.formapagoEmpresa.tipoformapago}"
constraint="no empty"/>
</row>
<row>
<label value="${c:l('busquedaFormapagoEmpresaController.descricao.label')}" />
<textbox id="txtDescricao" width="300px"
maxlength="20"
value="@{winEditarFormapagoEmpresa$composer.formapagoEmpresa.descricao}"
constraint="no empty"/>
</row>
<row>
<label value="${c:l('busquedaFormapagoEmpresaController.formapagototalbus.label')}"/>
<combobox id="cmbTipoformapagoTotalBus" use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true" width="70%" disabled="@{winEditarFormapagoEmpresa$composer.desabilitaComboFormaPago}"
model="@{winEditarFormapagoEmpresa$composer.lsTipoformapagoTotalBus}"
selectedItem="@{winEditarFormapagoEmpresa$composer.formapagoEmpresa.formaPago}"/>
</row>
<row>
<label value="${c:l('busquedaFormapagoEmpresaController.vinculada.label')}"/>
<radiogroup>
<radio id="radVinculado" label="${c:l('MSG.SI')}" />
<radio id="radNaoVinculado" label="${c:l('MSG.NO')}" checked="true"/>
</radiogroup>
</row>
</rows>
</grid>
</window>
</zk>