fixes bug#AL-4586
parent
d7d03c610a
commit
ce0591f823
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>ventaboletosadm</artifactId>
|
||||
<version>1.116.2</version>
|
||||
<version>1.116.3</version>
|
||||
<packaging>war</packaging>
|
||||
|
||||
<properties>
|
||||
|
|
|
@ -29,6 +29,7 @@ import org.zkoss.zul.Checkbox;
|
|||
import org.zkoss.zul.Combobox;
|
||||
import org.zkoss.zul.Constraint;
|
||||
import org.zkoss.zul.Datebox;
|
||||
import org.zkoss.zul.Div;
|
||||
import org.zkoss.zul.Grid;
|
||||
import org.zkoss.zul.Intbox;
|
||||
import org.zkoss.zul.Label;
|
||||
|
@ -206,8 +207,8 @@ public class EditarConvenioController extends MyGenericForwardComposer {
|
|||
private Row rowQtdDigitoAleatorio;
|
||||
private Row rowTxtCupomFixo;
|
||||
private Row rowLbCliente;
|
||||
private Grid griCampanhaEmpresa;
|
||||
private Grid gridCampanhaPuntoVenta;
|
||||
private Div divCampanhaEmpresa;
|
||||
private Div divCampanhaPuntoVenta;
|
||||
|
||||
private Textbox txtTermoCondicao;
|
||||
private Textbox txtMensagemAoGanhador;
|
||||
|
@ -1749,8 +1750,8 @@ public class EditarConvenioController extends MyGenericForwardComposer {
|
|||
rowGrCupomAleatorio.setVisible(true);
|
||||
rowQtdDigitoAleatorio.setVisible(true);
|
||||
rowTxtCupomFixo.setVisible(true);
|
||||
griCampanhaEmpresa.setVisible(true);
|
||||
gridCampanhaPuntoVenta.setVisible(true);
|
||||
divCampanhaEmpresa.setVisible(true);
|
||||
divCampanhaPuntoVenta.setVisible(true);
|
||||
|
||||
}
|
||||
|
||||
|
@ -1772,8 +1773,8 @@ public class EditarConvenioController extends MyGenericForwardComposer {
|
|||
rowGrCupomAleatorio.setVisible(false);
|
||||
rowQtdDigitoAleatorio.setVisible(false);
|
||||
rowTxtCupomFixo.setVisible(false);
|
||||
griCampanhaEmpresa.setVisible(false);
|
||||
gridCampanhaPuntoVenta.setVisible(false);
|
||||
divCampanhaEmpresa.setVisible(false);
|
||||
divCampanhaPuntoVenta.setVisible(false);
|
||||
}
|
||||
|
||||
private void layoutInicialComCampanha() {
|
||||
|
@ -1785,8 +1786,8 @@ public class EditarConvenioController extends MyGenericForwardComposer {
|
|||
rowBandBoxCliente.setVisible(false);
|
||||
rowLbCliente.setVisible(false);
|
||||
gridFolio.setVisible(false);
|
||||
griCampanhaEmpresa.setVisible(true);
|
||||
gridCampanhaPuntoVenta.setVisible(true);
|
||||
divCampanhaEmpresa.setVisible(true);
|
||||
divCampanhaPuntoVenta.setVisible(true);
|
||||
rdGeral.setVisible(false);
|
||||
rdPorCliente.setVisible(false);
|
||||
|
||||
|
@ -1799,8 +1800,8 @@ public class EditarConvenioController extends MyGenericForwardComposer {
|
|||
rowGrCupomAleatorio.setVisible(false);
|
||||
rowQtdDigitoAleatorio.setVisible(false);
|
||||
rowTxtCupomFixo.setVisible(false);
|
||||
griCampanhaEmpresa.setVisible(false);
|
||||
gridCampanhaPuntoVenta.setVisible(false);
|
||||
divCampanhaEmpresa.setVisible(false);
|
||||
divCampanhaPuntoVenta.setVisible(false);
|
||||
if(!indCampanha || convenio.getConvenioId() != null) {
|
||||
rdPorCamapanha.setVisible(false);
|
||||
}
|
||||
|
|
|
@ -208,8 +208,8 @@
|
|||
</grid>
|
||||
|
||||
<!-- CAMPANHA Empresa -->
|
||||
<grid fixedLayout="true" id="griCampanhaEmpresa"
|
||||
visible="false">
|
||||
<div id="divCampanhaEmpresa" visible="false">
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="20%" />
|
||||
<column width="80%" />
|
||||
|
@ -223,34 +223,35 @@
|
|||
mold="rounded" width="200px"
|
||||
model="@{winEditarConvenio$composer.lsEmpresa}" />
|
||||
</row>
|
||||
<row>
|
||||
<label value=" " />
|
||||
<hbox>
|
||||
<button
|
||||
id="btnAdicionarCamapanhaEmpresa" height="20"
|
||||
image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnAgregar')}" />
|
||||
<button
|
||||
id="btnRemoverCampanhaEmpresa" height="20"
|
||||
image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnEliminar')}" />
|
||||
</hbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
<toolbar>
|
||||
<button id="btnAdicionarCamapanhaEmpresa"
|
||||
height="20" image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnAgregar')}" />
|
||||
<button id="btnRemoverCampanhaEmpresa"
|
||||
height="20" image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnEliminar')}" />
|
||||
</toolbar>
|
||||
|
||||
|
||||
<listbox id="campanhaEmpresaList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
vflex="true" multiple="false">
|
||||
multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
|
||||
<listheader
|
||||
image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarConvenioController.tabEmpresa.descricao.value')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- CAMPANHA PUNTO VENTA -->
|
||||
<grid fixedLayout="true"
|
||||
id="gridCampanhaPuntoVenta">
|
||||
<div id="divCampanhaPuntoVenta" visible="false">
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="20%" />
|
||||
<column width="80%" />
|
||||
|
@ -265,9 +266,11 @@
|
|||
sinTodos="true" mold="rounded" buttonVisible="true"
|
||||
width="90%" />
|
||||
</row>
|
||||
<row>
|
||||
<label value=" " />
|
||||
<hbox>
|
||||
|
||||
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<button
|
||||
id="btnAdicionarConvenioCampanhaPuntoVenta" height="20"
|
||||
image="/gui/img/add.png" width="35px"
|
||||
|
@ -276,18 +279,17 @@
|
|||
id="btnRemoverConvenioCampanhaPuntoVenta" height="20"
|
||||
image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnEliminar')}" />
|
||||
</hbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</toolbar>
|
||||
<listbox id="convenioCampanhaPuntoVentaList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
vflex="true" multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
<listheader
|
||||
image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarConvenioController.tabPuntoVenta.puntoVenta.descricao.value')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</div>
|
||||
|
||||
|
||||
<toolbar>
|
||||
|
|
Loading…
Reference in New Issue