Conflicts solved. Fixes bug#AL-4549
commit
e92b7abaf5
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.1</version>
|
||||
<version>1.116.3</version>
|
||||
<packaging>war</packaging>
|
||||
|
||||
<properties>
|
||||
|
|
|
@ -570,6 +570,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
private MyCheckboxSiNo chkSicfeUsaRUTCliente;
|
||||
private MyCheckboxSiNo chkSicfeUsaTermica;
|
||||
private MyCheckboxSiNo chkSicfeDesconto100Emite;
|
||||
private MyCheckboxSiNo chkSicfeCreditoOrdemServico;
|
||||
|
||||
private Checkbox chkIndProducaoCrediBanco;
|
||||
private Textbox txtUsuarioCrediBanco;
|
||||
|
@ -1716,6 +1717,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
chkSicfeUsaRUTCliente.setChecked(BooleanUtils.toBoolean(mapConfigSicfe.get("indRUTCliente")));
|
||||
chkSicfeUsaTermica.setChecked(BooleanUtils.toBoolean(mapConfigSicfe.get("indUsaTermica")));
|
||||
chkSicfeDesconto100Emite.setChecked(BooleanUtils.toBoolean(mapConfigSicfe.get("indDesconto100Emite")));
|
||||
chkSicfeCreditoOrdemServico.setChecked(BooleanUtils.toBoolean(mapConfigSicfe.get("indCreditoOrdemServico")));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1743,6 +1745,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
salvaValoresSicfe("indRUTCliente", String.valueOf(chkSicfeUsaRUTCliente.isChecked()), mapConfigSicfe);
|
||||
salvaValoresSicfe("indUsaTermica", String.valueOf(chkSicfeUsaTermica.isChecked()), mapConfigSicfe);
|
||||
salvaValoresSicfe("indDesconto100Emite", String.valueOf(chkSicfeDesconto100Emite.isChecked()), mapConfigSicfe);
|
||||
salvaValoresSicfe("indCreditoOrdemServico", String.valueOf(chkSicfeCreditoOrdemServico.isChecked()), mapConfigSicfe);
|
||||
}
|
||||
|
||||
private Map<String, String> retornaValoresSicfe() {
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -4751,6 +4751,7 @@ editarEmpresaController.semanal.label = Weekly
|
|||
editarEmpresaController.senhaIntegracaoAGR = Password
|
||||
editarEmpresaController.sexta.label = Friday
|
||||
editarEmpresaController.sicfe.indDesconto100Emite = 100% discount issues Sicfe
|
||||
editarEmpresaController.sicfe.indCreditoOrdemServico = Issues Credit only for Service Orders
|
||||
editarEmpresaController.sicfe.indIsSicfeHabilitado = Sifce by Enabled Company
|
||||
editarEmpresaController.sicfe.indUsaRUTCliente = Uses RUT in customer registration
|
||||
editarEmpresaController.sicfe.indeUsaTermica = Uses thermal printer layout
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -4752,6 +4752,7 @@ editarEmpresaController.semanal.label = Semanal
|
|||
editarEmpresaController.senhaIntegracaoAGR = Senha
|
||||
editarEmpresaController.sexta.label = Sexta-Feira
|
||||
editarEmpresaController.sicfe.indDesconto100Emite = Desconto 100% emite Sicfe
|
||||
editarEmpresaController.sicfe.indCreditoOrdemServico = Emite Crédito somente Ordem de Serviço
|
||||
editarEmpresaController.sicfe.indIsSicfeHabilitado = Sifce por Empresa Habilitado
|
||||
editarEmpresaController.sicfe.indUsaRUTCliente = Utiliza RUT no cadastro de cliente
|
||||
editarEmpresaController.sicfe.indeUsaTermica = Utiliza layout impressora térmica
|
||||
|
|
|
@ -2706,6 +2706,10 @@
|
|||
<label value="${c:l('editarEmpresaController.sicfe.indDesconto100Emite')}" />
|
||||
<checkbox id="chkSicfeDesconto100Emite" use="com.rjconsultores.ventaboletos.web.utilerias.MyCheckboxSiNo" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarEmpresaController.sicfe.indCreditoOrdemServico')}" />
|
||||
<checkbox id="chkSicfeCreditoOrdemServico" use="com.rjconsultores.ventaboletos.web.utilerias.MyCheckboxSiNo" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<groupbox id="gbHabilitaSicfe" open="false" onOpen="chkIsSicfeHabilitado.setChecked(event.open);">
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<zk xmlns="http://www.zkoss.org/2005/zul">
|
||||
<window id="winEditarConvenio" border="normal"
|
||||
apply="${editarConvenioController}" width="550px" height="500px"
|
||||
apply="${editarConvenioController}" width="550px" height="500px"
|
||||
contentStyle="overflow:auto"
|
||||
title="${c:l('editarConvenioController.window.title')}">
|
||||
<toolbar>
|
||||
|
@ -208,86 +208,88 @@
|
|||
</grid>
|
||||
|
||||
<!-- CAMPANHA Empresa -->
|
||||
<grid fixedLayout="true" id="griCampanhaEmpresa"
|
||||
visible="false">
|
||||
<columns>
|
||||
<column width="20%" />
|
||||
<column width="80%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarConvenioController.tabEmpresa.value')}" />
|
||||
<combobox id="cmbCampanhaEmpresa"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
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>
|
||||
<listbox id="campanhaEmpresaList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
vflex="true" multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarConvenioController.tabEmpresa.descricao.value')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
<div id="divCampanhaEmpresa" visible="false">
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="20%" />
|
||||
<column width="80%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarConvenioController.tabEmpresa.value')}" />
|
||||
<combobox id="cmbCampanhaEmpresa"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
mold="rounded" width="200px"
|
||||
model="@{winEditarConvenio$composer.lsEmpresa}" />
|
||||
</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>
|
||||
|
||||
|
||||
<!-- CAMPANHA PUNTO VENTA -->
|
||||
<grid fixedLayout="true"
|
||||
id="gridCampanhaPuntoVenta">
|
||||
<columns>
|
||||
<column width="20%" />
|
||||
<column width="80%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarConvenioController.tabPuntoVenta.value')}" />
|
||||
<combobox
|
||||
id="cmbConvenioCampanhaPuntoVenta"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
|
||||
sinTodos="true" mold="rounded" buttonVisible="true"
|
||||
width="90%" />
|
||||
</row>
|
||||
<row>
|
||||
<label value=" " />
|
||||
<hbox>
|
||||
<button
|
||||
id="btnAdicionarConvenioCampanhaPuntoVenta" height="20"
|
||||
image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnAgregar')}" />
|
||||
<button
|
||||
id="btnRemoverConvenioCampanhaPuntoVenta" height="20"
|
||||
image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnEliminar')}" />
|
||||
</hbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<listbox id="convenioCampanhaPuntoVentaList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
vflex="true" multiple="false">
|
||||
<listhead sizable="true">
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarConvenioController.tabPuntoVenta.puntoVenta.descricao.value')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
<listbox id="campanhaEmpresaList"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyListbox"
|
||||
multiple="false">
|
||||
<listhead sizable="true">
|
||||
|
||||
<listheader
|
||||
image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarConvenioController.tabEmpresa.descricao.value')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- CAMPANHA PUNTO VENTA -->
|
||||
<div id="divCampanhaPuntoVenta" visible="false">
|
||||
<grid fixedLayout="true">
|
||||
<columns>
|
||||
<column width="20%" />
|
||||
<column width="80%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarConvenioController.tabPuntoVenta.value')}" />
|
||||
<combobox
|
||||
id="cmbConvenioCampanhaPuntoVenta"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta"
|
||||
sinTodos="true" mold="rounded" buttonVisible="true"
|
||||
width="90%" />
|
||||
</row>
|
||||
|
||||
|
||||
</rows>
|
||||
</grid>
|
||||
<toolbar>
|
||||
<button
|
||||
id="btnAdicionarConvenioCampanhaPuntoVenta" height="20"
|
||||
image="/gui/img/add.png" width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnAgregar')}" />
|
||||
<button
|
||||
id="btnRemoverConvenioCampanhaPuntoVenta" height="20"
|
||||
image="/gui/img/remove.png" width="35px"
|
||||
tooltiptext="${c:l('tooltiptext.btnEliminar')}" />
|
||||
</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"
|
||||
label="${c:l('editarConvenioController.tabPuntoVenta.puntoVenta.descricao.value')}" />
|
||||
</listhead>
|
||||
</listbox>
|
||||
</div>
|
||||
|
||||
|
||||
<toolbar>
|
||||
|
|
Loading…
Reference in New Issue