AdmMono/web/gui/ingreso/editarTipoEventoExtra.zul

181 lines
7.3 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="winEditarTipoEventoExtra"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winEditarTipoEventoExtra" border="normal"
apply="${editarTipoEventoExtraController}" height="550px"
width="600px" contentStyle="overflow:auto"
title="${c:l('editarTipoEventoExtraController.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('editarTipoEventoExtraController.btnApagar.tooltiptext')}" />
<button id="btnSalvar" height="20"
image="/gui/img/save.png" width="35px"
tooltiptext="${c:l('editarTipoEventoExtraController.btnSalvar.tooltiptext')}" />
<button id="btnFechar" height="20"
image="/gui/img/exit.png" width="35px"
onClick="winEditarTipoEventoExtra.detach()"
tooltiptext="${c:l('editarTipoEventoExtraController.btnFechar.tooltiptext')}" />
</hbox>
</toolbar>
<radiogroup id="sv1"
onCheck="choice1.value = self.selectedItem.label" />
<radiogroup id="sv2"
onCheck="choice1.value = self.selectedItem.label" />
<grid fixedLayout="true">
<columns>
<column width="40%" />
<column width="60%" />
</columns>
<rows>
<row>
<label id="lbNome"
value="${c:l('editarTipoEventoExtraController.lbNome.value')}" />
<textbox id="txtNome" constraint="no empty"
width="80%" maxlength="30"
value="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.descTipoEvento}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<label
value="${c:l('editarTipoEventoExtraController.importeMaximo.label')}" />
<textbox id="impMax"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
precision="7" scale="2" constraint="no empty"
value="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.impmax,converter=com.rjconsultores.ventaboletos.web.utilerias.StringDecimalToDecimalConverter}" />
</row>
<row>
<label
value="${c:l('editarTipoEventoExtraController.Operacion.label')}" />
<combobox id="cmbIndOperacion" constraint="no empty"
width="90%" mold="rounded" buttonVisible="true"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
selectedItem="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.indoperacion, converter='com.rjconsultores.ventaboletos.web.utilerias.StringToShortConverter'}">
<comboitem value="1"
label="${c:l('editarTipoEventoExtraController.rd1.label')}" />
<comboitem value="2"
label="${c:l('editarTipoEventoExtraController.rd2.label')}" />
<comboitem value="3"
label="${c:l('editarTipoEventoExtraController.rd3.label')}" />
</combobox>
</row>
<row>
<label
value="${c:l('editarTipoEventoExtraController.validaCorte.label')}" />
<checkbox id="cbValidaCorte" checked="false"
disabled="true" />
</row>
<row>
<label
value="${c:l('editarTipoEventoExtraController.validaDocumento.label')}" />
<checkbox id="cbValidaDocumento" checked="false"
disabled="true" />
</row>
<row>
<label
value="${c:l('editarTipoEventoExtraController.contrapartida.label')}" />
<checkbox id="cbContrapartida" checked="false"
disabled="true" />
</row>
<row>
<label
value="${c:l('editarTipoEventoExtraController.ordem.label')}" />
<checkbox id="cbOrdenServicio" checked="false"
disabled="true" />
</row>
<row>
<label
value="${c:l('editarTipoEventoExtraController.boleto.label')}" />
<checkbox id="cbBoleto" checked="false"
disabled="true" />
</row>
<row>
<label
value="${c:l('editarTipoEventoExtraController.tipoOperacion.value')}" />
<hbox>
<radio id="raTipo11" label="(+)"
radiogroup="sv1" />
<radio id="raTipo22" label="(-)"
radiogroup="sv1" />
</hbox>
</row>
<row id="rowParamArticulo">
<label
value="${c:l('editarTipoEventoExtraController.cuentaContable.label')}" />
<combobox id="cmbParamArticulo"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
constraint="no empty" mold="rounded" buttonVisible="true"
width="80%"
model="@{winEditarTipoEventoExtra$composer.lsParamArticulo}"
selectedItem="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.paramArticulo}" />
</row>
<row>
<label
value="${c:l('editarTipoEventoExtraController.formaPago.label')}" />
<combobox id="cmbFormaPago"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
constraint="no empty" mold="rounded" buttonVisible="true"
width="80%"
model="@{winEditarTipoEventoExtra$composer.lsFormaPago}"
selectedItem="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.formaPago}" />
</row>
<row>
<label
value="${c:l('editarTipoEventoExtraController.iva.label')}" />
<textbox id="porcIva"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
precision="7" scale="2"
value="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.porciva,converter=com.rjconsultores.ventaboletos.web.utilerias.StringDecimalToDecimalConverter}" />
</row>
<row>
<label
value="${c:l('editarTipoEventoExtraController.proveedor.label')}" />
<textbox id="proveedor" width="80%" maxlength="20"
value="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.proveedor}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row spans="2">
<label
value="${c:l('editarTipoEventoExtraController.contrapartida.label')}" />
</row>
<row>
<label
value="${c:l('editarTipoEventoExtraController.tipoOperacion.value')}" />
<hbox>
<radio id="raTipo1" label="(+)" radiogroup="sv2"
disabled="true" />
<radio id="raTipo2" label="(-)" radiogroup="sv2"
disabled="true" />
</hbox>
</row>
<row id="rowParamArticulo2">
<label
value="${c:l('editarTipoEventoExtraController.cuentaContable.label')}" />
<combobox id="cmbParamArticulo2"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true" width="80%"
model="@{winEditarTipoEventoExtra$composer.lsParamArticulo}"
selectedItem="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.paramArticulo2}" />
</row>
<row>
<label
value="${c:l('editarTipoEventoExtraController.formaPago.label')}" />
<combobox id="cmbFormaPago2"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true" width="80%"
model="@{winEditarTipoEventoExtra$composer.lsFormaPago}"
selectedItem="@{winEditarTipoEventoExtra$composer.tipoEventoExtra.formaPago2}" />
</row>
</rows>
</grid>
</window>
</zk>