AdmMono/web/gui/catalogos/editarPuntoVenta.zul

994 lines
35 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="winEditarPuntoVenta"?>
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk xmlns="http://www.zkoss.org/2005/zul">
<window id="winEditarPuntoVenta" border="normal"
apply="${editarPuntoVentaController}" height="575px" width="640px"
contentStyle="overflow:auto" xmlns:h="http://www.w3.org/1999/xhtml"
title="${c:l('editarPuntoVentaController.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('editarPuntoVentaController.btnApagar.tooltiptext')}" />
<button id="btnSalvar" height="20"
image="/gui/img/save.png" width="35px"
tooltiptext="${c:l('editarPuntoVentaController.btnSalvar.tooltiptext')}" />
<button id="btnFechar" height="20"
image="/gui/img/exit.png" width="35px"
onClick="winEditarPuntoVenta.detach()"
tooltiptext="${c:l('editarPuntoVentaController.btnFechar.tooltiptext')}" />
</hbox>
</toolbar>
<tabbox id="tabboxTitle">
<tabs width="200px">
<tab
label="${c:l('editarPuntoVentaController.window.title')}" />
<tab
label="${c:l('editarPuntoVentaController.tab.label.endereco')}" />
<tab
label="${c:l('editarPuntoVentaController.tab.label.comissao')}" />
<tab
label="${c:l('editarPuntoVentaController.tab.label.banco')}" />
<tab
label="${c:l('editarPuntoVentaController.tab.label.titular')}" />
<tab
label="${c:l('editarPuntoVentaController.tab.label.diversos')}" />
<tab
label="${c:l('editarPuntoVentaController.tab.label.antecipa')}" />
<tab
label="${c:l('editarPuntoVentaController.tab.label.horario')}" />
<tab
label="${c:l('indexController.mniFormaPago.label')}" />
<tab
label="${c:l('editarPuntoVentaController.tab.label.recoleccion')}" />
<tab visible="false"
label="${c:l('editarPuntoVentaController.tab.label.empVenta')}" />
<tab visible="false"
label="${c:l('editarPuntoVentaController.tab.label.usuBancario')}" />
<tab
label="${c:l('editarPuntoVentaController.tab.label.estoque')}" />
</tabs>
<tabpanels>
<tabpanel>
<grid fixedLayout="true">
<columns>
<column width="30%" />
<column width="70%" />
</columns>
<rows>
<row>
<!--Nome do Ponto de Venda-->
<label
value="${c:l('editarPuntoVentaController.lbNome.value')}" />
<textbox id="txtNome"
constraint="no empty" width="70%" maxlength="60"
value="@{winEditarPuntoVenta$composer.puntoVenta.nombpuntoventa}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<label
value="${c:l('editarPuntoVentaController.lblNumPuntoVenda')}" />
<textbox id="txtNumPtoVta"
maxlength="10" constraint="no empty"
value="@{winEditarPuntoVenta$composer.puntoVenta.numPuntoVenta}" />
</row>
<row>
<label
value="${c:l('editarPuntoVentaController.lblMaxCancelacion')}" />
<intbox id="txtMaxCancelacion"
constraint="no empty"
value="@{winEditarPuntoVenta$composer.puntoVenta.tiempoCancelacion}" />
</row>
<row>
<!-- Parada -->
<label
value="${c:l('editarPuntoVentaController.lbparada.value')}" />
<combobox id="cmbParada"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada"
mold="rounded" buttonVisible="true" width="70%"
selectedItem="@{winEditarPuntoVenta$composer.puntoVenta.parada}" />
</row>
<row>
<!-- Empresa -->
<label
value="${c:l('editarPuntoVentaController.lbEmpresa.value')}" />
<combobox id="cmbEmpresa"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
constraint="no empty" mold="rounded" buttonVisible="true"
width="70%" model="@{winEditarPuntoVenta$composer.lsEmpresas}"
selectedItem="@{winEditarPuntoVenta$composer.puntoVenta.empresa}" />
</row>
<row>
<!-- Tipo Pto Venda -->
<label
value="${c:l('editarPuntoVentaController.lbTpoPtoVta.value')}" />
<combobox id="cmbTipoPontoVenta"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
constraint="no empty" mold="rounded" buttonVisible="true"
width="70%"
model="@{winEditarPuntoVenta$composer.lsTipoPuntoVenta}"
selectedItem="@{winEditarPuntoVenta$composer.puntoVenta.tipoPuntoVenta}" />
</row>
<row>
<!-- Moneda -->
<label
value="${c:l('editarPuntoVentaController.lbMoneda.value')}" />
<combobox id="cmbMoneda"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
constraint="no empty" mold="rounded" buttonVisible="true"
width="70%" model="@{winEditarPuntoVenta$composer.lsMoneda}"
selectedItem="@{winEditarPuntoVenta$composer.puntoVenta.moneda}" />
</row>
<row>
<label
value="${c:l('editarPuntoVentaController.lbSubordinadaPunto.label')}" />
<combobox id="cmbPuntoVentaPadre"
mold="rounded" buttonVisible="true" width="90%"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
initialValue="@{winEditarPuntoVenta$composer.puntoVenta.puntoVentaPadre}"
selectedItem="@{winEditarPuntoVenta$composer.puntoVenta.puntoVentaPadre}" />
</row>
<row>
<!-- Status Aprobacion -->
<label
value="${c:l('editarPuntoVentaController.lbStaAprobacion.value')}" />
<radiogroup Id="indAprobacion">
<radio id="radAprobacionAutorizado"
label="${c:l('editarCatalogoDeRutaController.radAprobacionAutorizado.value')}"
checked="true" />
<radio id="radAprobacionLatente"
label="${c:l('editarCatalogoDeRutaController.radAprobacionLatente.value')}" />
</radiogroup>
</row>
<row>
<label
value="${c:l('editarPuntoVentaController.lbStock.value')}" />
<checkbox id="checkStock"
label="${c:l('editarPuntoVentaController.lbCheckStock.value')}"
checked="false" />
</row>
<row>
<!-- Tel1 -->
<label
value="${c:l('editarPuntoVentaController.lbTelefonoUno.value')}" />
<textbox id="numtelefonouno"
constraint="no zero" width="70%" maxlength="15"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<!-- Tel2 -->
<label
value="${c:l('editarPuntoVentaController.lbTelefonoDos.value')}" />
<textbox id="numtelefonodos"
constraint="no zero" width="70%" maxlength="15"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<!--fax-->
<label
value="${c:l('editarPuntoVentaController.lbNumFax.value')}" />
<textbox id="txtNumFax"
constraint="no zero" width="70%" maxlength="15"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<!-- Nodo -->
<label
value="${c:l('editarPuntoVentaController.lbNodo.value')}" />
<combobox id="cmbNodo"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
constraint="no empty" mold="rounded" buttonVisible="true"
width="70%" model="@{winEditarPuntoVenta$composer.lsNodos}"
selectedItem="@{winEditarPuntoVenta$composer.puntoVenta.nodo}" />
</row>
<!-- Novo dados bancarios -->
<row visible="false">
<label
value="${c:l('editarEstacionController.conexion')}" />
<combobox id="cmbConexion" width="90%"
mold="rounded" buttonVisible="true"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
selectedItem="@{winEditarPuntoVenta$composer.puntoVenta.conexionBancaria}">
<comboitem value="B"
label="${c:l('editarEstacionController.IndTipo.1')}" />
<comboitem value="M"
label="${c:l('editarEstacionController.IndTipo.2')}" />
<comboitem value="S"
label="${c:l('editarEstacionController.IndTipo.3')}" />
</combobox>
</row>
<row visible="false">
<label
value="${c:l('editarEstacionController.usuario')}" />
<combobox id="cmbUsuarioBancario"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true" width="90%" disabled="true"
model="@{winEditarPuntoVenta$composer.lsUsuarioBancario}"
selectedItem="@{winEditarPuntoVenta$composer.puntoVenta.usuarioBancario}" />
</row>
<!-- Novo dados bancarios fim -->
<row>
<!-- dscUsuarioInternet -->
<label
value="${c:l('editarPuntoVentaController.lbdscUsuarioInternet.value')}" />
<textbox id="dscUsuarioInternet"
constraint="no empty" width="70%" maxlength="30"
value="@{winEditarPuntoVenta$composer.puntoVenta.dscUsuarioInternet}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<!-- dscContrasenaInternet -->
<label
value="${c:l('editarPuntoVentaController.lbdscContrasenaInternet.value')}" />
<textbox id="dscContrasenaInternet"
constraint="no empty" width="70%" maxlength="30"
value="@{winEditarPuntoVenta$composer.puntoVenta.dscContrasenaInternet}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<!-- Comentarios -->
<label
value="${c:l('editarPuntoVentaController.lbComentarios.value')}" />
<textbox id="comentarios" rows="3"
width="90%" maxlength="100"
value="@{winEditarPuntoVenta$composer.puntoVenta.comentarios}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
</rows>
</grid>
</tabpanel>
<!-- ENDERECO -->
<tabpanel>
<grid fixedLayout="true">
<columns>
<column width="30%" />
<column width="70%" />
</columns>
<rows>
<row>
<!--Rua-->
<label
value="${c:l('editarPuntoVentaController.lbCalle.value')}" />
<textbox id="direccioncalle"
constraint="no empty" width="70%" maxlength="30"
value="@{winEditarPuntoVenta$composer.puntoVenta.direccioncalle}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<!--Numero-->
<label
value="${c:l('editarPuntoVentaController.lbNumero.value')}" />
<textbox id="direccionnumero"
constraint="no empty" width="70%" maxlength="30"
value="@{winEditarPuntoVenta$composer.puntoVenta.direccionnumero}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<!--compl-->
<label
value="${c:l('editarPuntoVentaController.lbCompl.value')}" />
<textbox id="txtCompl" width="70%"
maxlength="30"
value="@{winEditarPuntoVenta$composer.puntoVenta.compl}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<!-- descCorreo -->
<label
value="${c:l('editarPuntoVentaController.lbDescCorreo.value')}" />
<textbox id="descCorreo"
constraint="no empty" width="70%" maxlength="60"
value="@{winEditarPuntoVenta$composer.puntoVenta.descCorreo}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<!--Ciudad-->
<label
value="${c:l('editarPuntoVentaController.lbCiudad.value')}" />
<combobox id="cmbCiudad"
autodrop="false" constraint="no empty"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxCiudad"
mold="rounded" buttonVisible="true" width="70%" />
</row>
<row>
<!--Colonia-->
<label
value="${c:l('editarPuntoVentaController.lbColonia.value')}" />
<combobox id="cmbColonia"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
mold="rounded" buttonVisible="true" width="70%" />
</row>
<row>
<!--CP-->
<label
value="${c:l('editarPuntoVentaController.lbCP.value')}" />
<textbox id="txtCP"
constraint="no empty" width="70%" maxlength="30"
value="@{winEditarPuntoVenta$composer.puntoVenta.colonia.codpostal}" />
</row>
</rows>
</grid>
</tabpanel>
<!-- DADOS COMISSAO -->
<tabpanel>
<grid fixedLayout="true">
<columns>
<column width="20%" />
<column width="80%" />
</columns>
<rows>
<row>
<label
value="${c:l('editarPuntoVentaController.lbEmpresa.value')}" />
<hbox>
<combobox id="cmbEmpresaComissao"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
constraint="no empty" mold="rounded" buttonVisible="true"
width="70%"
model="@{winEditarPuntoVenta$composer.lsEmpresaComissao}" />
<button
id="btnAdicionarEmpresaComissao" height="20"
image="/gui/img/add.png" width="35px"
disabled="true"
tooltiptext="${c:l('editarConfiguracionReservacionController.btnAddClase.tooltiptext')}" />
</hbox>
</row>
</rows>
</grid>
<listbox id="ptovtaComissaoList"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="false">
<listhead sizable="true">
<listheader id="lhPtovtaComissao"
image="/gui/img/create_doc.gif"
label="${c:l('editarPuntoVentaController.lbEmpresa.value')}" />
</listhead>
</listbox>
</tabpanel>
<!-- DADOS AGENCIA BANCARIA -->
<tabpanel height="215px">
<grid fixedLayout="true">
<columns>
<column width="30%" />
<column width="70%" />
</columns>
<rows>
<row>
<label
value="${c:l('editarConfiguracionAgenciaBancariaController.lbBanco.value')}" />
<hbox>
<h:table border="none">
<h:tr>
<h:td>
<combobox id="cmbBanco"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
width="60%" mold="rounded" buttonVisible="true"
model="@{winEditarPuntoVenta$composer.lsBanco}" />
</h:td>
<h:td>
<textbox
id="txtNomeBanco" width="215px" disabled="true" />
</h:td>
</h:tr>
</h:table>
</hbox>
</row>
<row>
<label
value="${c:l('editarConfiguracionAgenciaBancariaController.lbNumAg.value')}" />
<textbox id="txtNumAg" width="70%"
maxlength="5"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
value="@{winEditarPuntoVenta$composer.puntoVenta.agenciaId.numagencia}" />
</row>
<row>
<label
value="${c:l('editarConfiguracionAgenciaBancariaController.lbTipoConta.value')}" />
<combobox id="cmbTipoConta" width="70%"
mold="rounded" buttonVisible="true" />
</row>
<row>
<label
value="${c:l('editarConfiguracionAgenciaBancariaController.lbNumConta.value')}" />
<hbox>
<h:table border="none">
<h:tr>
<h:td>
<textbox id="txtConta"
width="250px" maxlength="9"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
value="@{winEditarPuntoVenta$composer.puntoVenta.agenciaId.numconta}" />
</h:td>
<h:td>
<label value=" - " />
<textbox id="txtDigito"
width="20%" maxlength="1"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
value="@{winEditarPuntoVenta$composer.puntoVenta.agenciaId.digito}" />
</h:td>
</h:tr>
</h:table>
</hbox>
</row>
<row>
<label
value="${c:l('editarConfiguracionAgenciaBancariaController.lbPessoa.value')}" />
<combobox id="cmbPessoa" width="70%"
mold="rounded" buttonVisible="true" />
</row>
<row>
<label
value="${c:l('editarConfiguracionAgenciaBancariaController.lbBilhetes.value')}" />
<textbox id="txtBilhetes" width="70%"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
value="@{winEditarPuntoVenta$composer.puntoVenta.agenciaId.bilhetes}" />
</row>
<row>
<label
value="${c:l('editarConfiguracionAgenciaBancariaController.lbCarga.value')}" />
<textbox id="txtCarga" width="70%"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
value="@{winEditarPuntoVenta$composer.puntoVenta.agenciaId.carga}" />
</row>
</rows>
</grid>
</tabpanel>
<!-- TITULAR -->
<tabpanel height="220px">
<grid fixedLayout="true">
<columns>
<column width="30%" />
<column width="70%" />
</columns>
<rows>
<row>
<label
value="${c:l('editarConfiguracionTitularController.lbNome.value')}" />
<textbox id="txtTitularNome" width="70%"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
value="@{winEditarPuntoVenta$composer.puntoVenta.titularId.nome}" />
</row>
<row>
<label
value="${c:l('editarConfiguracionTitularController.lbCpf.value')}" />
<textbox id="txtTitularCpf" width="70%"
maxlength="14"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
value="@{winEditarPuntoVenta$composer.puntoVenta.titularId.cpf}" />
</row>
<row>
<label
value="${c:l('editarConfiguracionTitularController.lbRg.value')}" />
<textbox id="txtTitularRg" width="70%"
maxlength="16"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
value="@{winEditarPuntoVenta$composer.puntoVenta.titularId.rg}" />
</row>
<row>
<label
value="${c:l('editarConfiguracionTitularController.lbOrgEmis.value')}" />
<textbox id="txtTitularEmissor"
width="70%" maxlength="6"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
value="@{winEditarPuntoVenta$composer.puntoVenta.titularId.orgaoemissor}" />
</row>
<row>
<fileupload
label="${c:l('editarConfiguracionTitularController.btnUpload.Foto')}"
onUpload="winEditarPuntoVenta$composer.uploadPhoto(event)" />
<image id="img" height="100px"
width="150px" />
</row>
</rows>
</grid>
</tabpanel>
<!-- DADOS DIVERSOS-->
<tabpanel>
<grid fixedLayout="true">
<columns>
<column width="30%" />
<column width="70%" />
</columns>
<rows>
<row>
<label
value="${c:l('editarConfiguracionDiversosController.lbResponAluguel.value')}" />
<textbox id="txtResponAluguel"
width="70%" maxlength="80"
value="@{winEditarPuntoVenta$composer.puntoVenta.diversosId.responAluguel}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<label
value="${c:l('editarConfiguracionDiversosController.lbResponTel.value')}" />
<textbox id="txtResponTel" width="70%"
maxlength="80"
value="@{winEditarPuntoVenta$composer.puntoVenta.diversosId.responTelefone}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<label
value="${c:l('editarConfiguracionDiversosController.lbResponEnergia.value')}" />
<textbox id="txtResponEnergia"
width="70%" maxlength="80"
value="@{winEditarPuntoVenta$composer.puntoVenta.diversosId.responEnergia}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
</row>
<row>
<label
value="${c:l('editarConfiguracionDiversosController.lbPosicao.value')}" />
<combobox id="cmbPosicao" width="70%"
mold="rounded" buttonVisible="true"
selectedItem="@{winEditarPuntoVenta$composer.puntoVenta.diversosId.posicao}"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar" />
</row>
<row>
<label
value="${c:l('editarConfiguracionDiversosController.lbInformatizada.value')}" />
<checkbox id="checkInformatizada" />
</row>
<row>
<label
value="${c:l('editarConfiguracionDiversosController.lbBilheteInfo.value')}" />
<checkbox id="checkBilheteInfo" />
</row>
<row>
<label
value="${c:l('editarConfiguracionDiversosController.lbVendaInternet.value')}" />
<checkbox id="checkVendaInternet" />
</row>
<row>
<label
value="${c:l('editarConfiguracionDiversosController.lbTeleEntrega.value')}" />
<checkbox id="checkTeleEntrega" />
</row>
<row>
<label
value="${c:l('editarConfiguracionDiversosController.lbDigitacao.value')}" />
<checkbox id="checkDigitacao" />
</row>
<row>
<label
value="${c:l('editarConfiguracionDiversosController.lbTrabalha.value')}" />
<hbox>
<checkbox id="checkBilhete"
label="${c:l('editarConfiguracionDiversosController.lbBilhete.value')}" />
<checkbox id="checkOfpsPropria"
label="${c:l('editarConfiguracionDiversosController.lbOfpsPropria.value')}" />
<checkbox id="checkOfpsTerceiros"
label="${c:l('editarConfiguracionDiversosController.lbOfpsTerceiros.value')}" />
</hbox>
</row>
</rows>
</grid>
</tabpanel>
<!-- DADOS ANTECIPACOMISSAO -->
<tabpanel height="300px">
<grid fixedLayout="true">
<columns>
<column width="30%" />
<column width="70%" />
</columns>
<rows>
<row>
<label
value="${c:l('editarConfiguracionAntecipaComController.lbData.value')}" />
<datebox id="dateAntecipData"
mold="rounded" lenient="false" constraint="no empty"
width="70%" />
</row>
<row>
<label
value="${c:l('editarConfiguracionAntecipaComController.lbRetem.value')}" />
<textbox id="txtAntecipRetem"
value="0.0"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
constraint="no empty" width="70%" />
</row>
<row>
<label
value="${c:l('editarConfiguracionAntecipaComController.lbPercentual.value')}" />
<textbox id="txtAntecipPercentual"
value="0.0"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
constraint="no empty" width="70%" />
</row>
</rows>
</grid>
<toolbar>
<hbox spacing="5px" style="padding:1px"
align="right">
<button id="btnApagarAntecipa" height="20"
image="/gui/img/remove.png" width="35px"
tooltiptext="${c:l('editarConfiguracionAntecipaController.btnApagar.tooltiptext')}" />
<button id="btnSalvarAntecipa" height="20"
image="/gui/img/add.png" width="35px"
tooltiptext="${c:l('editarConfiguracionAntecipaController.btnSalvar.tooltiptext')}" />
</hbox>
</toolbar>
<listbox id="ptovtaAntecipaList"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="false">
<listhead sizable="true">
<listheader id="lhData"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionAntecipaController.lblData.value')}" />
<listheader id="lhRetem"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionAntecipaController.lblRetem.value')}" />
<listheader id="lhPercentual"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionAntecipaController.lblPercentual.value')}" />
</listhead>
</listbox>
</tabpanel>
<!-- DADOS DO HORARIO -->
<tabpanel height="300px">
<grid fixedLayout="true">
<columns>
<column width="30%" />
<column width="70%" />
</columns>
<rows>
<row>
<label
value="${c:l('editarConfiguracionHorarioController.lbInicio.value')}" />
<timebox id="timeboxInicio" width="70%"
mold="rounded" constraint="no empty" />
</row>
<row>
<label
value="${c:l('editarConfiguracionHorarioController.lbFim.value')}" />
<timebox id="timeboxFim" mold="rounded"
constraint="no empty" width="70%" />
</row>
</rows>
</grid>
<toolbar>
<hbox spacing="5px" style="padding:1px"
align="right">
<button id="btnApagarHorario" height="20"
image="/gui/img/remove.png" width="35px"
tooltiptext="${c:l('editarConfiguracionHorarioController.btnApagar.tooltiptext')}" />
<button id="btnSalvarHorario" height="20"
image="/gui/img/add.png" width="35px"
tooltiptext="${c:l('editarConfiguracionHorarioController.btnSalvar.tooltiptext')}" />
</hbox>
</toolbar>
<listbox id="ptovtaHorarioList"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="false">
<listhead sizable="true">
<listheader id="lhInicio"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionHorarioController.lblInicio.value')}" />
<listheader id="lhFim"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionHorarioController.lblFim.value')}" />
</listhead>
</listbox>
</tabpanel>
<!-- formas de pagamento -->
<tabpanel height="300px">
<grid fixedLayout="true">
<columns>
<column width="40%" />
<column width="60%" />
</columns>
<rows>
<row>
<label id="lblFormaPago"
value="${c:l('editarFormaPagoController.lbNome.value')}" />
<combobox id="cmbFormaPago"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
width="80%" mold="rounded" buttonVisible="true"
constraint="no empty"
model="@{winEditarPuntoVenta$composer.lsFormaPago}" />
</row>
<row>
<label id="lblCargosExtras"
value="${c:l('editarConfiguracionFormaPagoController.lblCargosExtras.value')}" />
<doublebox id="txtCargosExtras"
width="80%" value="0.0" maxlength="7"
constraint="no empty, no negative" />
</row>
</rows>
</grid>
<toolbar>
<hbox spacing="5px" style="padding:1px"
align="right">
<button id="btnApagarFormaPago" height="20"
image="/gui/img/remove.png" width="35px"
tooltiptext="${c:l('editarConfiguracionFormaPagoController.btnApagar.tooltiptext')}" />
<button id="btnSalvarFormaPago" height="20"
image="/gui/img/add.png" width="35px"
tooltiptext="${c:l('editarConfiguracionFormaPagoController.btnSalvar.tooltiptext')}" />
</hbox>
</toolbar>
<listbox id="formaPagoList"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="false">
<listhead sizable="true">
<listheader id="lhFormaPago"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionFormaPagoController.lblInicial.value')}" />
<listheader id="lhCargosExtras"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionFormaPagoController.lblCargosExtras.value')}" />
</listhead>
</listbox>
</tabpanel>
<!-- ParamRecoleccion -->
<tabpanel height="300px">
<grid fixedLayout="true">
<columns>
<column width="40%" />
<column width="60%" />
</columns>
<rows>
<row>
<label
value="${c:l('editarPuntoVentaController.lblInicial.value')}" />
<textbox id="importeInicial"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
precision="7" scale="2" constraint="no empty" />
</row>
<row>
<label
value="${c:l('editarPuntoVentaController.lblAdicional.value')}" />
<textbox id="importeAdicional"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal"
precision="7" scale="2" constraint="no empty" />
</row>
</rows>
</grid>
<toolbar>
<hbox spacing="5px" style="padding:1px"
align="right">
<button id="btnApagarParamRecoleccion"
height="20" image="/gui/img/remove.png" width="35px"
tooltiptext="${c:l('editarConfiguracionFormaPagoController.btnApagar.tooltiptext')}" />
<button id="btnSalvarParamRecoleccion"
height="20" image="/gui/img/add.png" width="35px"
tooltiptext="${c:l('editarConfiguracionFormaPagoController.btnSalvar.tooltiptext')}" />
</hbox>
</toolbar>
<listbox id="paramRecoleccionList"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="false">
<listhead sizable="true">
<listheader image="/gui/img/builder.gif"
label="${c:l('editarPuntoVentaController.lblInicial.value')}" />
<listheader image="/gui/img/builder.gif"
label="${c:l('editarPuntoVentaController.lblAdicional.value')}" />
</listhead>
</listbox>
</tabpanel>
<!-- Empresas para venta -->
<tabpanel height="300px">
<grid fixedLayout="true">
<columns>
<column width="40%" />
<column width="60%" />
</columns>
<rows>
<row>
<label
value="${c:l('editarPuntoVentaController.lbEmpresa.value')}" />
<combobox id="cmbEmpresaPtoVta"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
constraint="no empty" mold="rounded" buttonVisible="true"
width="70%" model="@{winEditarPuntoVenta$composer.lsEmpresas}" />
</row>
</rows>
</grid>
<toolbar>
<hbox spacing="5px" style="padding:1px"
align="right">
<button id="btnSalvarPtovtaEmpresa"
height="20" image="/gui/img/add.png" width="35px"
tooltiptext="${c:l('tooltiptext.btnAgregar')}" />
<button id="btnApagarPtovtaEmpresa"
height="20" image="/gui/img/remove.png" width="35px"
tooltiptext="${c:l('tooltiptext.btnEliminar')}" />
</hbox>
</toolbar>
<listbox id="ptovtaEmpresaList"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="false">
<listhead sizable="true">
<listheader image="/gui/img/builder.gif"
label="${c:l('editarPuntoVentaController.lbEmpresa.value')}" />
</listhead>
</listbox>
</tabpanel>
<!-- Usuario Bancario -->
<tabpanel height="300px">
<grid fixedLayout="true">
<columns>
<column width="40%" />
<column width="60%" />
</columns>
<rows>
<row>
<label
value="${c:l('editarPuntoVentaController.lbEmpresa.value')}" />
<combobox
id="cmbEmpresaPtoVtaUsuarioBancario"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
constraint="no empty" mold="rounded" buttonVisible="true"
width="70%" model="@{winEditarPuntoVenta$composer.lsEmpresas}" />
</row>
<row>
<label
value="${c:l('editarPuntoVentaController.tab.label.usuBancario')}" />
<combobox
id="cmbUsuarioBancarioPtoVtaUsuarioBancario"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
constraint="no empty" mold="rounded" buttonVisible="true"
width="70%"
model="@{winEditarPuntoVenta$composer.lsUsuarioBancario}" />
</row>
</rows>
</grid>
<toolbar>
<hbox spacing="5px" style="padding:1px"
align="right">
<button id="btnSalvarPtovtaUsuarioBancario"
height="20" image="/gui/img/add.png" width="35px"
tooltiptext="${c:l('tooltiptext.btnAgregar')}" />
<button id="btnApagarPtovtaUsuarioBancario"
height="20" image="/gui/img/remove.png" width="35px"
tooltiptext="${c:l('tooltiptext.btnEliminar')}" />
</hbox>
</toolbar>
<listbox id="ptovtaUsuarioBancarioList"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="false">
<listhead sizable="true">
<listheader image="/gui/img/builder.gif"
label="${c:l('editarPuntoVentaController.lbEmpresa.value')}" />
<listheader image="/gui/img/builder.gif"
label="${c:l('editarPuntoVentaController.tab.label.usuBancario')}" />
</listhead>
</listbox>
</tabpanel>
<!-- DADOS DO ESTOQUE -->
<tabpanel height="400px">
<grid fixedLayout="true">
<columns>
<column width="30%" />
<column width="70%" />
</columns>
<rows>
<row>
<label
value="${c:l('editarConfiguracionEstoqueController.lbEspecie.value')}" />
<textbox id="txtEspecie" maxlength="3"
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"
constraint="no empty" width="70%" />
</row>
<row>
<label
value="${c:l('editarConfiguracionEstoqueController.lbForm.value')}" />
<combobox id="cmbForm"
constraint="no empty"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
width="70%" mold="rounded" buttonVisible="true" />
</row>
<row>
<label
value="${c:l('editarConfiguracionEstoqueController.lbQuant.value')}" />
<intbox id="txtQuant"
constraint="no empty" width="70%" />
</row>
<row>
<label
value="${c:l('editarConfiguracionEstoqueController.lbLote.value')}" />
<combobox id="cmbLote"
constraint="no empty"
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
width="70%" mold="rounded" buttonVisible="true" />
</row>
</rows>
</grid>
<toolbar>
<hbox spacing="5px" style="padding:1px"
align="right">
<button id="btnApagarEstoque" height="20"
image="/gui/img/remove.png" width="35px"
tooltiptext="${c:l('editarConfiguracionEstoqueController.btnApagar.tooltiptext')}" />
<button id="btnSalvarEstoque" height="20"
image="/gui/img/add.png" width="35px"
tooltiptext="${c:l('editarConfiguracionEstoqueController.btnSalvar.tooltiptext')}" />
</hbox>
</toolbar>
<listbox id="ptovtaEstoqueList"
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
vflex="true" multiple="false">
<listhead sizable="true">
<listheader id="lhEspecie"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionEstoqueController.lblEspecie.value')}" />
<listheader id="lhForm"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionEstoqueController.lblForm.value')}" />
<listheader id="lhQuant"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionEstoqueController.lblQuant.value')}" />
<listheader id="lhLote"
image="/gui/img/builder.gif"
label="${c:l('editarConfiguracionEstoqueController.lblLote.value')}" />
</listhead>
</listbox>
</tabpanel>
</tabpanels>
</tabbox>
</window>
</zk>