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