fixes bug #7448
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@56023 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
c9c6b37e9e
commit
47d4582097
|
@ -28,15 +28,21 @@ import org.zkoss.zul.Radio;
|
|||
import org.zkoss.zul.Textbox;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.CuponSecretaria;
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.Secretaria;
|
||||
import com.rjconsultores.ventaboletos.entidad.SecretariaEmpresa;
|
||||
import com.rjconsultores.ventaboletos.service.CuponSecretariaService;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||
import com.rjconsultores.ventaboletos.service.SecretariaEmpresaService;
|
||||
import com.rjconsultores.ventaboletos.service.SecretariaService;
|
||||
import com.rjconsultores.ventaboletos.utilerias.TraslaparUtil;
|
||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderCuponSecretaria;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderSecretariaEmpresa;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -48,11 +54,18 @@ public class EditarSecretariaController extends MyGenericForwardComposer {
|
|||
|
||||
@Autowired
|
||||
private SecretariaService secretariaService;
|
||||
@Autowired
|
||||
private SecretariaEmpresaService secretariaEmpresaService;
|
||||
@Autowired
|
||||
private EmpresaService empresaService;
|
||||
private CuponSecretariaService cuponSecretariaService;
|
||||
private Secretaria secretaria;
|
||||
private List<CuponSecretaria> lsCuponSecretaria;
|
||||
private List<SecretariaEmpresa> lsSecretariaEmpresa;
|
||||
private List<Empresa> lsEmpresas;
|
||||
private MyListbox secretariaList;
|
||||
private MyListbox cuponSecretariaList;
|
||||
private MyListbox empresasList;
|
||||
private Textbox txtDescSecretaria;
|
||||
private Textbox txtCveSecretaria;
|
||||
private MyTextboxDecimal txtPorcdescuento;
|
||||
|
@ -68,6 +81,7 @@ public class EditarSecretariaController extends MyGenericForwardComposer {
|
|||
private Radio rdPrecioDescuento;
|
||||
private Radio rdDescuento;
|
||||
private Checkbox chkValidaFolio;
|
||||
private MyComboboxEstandar cmbEmpresa;
|
||||
private static Logger log = Logger.getLogger(EditarSecretariaController.class);
|
||||
|
||||
public Button getBtnApagar() {
|
||||
|
@ -200,13 +214,17 @@ public class EditarSecretariaController extends MyGenericForwardComposer {
|
|||
|
||||
@Override
|
||||
public void doAfterCompose(Component comp) throws Exception {
|
||||
super.doAfterCompose(comp);
|
||||
|
||||
secretaria =
|
||||
secretaria =
|
||||
(Secretaria) Executions.getCurrent().getArg().get("secretaria");
|
||||
secretariaList =
|
||||
(MyListbox) Executions.getCurrent().getArg().get("secretariaList");
|
||||
|
||||
lsSecretariaEmpresa = secretariaEmpresaService.buscarPorSecretaria(secretaria);
|
||||
lsEmpresas = empresaService.obtenerTodosIncluindoEmpresaTodas();
|
||||
|
||||
super.doAfterCompose(comp);
|
||||
empresasList.setItemRenderer(new RenderSecretariaEmpresa());
|
||||
empresasList.setData(lsSecretariaEmpresa);
|
||||
|
||||
cuponSecretariaList.setItemRenderer(new RenderCuponSecretaria());
|
||||
lsCuponSecretaria = new ArrayList<CuponSecretaria>();
|
||||
cuponSecretariaList.setData(lsCuponSecretaria);
|
||||
|
@ -236,6 +254,35 @@ public class EditarSecretariaController extends MyGenericForwardComposer {
|
|||
txtDescSecretaria.focus();
|
||||
}
|
||||
|
||||
public void onClick$btnRemoverEmpresa(Event ev) throws InterruptedException {
|
||||
if (empresasList.getSelectedItem() == null){
|
||||
Messagebox.show(Labels.getLabel("editarTipoEventoExtraController.MSG.selecionarEmpresa"),
|
||||
Labels.getLabel("editarTipoEventoExtraController.window.title"),
|
||||
Messagebox.OK, Messagebox.INFORMATION);
|
||||
return;
|
||||
}
|
||||
SecretariaEmpresa se = (SecretariaEmpresa) empresasList.getSelected();
|
||||
|
||||
secretariaEmpresaService.borrar(se);
|
||||
|
||||
secretaria.removeEmpresa(se);
|
||||
empresasList.setData(secretaria.getEmpresas());
|
||||
}
|
||||
|
||||
public void onClick$btnAdicionarEmpresa(Event ev) throws InterruptedException {
|
||||
if (cmbEmpresa.getSelectedItem() == null){
|
||||
Messagebox.show(Labels.getLabel("editarTipoEventoExtraController.MSG.selecionarEmpresa"),
|
||||
Labels.getLabel("editarTipoEventoExtraController.window.title"),
|
||||
Messagebox.OK, Messagebox.INFORMATION);
|
||||
return;
|
||||
}
|
||||
Empresa e = (Empresa) cmbEmpresa.getSelectedItem().getValue();
|
||||
|
||||
secretaria.addEmpresa(e);
|
||||
|
||||
empresasList.setData(secretaria.getEmpresas());
|
||||
}
|
||||
|
||||
public void onClick$chkValidaFolio(Event ev) {
|
||||
if (chkValidaFolio.isChecked()) {
|
||||
txtNumfolioinicio.setDisabled(Boolean.FALSE);
|
||||
|
@ -518,4 +565,21 @@ public class EditarSecretariaController extends MyGenericForwardComposer {
|
|||
secretaria.setLsCuponSecretaria(lsCuponSecretaria);
|
||||
}
|
||||
}
|
||||
|
||||
public List<SecretariaEmpresa> getLsSecretariaEmpresa() {
|
||||
return lsSecretariaEmpresa;
|
||||
}
|
||||
|
||||
public void setLsSecretariaEmpresa(List<SecretariaEmpresa> lsSecretariaEmpresa) {
|
||||
this.lsSecretariaEmpresa = lsSecretariaEmpresa;
|
||||
}
|
||||
|
||||
public List<Empresa> getLsEmpresas() {
|
||||
return lsEmpresas;
|
||||
}
|
||||
|
||||
public void setLsEmpresas(List<Empresa> lsEmpresas) {
|
||||
this.lsEmpresas = lsEmpresas;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
package com.rjconsultores.ventaboletos.web.utilerias.render;
|
||||
|
||||
import org.zkoss.zul.Listcell;
|
||||
import org.zkoss.zul.Listitem;
|
||||
import org.zkoss.zul.ListitemRenderer;
|
||||
|
||||
import com.rjconsultores.ventaboletos.entidad.SecretariaEmpresa;
|
||||
|
||||
public class RenderSecretariaEmpresa implements ListitemRenderer {
|
||||
|
||||
public void render(Listitem lstm, Object o) throws Exception {
|
||||
SecretariaEmpresa secretaria = (SecretariaEmpresa) o;
|
||||
|
||||
Listcell lc = new Listcell(secretaria.getEmpresa().getNombempresa());
|
||||
lc.setParent(lstm);
|
||||
|
||||
lstm.setAttribute("data", secretaria);
|
||||
}
|
||||
}
|
|
@ -277,6 +277,7 @@
|
|||
<value>com.rjconsultores.ventaboletos.entidad.RhPagoConductor
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Secretaria</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.SecretariaEmpresa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.SeguradoraEmpresa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.SeguroKm</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.SegVKM</value>
|
||||
|
|
|
@ -5,136 +5,213 @@
|
|||
<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
|
||||
|
||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||
<window id="winEditarSecretaria" border="normal"
|
||||
apply="${editarSecretariaController}"
|
||||
width="650px" height="550px" contentStyle="overflow:auto"
|
||||
title="${c:l('editarSecretariaController.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('editarSecretariaController.btnApagar.tooltiptext')}"/>
|
||||
<button id="btnSalvar" height="20"
|
||||
image="/gui/img/save.png" width="35px"
|
||||
tooltiptext="${c:l('editarSecretariaController.btnSalvar.tooltiptext')}"/>
|
||||
<button id="btnFechar" height="20"
|
||||
image="/gui/img/exit.png" width="35px"
|
||||
onClick="winEditarSecretaria.detach()"
|
||||
tooltiptext="${c:l('editarSecretariaController.btnFechar.tooltiptext')}"/>
|
||||
</hbox>
|
||||
</toolbar>
|
||||
<window id="winEditarSecretaria" border="normal"
|
||||
apply="${editarSecretariaController}" width="650px" height="550px"
|
||||
contentStyle="overflow:auto"
|
||||
title="${c:l('editarSecretariaController.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('editarSecretariaController.btnApagar.tooltiptext')}" />
|
||||
<button id="btnSalvar" height="20"
|
||||
image="/gui/img/save.png" width="35px"
|
||||
tooltiptext="${c:l('editarSecretariaController.btnSalvar.tooltiptext')}" />
|
||||
<button id="btnFechar" height="20"
|
||||
image="/gui/img/exit.png" width="35px"
|
||||
onClick="winEditarSecretaria.detach()"
|
||||
tooltiptext="${c:l('editarSecretariaController.btnFechar.tooltiptext')}" />
|
||||
</hbox>
|
||||
</toolbar>
|
||||
<tabbox id="tabboxTitle">
|
||||
<tabs>
|
||||
<tab
|
||||
label="${c:l('editarSecretariaController.window.title')}" />
|
||||
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="40%" />
|
||||
<column width="60%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${c:l('editarSecretariaController.lbDescSecretaria.value')}"/>
|
||||
<textbox id="txtDescSecretaria" constraint="no empty" width="90%" maxlength="60"
|
||||
value="@{winEditarSecretaria$composer.secretaria.descsecretaria}"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarSecretariaController.lbCveSecretaria.value')}"/>
|
||||
<textbox id="txtCveSecretaria" constraint="no empty" maxlength="6"
|
||||
value="@{winEditarSecretaria$composer.secretaria.cvesecretaria}"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox"/>
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarSecretariaController.lbValidaFolio.value')}"/>
|
||||
<checkbox id="chkValidaFolio" value="@{winEditarSecretaria$composer.secretaria.validafolio}" checked="true"/>
|
||||
</row>
|
||||
<row spans="2">
|
||||
<label value="${c:l('editarSecretariaController.Impression.value')}"/>
|
||||
</row>
|
||||
<row spans="2">
|
||||
<radiogroup id="grPrecoDesconto">
|
||||
<hbox>
|
||||
<radio id="rdPrecioTotal" label="${c:l('editarSecretariaController.PrecioTotal.value')}" checked="true"/>
|
||||
<radio id="rdPrecioDescuento" label="${c:l('editarSecretariaController.PrecioDescuento.value')}"/>
|
||||
<radio id="rdDescuento" label="${c:l('editarSecretariaController.Descuento.value')}" visible="false"/>
|
||||
</hbox>
|
||||
</radiogroup>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<tab
|
||||
label="${c:l('editarPuntoVentaController.tab.label.empresas')}" />
|
||||
|
||||
<toolbar>
|
||||
<separator bar="true"/>
|
||||
</toolbar>
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
<tabpanel style="overflow:auto;">
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="40%" />
|
||||
<column width="60%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarSecretariaController.lbDescSecretaria.value')}" />
|
||||
<textbox id="txtDescSecretaria"
|
||||
constraint="no empty" width="90%" maxlength="60"
|
||||
value="@{winEditarSecretaria$composer.secretaria.descsecretaria}"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarSecretariaController.lbCveSecretaria.value')}" />
|
||||
<textbox id="txtCveSecretaria"
|
||||
constraint="no empty" maxlength="6"
|
||||
value="@{winEditarSecretaria$composer.secretaria.cvesecretaria}"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarSecretariaController.lbValidaFolio.value')}" />
|
||||
<checkbox id="chkValidaFolio"
|
||||
value="@{winEditarSecretaria$composer.secretaria.validafolio}"
|
||||
checked="true" />
|
||||
</row>
|
||||
<row spans="2">
|
||||
<label
|
||||
value="${c:l('editarSecretariaController.Impression.value')}" />
|
||||
</row>
|
||||
<row spans="2">
|
||||
<radiogroup id="grPrecoDesconto">
|
||||
<hbox>
|
||||
<radio id="rdPrecioTotal"
|
||||
label="${c:l('editarSecretariaController.PrecioTotal.value')}"
|
||||
checked="true" />
|
||||
<radio id="rdPrecioDescuento"
|
||||
label="${c:l('editarSecretariaController.PrecioDescuento.value')}" />
|
||||
<radio id="rdDescuento"
|
||||
label="${c:l('editarSecretariaController.Descuento.value')}"
|
||||
visible="false" />
|
||||
</hbox>
|
||||
</radiogroup>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="40%" />
|
||||
<column width="60%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${c:l('editarSecretariaController.lbPorcdescuento.value')}"/>
|
||||
<textbox id="txtPorcdescuento" maxValue="100" maxlength="6"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarSecretariaController.lbNumfolioinicio.value')}"/>
|
||||
<longbox id="txtNumfolioinicio" maxlength="10"
|
||||
/>
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarSecretariaController.lbNumfoliofinal.value')}"/>
|
||||
<longbox id="txtNumfoliofinal" maxlength="10"
|
||||
/>
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarSecretariaController.lbPorcDescuentoOutros.value')}"/>
|
||||
<textbox id="txtPorcdescuentoOutros" maxValue="100" maxlength="6" value="0"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarSecretariaController.lbPorcDescuentoPedagio.value')}"/>
|
||||
<textbox id="txtPorcdescuentoPedagio" maxValue="100" maxlength="6" value="0"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarSecretariaController.lbPorcDescuentoSeguro.value')}"/>
|
||||
<textbox id="txtPorcdescuentoSeguro" maxValue="100" maxlength="6" value="0"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarSecretariaController.lbPorcDescuentoTaxaEmbarque.value')}"/>
|
||||
<textbox id="txtPorcdescuentoTaxaEmbarque" maxValue="100" maxlength="6" value="0"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
<toolbar>
|
||||
<button id="btnAdicionarCuponSecretaria" height="20" image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('editarSecretariaController.btnAddCuponSecretaria.tooltiptext')}"/>
|
||||
<button id="btnRemoverCuponSecretaria" height="20" image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarSecretariaController.btnBorrarCuponSecretaria.tooltiptext')}"/>
|
||||
</toolbar>
|
||||
|
||||
<listbox id="cuponSecretariaList" use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarSecretariaController.lbPorcdescuento.value')}"/>
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarSecretariaController.lbNumfolioinicio.value')}"/>
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarSecretariaController.lbNumfoliofinal.value')}"/>
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarSecretariaController.lbPorcdescuentoOutros.value')}"/>
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarSecretariaController.lbPorcdescuentoPedagio.value')}"/>
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarSecretariaController.lbPorcdescuentoSeguro.value')}"/>
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarSecretariaController.lbPorcdescuentoTaxaEmbarque.value')}"/>
|
||||
</listhead>
|
||||
</listbox>
|
||||
<toolbar>
|
||||
<separator bar="true" />
|
||||
</toolbar>
|
||||
|
||||
</window>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="40%" />
|
||||
<column width="60%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarSecretariaController.lbPorcdescuento.value')}" />
|
||||
<textbox id="txtPorcdescuento"
|
||||
maxValue="100" maxlength="6"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarSecretariaController.lbNumfolioinicio.value')}" />
|
||||
<longbox id="txtNumfolioinicio"
|
||||
maxlength="10" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarSecretariaController.lbNumfoliofinal.value')}" />
|
||||
<longbox id="txtNumfoliofinal"
|
||||
maxlength="10" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarSecretariaController.lbPorcDescuentoOutros.value')}" />
|
||||
<textbox id="txtPorcdescuentoOutros"
|
||||
maxValue="100" maxlength="6" value="0"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarSecretariaController.lbPorcDescuentoPedagio.value')}" />
|
||||
<textbox id="txtPorcdescuentoPedagio"
|
||||
maxValue="100" maxlength="6" value="0"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarSecretariaController.lbPorcDescuentoSeguro.value')}" />
|
||||
<textbox id="txtPorcdescuentoSeguro"
|
||||
maxValue="100" maxlength="6" value="0"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarSecretariaController.lbPorcDescuentoTaxaEmbarque.value')}" />
|
||||
<textbox
|
||||
id="txtPorcdescuentoTaxaEmbarque" maxValue="100" maxlength="6"
|
||||
value="0"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxDecimal" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
<toolbar>
|
||||
<button id="btnAdicionarCuponSecretaria"
|
||||
height="20" image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('editarSecretariaController.btnAddCuponSecretaria.tooltiptext')}" />
|
||||
<button id="btnRemoverCuponSecretaria"
|
||||
height="20" image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarSecretariaController.btnBorrarCuponSecretaria.tooltiptext')}" />
|
||||
</toolbar>
|
||||
|
||||
<listbox id="cuponSecretariaList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarSecretariaController.lbPorcdescuento.value')}" />
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarSecretariaController.lbNumfolioinicio.value')}" />
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarSecretariaController.lbNumfoliofinal.value')}" />
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarSecretariaController.lbPorcdescuentoOutros.value')}" />
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarSecretariaController.lbPorcdescuentoPedagio.value')}" />
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarSecretariaController.lbPorcdescuentoSeguro.value')}" />
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarSecretariaController.lbPorcdescuentoTaxaEmbarque.value')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
<tabpanel>
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="20%" />
|
||||
<column width="80%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarPuntoVentaController.lbEmpresa.value')}" />
|
||||
<hbox>
|
||||
<combobox id="cmbEmpresa"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
mold="rounded" buttonVisible="true"
|
||||
model="@{winEditarSecretaria$composer.lsEmpresas}" />
|
||||
|
||||
<button id="btnAdicionarEmpresa"
|
||||
height="20" image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('editarConfiguracionReservacionController.btnAddClase.tooltiptext')}" />
|
||||
<button id="btnRemoverEmpresa"
|
||||
height="20" image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('editarConfiguracionReservacionController.btnBorrarClase.tooltiptext')}" />
|
||||
</hbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<listbox id="empresasList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
vflex="true" multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader id="lhEmpresa"
|
||||
image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarPuntoVentaController.lbEmpresa.value')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</tabpanel>
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
</window>
|
||||
</zk>
|
||||
|
|
Loading…
Reference in New Issue