Merge pull request 'AL-4273 nova tela comprovante de passagem' (!588) from AL-4273 into master
Reviewed-on: adm/VentaBoletosAdm#588 Reviewed-by: fabio <fabio.faria@rjconsultores.com.br>master 1.102.3
commit
309977f3ee
6
pom.xml
6
pom.xml
|
@ -4,12 +4,12 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>ventaboletosadm</artifactId>
|
||||
<version>1.102.2</version>
|
||||
<version>1.102.3</version>
|
||||
<packaging>war</packaging>
|
||||
|
||||
<properties>
|
||||
<modelWeb.version>1.77.1</modelWeb.version>
|
||||
<flyway.version>1.60.0</flyway.version>
|
||||
<modelWeb.version>1.77.2</modelWeb.version>
|
||||
<flyway.version>1.61.0</flyway.version>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -88,6 +88,7 @@ import com.rjconsultores.ventaboletos.entidad.EmpresaAdyenConfig;
|
|||
import com.rjconsultores.ventaboletos.entidad.EmpresaAsistenciaDeViajeConfig;
|
||||
import com.rjconsultores.ventaboletos.entidad.EmpresaCertificadoConfig;
|
||||
import com.rjconsultores.ventaboletos.entidad.EmpresaCieloLinkConfig;
|
||||
import com.rjconsultores.ventaboletos.entidad.EmpresaComprovantePassagemConfig;
|
||||
import com.rjconsultores.ventaboletos.entidad.EmpresaContaBancaria;
|
||||
import com.rjconsultores.ventaboletos.entidad.EmpresaCrediBancoConfig;
|
||||
import com.rjconsultores.ventaboletos.entidad.EmpresaEmail;
|
||||
|
@ -102,12 +103,14 @@ import com.rjconsultores.ventaboletos.entidad.EmpresaSaferConfig;
|
|||
import com.rjconsultores.ventaboletos.entidad.EmpresaSicfeConfig;
|
||||
import com.rjconsultores.ventaboletos.entidad.Estado;
|
||||
import com.rjconsultores.ventaboletos.entidad.FormaPago;
|
||||
import com.rjconsultores.ventaboletos.entidad.ImpresionLayoutConfig;
|
||||
import com.rjconsultores.ventaboletos.entidad.InscricaoEstadual;
|
||||
import com.rjconsultores.ventaboletos.entidad.InstiFinanceira;
|
||||
import com.rjconsultores.ventaboletos.entidad.OrgaoConcedente;
|
||||
import com.rjconsultores.ventaboletos.entidad.Parada;
|
||||
import com.rjconsultores.ventaboletos.entidad.TipoEventoExtra;
|
||||
import com.rjconsultores.ventaboletos.enums.EnumTipoCertificado;
|
||||
import com.rjconsultores.ventaboletos.enums.EnumTipoIntegracao;
|
||||
import com.rjconsultores.ventaboletos.enums.TipoCstGratuidade;
|
||||
import com.rjconsultores.ventaboletos.enums.TipoEmail;
|
||||
import com.rjconsultores.ventaboletos.enums.TipoOperacaoECommerce;
|
||||
|
@ -119,6 +122,7 @@ import com.rjconsultores.ventaboletos.service.EmpresaAdyenConfigService;
|
|||
import com.rjconsultores.ventaboletos.service.EmpresaAsistenciaDeViajeConfigService;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaCertificadoConfigService;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaCieloLinkService;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaComprovantePassagemConfigService;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaCrediBancoConfigService;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaEmailConfigService;
|
||||
import com.rjconsultores.ventaboletos.service.EmpresaEmailEComerceService;
|
||||
|
@ -133,6 +137,7 @@ import com.rjconsultores.ventaboletos.service.EmpresaService;
|
|||
import com.rjconsultores.ventaboletos.service.EmpresaSicfeConfigService;
|
||||
import com.rjconsultores.ventaboletos.service.EstadoService;
|
||||
import com.rjconsultores.ventaboletos.service.FormaPagoService;
|
||||
import com.rjconsultores.ventaboletos.service.ImpresionLayoutConfigService;
|
||||
import com.rjconsultores.ventaboletos.service.InstiFinanceiraService;
|
||||
import com.rjconsultores.ventaboletos.service.OrgaoConcedenteService;
|
||||
import com.rjconsultores.ventaboletos.service.TipoEventoExtraService;
|
||||
|
@ -147,6 +152,7 @@ import com.rjconsultores.ventaboletos.vo.mercadopago.RetornoStoreVO;
|
|||
import com.rjconsultores.ventaboletos.vo.mercadopago.StoreVO;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyCheckboxSiNo;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxImpresionLayoutConfig;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.MyListbox;
|
||||
|
@ -211,6 +217,8 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
private EmpresaCrediBancoConfigService empresaCrediBancoConfigService;
|
||||
@Autowired
|
||||
private EmpresaAsistenciaDeViajeConfigService empresaAsistenciaDeViajeConfigService;
|
||||
@Autowired
|
||||
private EmpresaComprovantePassagemConfigService empresaComprovantePassagemConfigService;
|
||||
|
||||
@Autowired
|
||||
private EmpresaPMArtespConfigService empresaPMArtespConfigService;
|
||||
|
@ -231,6 +239,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
private List<EmpresaSicfeConfig> empresaSicfeConfig;
|
||||
private List<EmpresaCrediBancoConfig> empresaCrediBancoConfig;
|
||||
private List<EmpresaAsistenciaDeViajeConfig> empresaAsistenciaDeViajeConfig;
|
||||
private List<EmpresaComprovantePassagemConfig> empresaComprovantePassagemConfig;
|
||||
private MyListbox empresaList;
|
||||
private MyTextbox txtNome;
|
||||
private MyTextbox txtCNPJ;
|
||||
|
@ -582,6 +591,31 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
private EmpresaPMArtespConfig empresaPMArtespConfig;
|
||||
private List<OrgaoConcedente> lsOrgaoConcedente;
|
||||
|
||||
private List<EnumTipoIntegracao> lsTipoIntegracao;
|
||||
|
||||
private Groupbox gbHabilitaImpressaoComprovante;
|
||||
private Checkbox chkIsImpressaoComprovanteHabilitado;
|
||||
|
||||
private Groupbox gbHabilitaWhatsAppComprovante;
|
||||
private Checkbox chkIsWhatsAppComprovanteHabilitado;
|
||||
private Checkbox chkDefaultWhatsApp;
|
||||
private Combobox cmbTipoIntegracaoWhatsApp;
|
||||
private MyComboboxImpresionLayoutConfig cmbImpresionLayoutConfigWhatsApp;
|
||||
|
||||
private Groupbox gbHabilitaSMSComprovante;
|
||||
private Checkbox chkIsSMSComprovanteHabilitado;
|
||||
private Checkbox chkDefaultSMS;
|
||||
private Combobox cmbTipoIntegracaoSMS;
|
||||
private MyComboboxImpresionLayoutConfig cmbImpresionLayoutConfigSMS;
|
||||
|
||||
private Groupbox gbHabilitaEmailComprovante;
|
||||
private Checkbox chkIsEmailComprovanteHabilitado;
|
||||
private Checkbox chkDefaultEmail;
|
||||
private Combobox cmbTipoIntegracaoEmail;
|
||||
private MyComboboxImpresionLayoutConfig cmbImpresionLayoutConfigEmail;
|
||||
|
||||
private ImpresionLayoutConfigService impresionLayoutConfigService;
|
||||
|
||||
private static final String EMAIL_PATTERN = "^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@"
|
||||
+ "[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$";
|
||||
|
||||
|
@ -593,6 +627,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
lsFormaPagos = formaPagoService.obtenerTodos();
|
||||
lsTipoEventoExtras = tipoEventoExtraService.obtenerTodos();
|
||||
lsOrgaoConcedente = orgaoConcedenteService.obtenerTodos();
|
||||
lsTipoIntegracao = Arrays.asList(EnumTipoIntegracao.values());
|
||||
|
||||
empresa = (Empresa) Executions.getCurrent().getArg().get("empresa");
|
||||
empresaList = (MyListbox) Executions.getCurrent().getArg().get("empresaList");
|
||||
|
@ -613,6 +648,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
empresaSicfeConfig = empresaSicfeConfigService.buscarByEmpresa(empresa.getEmpresaId());
|
||||
empresaCrediBancoConfig = empresaCrediBancoConfigService.buscarByEmpresa(empresa.getEmpresaId());
|
||||
empresaAsistenciaDeViajeConfig = empresaAsistenciaDeViajeConfigService.buscarByEmpresa(empresa.getEmpresaId());
|
||||
empresaComprovantePassagemConfig = empresaComprovantePassagemConfigService.buscarByEmpresa(empresa.getEmpresaId());
|
||||
empresaPMArtespConfig = empresaPMArtespConfigService.buscarPorEmpresa(empresa);
|
||||
}
|
||||
|
||||
|
@ -755,6 +791,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
preencheInformacoesSicfe();
|
||||
preencheInformacoesCrediBanco();
|
||||
preencheInformacoesAsistenciaDeViaje();
|
||||
preencheInformacoesComprovantePassagem();
|
||||
|
||||
if (empresa.getIndfechatarifa() == null) {
|
||||
rdgFechaSalida.setChecked(Boolean.TRUE);
|
||||
|
@ -1480,6 +1517,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
adicionaInformacoesSicfe();
|
||||
adicionaInformacoesCrediBanco();
|
||||
adicionaInformacoesAsistenciaDeViaje();
|
||||
adicionaInformacoesComprovantePassagem();
|
||||
|
||||
//INTEGRACAO TIPO DE PASSAGEM PM ARTESP
|
||||
salvarEmpresaPMArtespConfig();
|
||||
|
@ -1847,6 +1885,137 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
|
||||
}
|
||||
|
||||
private void preencheInformacoesComprovantePassagem() {
|
||||
Map<String, String> mapConfigComprovantePassagem = retornaValoresComprovantePassagem();
|
||||
if (!mapConfigComprovantePassagem.isEmpty()) {
|
||||
|
||||
gbHabilitaWhatsAppComprovante
|
||||
.setOpen(BooleanUtils.toBoolean(mapConfigComprovantePassagem.get("indHabilitadoWhatsApp")));
|
||||
chkIsWhatsAppComprovanteHabilitado
|
||||
.setChecked(BooleanUtils.toBoolean(mapConfigComprovantePassagem.get("indHabilitadoWhatsApp")));
|
||||
chkDefaultWhatsApp.setChecked(BooleanUtils.toBoolean(mapConfigComprovantePassagem.get("defaultWhatsApp")));
|
||||
if (mapConfigComprovantePassagem.get("tipoIntegracaoWhatsApp") != null) {
|
||||
cmbTipoIntegracaoWhatsApp.setText(mapConfigComprovantePassagem.get("tipoIntegracaoWhatsApp"));
|
||||
}
|
||||
ImpresionLayoutConfig impresionLayoutConfigWhatsApp = mapConfigComprovantePassagem.get("layoutWhatsApp") != null
|
||||
? impresionLayoutConfigService
|
||||
.obtenerID(Integer.valueOf(mapConfigComprovantePassagem.get("layoutWhatsApp")))
|
||||
: null;
|
||||
if (impresionLayoutConfigWhatsApp != null) {
|
||||
cmbImpresionLayoutConfigWhatsApp.setInitialValue(impresionLayoutConfigWhatsApp);
|
||||
cmbImpresionLayoutConfigWhatsApp.setText(impresionLayoutConfigWhatsApp.getDescricao());
|
||||
}
|
||||
|
||||
gbHabilitaSMSComprovante
|
||||
.setOpen(BooleanUtils.toBoolean(mapConfigComprovantePassagem.get("indHabilitadoSMS")));
|
||||
chkIsSMSComprovanteHabilitado
|
||||
.setChecked(BooleanUtils.toBoolean(mapConfigComprovantePassagem.get("indHabilitadoSMS")));
|
||||
chkDefaultSMS.setChecked(BooleanUtils.toBoolean(mapConfigComprovantePassagem.get("defaultSMS")));
|
||||
if (mapConfigComprovantePassagem.get("tipoIntegracaoSMS") != null) {
|
||||
cmbTipoIntegracaoSMS.setText(mapConfigComprovantePassagem.get("tipoIntegracaoSMS"));
|
||||
}
|
||||
ImpresionLayoutConfig impresionLayoutConfigSMS = mapConfigComprovantePassagem.get("layoutSMS") != null
|
||||
? impresionLayoutConfigService
|
||||
.obtenerID(Integer.valueOf(mapConfigComprovantePassagem.get("layoutSMS")))
|
||||
: null;
|
||||
if (impresionLayoutConfigSMS != null) {
|
||||
cmbImpresionLayoutConfigSMS.setInitialValue(impresionLayoutConfigSMS);
|
||||
cmbImpresionLayoutConfigSMS.setText(impresionLayoutConfigSMS.getDescricao());
|
||||
}
|
||||
|
||||
gbHabilitaEmailComprovante
|
||||
.setOpen(BooleanUtils.toBoolean(mapConfigComprovantePassagem.get("indHabilitadoEmail")));
|
||||
chkIsEmailComprovanteHabilitado
|
||||
.setChecked(BooleanUtils.toBoolean(mapConfigComprovantePassagem.get("indHabilitadoEmail")));
|
||||
chkDefaultEmail.setChecked(BooleanUtils.toBoolean(mapConfigComprovantePassagem.get("defaultEmail")));
|
||||
if (mapConfigComprovantePassagem.get("tipoIntegracaoEmail") != null) {
|
||||
cmbTipoIntegracaoEmail.setText(mapConfigComprovantePassagem.get("tipoIntegracaoEmail"));
|
||||
}
|
||||
ImpresionLayoutConfig impresionLayoutConfigEmail = mapConfigComprovantePassagem.get("layoutEmail") != null
|
||||
? impresionLayoutConfigService
|
||||
.obtenerID(Integer.valueOf(mapConfigComprovantePassagem.get("layoutEmail")))
|
||||
: null;
|
||||
if (impresionLayoutConfigEmail != null) {
|
||||
cmbImpresionLayoutConfigEmail.setInitialValue(impresionLayoutConfigEmail);
|
||||
cmbImpresionLayoutConfigEmail.setText(impresionLayoutConfigEmail.getDescricao());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void adicionaInformacoesComprovantePassagem() {
|
||||
Map<String, String> mapConfigComprovantePassagem = retornaValoresComprovantePassagem();
|
||||
|
||||
salvaValoresComprovantePassagem("indHabilitadoWhatsApp", String.valueOf(chkIsWhatsAppComprovanteHabilitado.isChecked()), mapConfigComprovantePassagem);
|
||||
salvaValoresComprovantePassagem("defaultWhatsApp", String.valueOf(chkDefaultWhatsApp.isChecked()), mapConfigComprovantePassagem);
|
||||
salvaValoresComprovantePassagem("tipoIntegracaoWhatsApp", cmbTipoIntegracaoWhatsApp.getText(), mapConfigComprovantePassagem);
|
||||
|
||||
Comboitem selectedItemWhatsApp = cmbImpresionLayoutConfigWhatsApp.getSelectedItem();
|
||||
if (selectedItemWhatsApp != null) {
|
||||
ImpresionLayoutConfig impresionLayoutConfig = (ImpresionLayoutConfig) selectedItemWhatsApp.getValue();
|
||||
salvaValoresComprovantePassagem("layoutWhatsApp", impresionLayoutConfig.getImpresionLayoutConfigId(),
|
||||
mapConfigComprovantePassagem);
|
||||
} else {
|
||||
salvaValoresComprovantePassagem("layoutWhatsApp", null, mapConfigComprovantePassagem);
|
||||
}
|
||||
|
||||
salvaValoresComprovantePassagem("indHabilitadoSMS", String.valueOf(chkIsSMSComprovanteHabilitado.isChecked()), mapConfigComprovantePassagem);
|
||||
salvaValoresComprovantePassagem("defaultSMS", String.valueOf(chkDefaultSMS.isChecked()), mapConfigComprovantePassagem);
|
||||
salvaValoresComprovantePassagem("tipoIntegracaoSMS", cmbTipoIntegracaoSMS.getText(), mapConfigComprovantePassagem);
|
||||
|
||||
Comboitem selectedItemSMS = cmbImpresionLayoutConfigSMS.getSelectedItem();
|
||||
if (selectedItemSMS != null) {
|
||||
ImpresionLayoutConfig impresionLayoutConfig = (ImpresionLayoutConfig) selectedItemSMS.getValue();
|
||||
salvaValoresComprovantePassagem("layoutSMS", impresionLayoutConfig.getImpresionLayoutConfigId(),
|
||||
mapConfigComprovantePassagem);
|
||||
} else {
|
||||
salvaValoresComprovantePassagem("layoutSMS", null, mapConfigComprovantePassagem);
|
||||
}
|
||||
|
||||
salvaValoresComprovantePassagem("indHabilitadoEmail", String.valueOf(chkIsEmailComprovanteHabilitado.isChecked()), mapConfigComprovantePassagem);
|
||||
salvaValoresComprovantePassagem("defaultEmail", String.valueOf(chkDefaultEmail.isChecked()), mapConfigComprovantePassagem);
|
||||
salvaValoresComprovantePassagem("tipoIntegracaoEmail", cmbTipoIntegracaoEmail.getText(), mapConfigComprovantePassagem);
|
||||
|
||||
Comboitem selectedItemEmail = cmbImpresionLayoutConfigEmail.getSelectedItem();
|
||||
if (selectedItemEmail != null) {
|
||||
ImpresionLayoutConfig impresionLayoutConfig = (ImpresionLayoutConfig) selectedItemEmail.getValue();
|
||||
salvaValoresComprovantePassagem("layoutEmail", impresionLayoutConfig.getImpresionLayoutConfigId(),
|
||||
mapConfigComprovantePassagem);
|
||||
} else {
|
||||
salvaValoresComprovantePassagem("layoutEmail", null, mapConfigComprovantePassagem);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private Map<String, String> retornaValoresComprovantePassagem() {
|
||||
Map<String, String> map = new HashMap<String, String>();
|
||||
if (empresaComprovantePassagemConfig != null) {
|
||||
for (EmpresaComprovantePassagemConfig empresaComprovantePassagemConfig : empresaComprovantePassagemConfig) {
|
||||
map.put(empresaComprovantePassagemConfig.getChave(), empresaComprovantePassagemConfig.getValor());
|
||||
}
|
||||
}
|
||||
|
||||
return map;
|
||||
}
|
||||
|
||||
private void salvaValoresComprovantePassagem(String chave, Object valor, Map<String, String> mapConfigComprovantePassagem) {
|
||||
|
||||
if (mapConfigComprovantePassagem.containsKey(chave)) {
|
||||
EmpresaComprovantePassagemConfig empresaComprovantePassagemConfig = empresaComprovantePassagemConfigService.buscarChave(chave,
|
||||
empresa.getEmpresaId());
|
||||
empresaComprovantePassagemConfig.setValor(valor != null ? valor.toString() : null);
|
||||
empresaComprovantePassagemConfigService.actualizacion(empresaComprovantePassagemConfig);
|
||||
} else {
|
||||
EmpresaComprovantePassagemConfig empresaComprovantePassagemConfig = new EmpresaComprovantePassagemConfig();
|
||||
empresaComprovantePassagemConfig.setEmpresa(empresa);
|
||||
empresaComprovantePassagemConfig.setChave(chave);
|
||||
empresaComprovantePassagemConfig.setValor(valor != null ? valor.toString() : null);
|
||||
empresaComprovantePassagemConfigService.suscribir(empresaComprovantePassagemConfig);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
private boolean validarEmail() {
|
||||
if (txtEmail.getText() == null || txtEmail.getText().isEmpty()) {
|
||||
return true;
|
||||
|
@ -3442,4 +3611,12 @@ public void onClick$btnTestEmailFlexBus(Event ev) throws InterruptedException {
|
|||
this.lsOrgaoConcedente = lsOrgaoConcedente;
|
||||
}
|
||||
|
||||
public List<EnumTipoIntegracao> getLsTipoIntegracao() {
|
||||
return lsTipoIntegracao;
|
||||
}
|
||||
|
||||
public void setLsTipoIntegracao(List<EnumTipoIntegracao> lsTipoIntegracao) {
|
||||
this.lsTipoIntegracao = lsTipoIntegracao;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -472,6 +472,7 @@
|
|||
<value>com.rjconsultores.ventaboletos.entidad.ConvenioCampanhaEmpresa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConvenioCampanhaPuntoVenta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Transportadora</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EmpresaComprovantePassagemConfig</value>
|
||||
</list>
|
||||
</property>
|
||||
|
||||
|
|
|
@ -10007,3 +10007,12 @@ winMovimentacionBilhetesPuntoVenta.numSerie.label = Série
|
|||
winMovimentacionBilhetesPuntoVenta.origem.label = Origem
|
||||
winMovimentacionBilhetesPuntoVenta.puntoventa.label = Ag.
|
||||
winMovimentacionBilhetesPuntoVenta.tipoMovimentacion.label = Natureza
|
||||
|
||||
editarEmpresaController.tabComprovantePassagem.value = Payment Voucher
|
||||
editarEmpresaController.subTabComprovanteImpressao.value = Print
|
||||
editarEmpresaController.subTabComprovanteWhatsApp.value = WhatsApp
|
||||
editarEmpresaController.subTabComprovanteSMS.value = SMS
|
||||
editarEmpresaController.subTabComprovanteEmail.value = E-mail
|
||||
editarEmpresaController.chkIsImpressaoComprovanteHabilitado.value = Enable
|
||||
editarEmpresaController.chkComprovanteDefault.value = Default
|
||||
editarEmpresaController.lblComprovanteTipoIntegracao.value = Type Integration
|
||||
|
|
|
@ -10134,3 +10134,12 @@ winMovimentacionBilhetesPuntoVenta.numSerie.label = Série
|
|||
winMovimentacionBilhetesPuntoVenta.origem.label = Origen
|
||||
winMovimentacionBilhetesPuntoVenta.puntoventa.label = Ag.
|
||||
winMovimentacionBilhetesPuntoVenta.tipoMovimentacion.label = Naturaleza
|
||||
|
||||
editarEmpresaController.tabComprovantePassagem.value = Prueba de boleto
|
||||
editarEmpresaController.subTabComprovanteImpressao.value = Imprimir
|
||||
editarEmpresaController.subTabComprovanteWhatsApp.value = WhatsApp
|
||||
editarEmpresaController.subTabComprovanteSMS.value = SMS
|
||||
editarEmpresaController.subTabComprovanteEmail.value = E-mail
|
||||
editarEmpresaController.chkIsImpressaoComprovanteHabilitado.value = Permitir
|
||||
editarEmpresaController.chkComprovanteDefault.value = Default
|
||||
editarEmpresaController.lblComprovanteTipoIntegracao.value = Tipo de integración
|
||||
|
|
|
@ -10116,3 +10116,12 @@ winMovimentacionBilhetesPuntoVenta.numSerie.label = Série
|
|||
winMovimentacionBilhetesPuntoVenta.origem.label = Origine
|
||||
winMovimentacionBilhetesPuntoVenta.puntoventa.label = Ag.
|
||||
winMovimentacionBilhetesPuntoVenta.tipoMovimentacion.label = Nature
|
||||
|
||||
editarEmpresaController.tabComprovantePassagem.value = Preuve de billet
|
||||
editarEmpresaController.subTabComprovanteImpressao.value = Imprimer
|
||||
editarEmpresaController.subTabComprovanteWhatsApp.value = WhatsApp
|
||||
editarEmpresaController.subTabComprovanteSMS.value = SMS
|
||||
editarEmpresaController.subTabComprovanteEmail.value = E-mail
|
||||
editarEmpresaController.chkIsImpressaoComprovanteHabilitado.value = Activer
|
||||
editarEmpresaController.chkComprovanteDefault.value = Default
|
||||
editarEmpresaController.lblComprovanteTipoIntegracao.value = Intégration de types
|
||||
|
|
|
@ -10119,3 +10119,12 @@ winMovimentacionBilhetesPuntoVenta.numSerie.label = Série
|
|||
winMovimentacionBilhetesPuntoVenta.origem.label = Origem
|
||||
winMovimentacionBilhetesPuntoVenta.puntoventa.label = Ag.
|
||||
winMovimentacionBilhetesPuntoVenta.tipoMovimentacion.label = Natureza
|
||||
|
||||
editarEmpresaController.tabComprovantePassagem.value = Comprovante Passagem
|
||||
editarEmpresaController.subTabComprovanteImpressao.value = Impressão
|
||||
editarEmpresaController.subTabComprovanteWhatsApp.value = WhatsApp
|
||||
editarEmpresaController.subTabComprovanteSMS.value = SMS
|
||||
editarEmpresaController.subTabComprovanteEmail.value = E-mail
|
||||
editarEmpresaController.chkIsImpressaoComprovanteHabilitado.value = Habilita
|
||||
editarEmpresaController.chkComprovanteDefault.value = Default
|
||||
editarEmpresaController.lblComprovanteTipoIntegracao.value = Tipo Integracão
|
||||
|
|
|
@ -73,6 +73,7 @@
|
|||
<tab id="tabSicfe" label="${c:l('editarEmpresaController.sicfe.titulo')}" />
|
||||
<tab id="tabCrediBanco" label="${c:l('editarEmpresaController.lblCrediBanco.value')}" />
|
||||
<tab id="tabAssistenteViagem" label="${c:l('editarEmpresaController.lblAsistenciaDeViaje.value')}" />
|
||||
<tab id="tabComprovantePassagem" label="${c:l('editarEmpresaController.tabComprovantePassagem.value')}" />
|
||||
</tabs>
|
||||
|
||||
<tabpanels style="overflow: auto">
|
||||
|
@ -2866,6 +2867,169 @@
|
|||
</grid>
|
||||
</tabpanel>
|
||||
|
||||
<tabpanel>
|
||||
<tabbox>
|
||||
<tabs>
|
||||
<tab label="${c:l('editarEmpresaController.subTabComprovanteImpressao.value')}" />
|
||||
<tab label="${c:l('editarEmpresaController.subTabComprovanteWhatsApp.value')}" />
|
||||
<tab label="${c:l('editarEmpresaController.subTabComprovanteSMS.value')}" />
|
||||
<tab label="${c:l('editarEmpresaController.subTabComprovanteEmail.value')}" />
|
||||
</tabs>
|
||||
<tabpanels>
|
||||
|
||||
<tabpanel>
|
||||
<groupbox width="50%" id="gbHabilitaImpressaoComprovante" open="true" >
|
||||
<caption>
|
||||
<checkbox id="chkIsImpressaoComprovanteHabilitado" disabled="true" checked="true"
|
||||
label="${c:l('editarEmpresaController.chkIsImpressaoComprovanteHabilitado.value')}" />
|
||||
</caption>
|
||||
<hlayout width="800px">
|
||||
<grid fixedLayout="false">
|
||||
<columns>
|
||||
<column width="25%" />
|
||||
<column width="75%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${c:l('editarEmpresaController.chkComprovanteDefault.value')}" />
|
||||
<checkbox id="chkDefaultImpressao" disabled="true" checked="true" use="com.rjconsultores.ventaboletos.web.utilerias.MyCheckboxSiNo" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
</hlayout>
|
||||
</groupbox>
|
||||
</tabpanel>
|
||||
|
||||
<tabpanel>
|
||||
<groupbox width="50%" id="gbHabilitaWhatsAppComprovante" open="false" onOpen="chkIsWhatsAppComprovanteHabilitado.setChecked(event.open);">
|
||||
<caption>
|
||||
<checkbox id="chkIsWhatsAppComprovanteHabilitado" checked="false" onCheck="gbHabilitaWhatsAppComprovante.setOpen(event.checked)"
|
||||
label="${c:l('editarEmpresaController.chkIsImpressaoComprovanteHabilitado.value')}" />
|
||||
</caption>
|
||||
<hlayout width="800px">
|
||||
<grid fixedLayout="false">
|
||||
<columns>
|
||||
<column width="25%" />
|
||||
<column width="75%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${c:l('editarEmpresaController.chkComprovanteDefault.value')}" />
|
||||
<checkbox id="chkDefaultWhatsApp" use="com.rjconsultores.ventaboletos.web.utilerias.MyCheckboxSiNo" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarEmpresaController.lblComprovanteTipoIntegracao.value')}" />
|
||||
<combobox id="cmbTipoIntegracaoWhatsApp"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
width="100%" mold="rounded" buttonVisible="true"
|
||||
model="@{winEditarEmpresa$composer.lsTipoIntegracao}"
|
||||
/>
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('busquedaImpresionLayoutConfigController.window.title')}" />
|
||||
<combobox id="cmbImpresionLayoutConfigWhatsApp"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxImpresionLayoutConfig"
|
||||
|
||||
mold="rounded" buttonVisible="true" width="100%" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
</hlayout>
|
||||
</groupbox>
|
||||
</tabpanel>
|
||||
|
||||
|
||||
<tabpanel>
|
||||
|
||||
<groupbox width="50%" id="gbHabilitaSMSComprovante" open="false" onOpen="chkIsSMSComprovanteHabilitado.setChecked(event.open);">
|
||||
<caption>
|
||||
<checkbox id="chkIsSMSComprovanteHabilitado" checked="false" onCheck="gbHabilitaSMSComprovante.setOpen(event.checked)"
|
||||
label="${c:l('editarEmpresaController.chkIsImpressaoComprovanteHabilitado.value')}" />
|
||||
</caption>
|
||||
<hlayout width="800px">
|
||||
<grid fixedLayout="false">
|
||||
<columns>
|
||||
<column width="25%" />
|
||||
<column width="75%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${c:l('editarEmpresaController.chkComprovanteDefault.value')}" />
|
||||
<checkbox id="chkDefaultSMS" use="com.rjconsultores.ventaboletos.web.utilerias.MyCheckboxSiNo" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarEmpresaController.lblComprovanteTipoIntegracao.value')}" />
|
||||
<combobox id="cmbTipoIntegracaoSMS"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
width="100%" mold="rounded" buttonVisible="true"
|
||||
model="@{winEditarEmpresa$composer.lsTipoIntegracao}"
|
||||
/>
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('busquedaImpresionLayoutConfigController.window.title')}" />
|
||||
<combobox id="cmbImpresionLayoutConfigSMS"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxImpresionLayoutConfig"
|
||||
|
||||
mold="rounded" buttonVisible="true" width="100%" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
</hlayout>
|
||||
</groupbox>
|
||||
|
||||
</tabpanel>
|
||||
|
||||
<tabpanel>
|
||||
|
||||
<groupbox width="50%" id="gbHabilitaEmailComprovante" open="false" onOpen="chkIsEmailComprovanteHabilitado.setChecked(event.open);">
|
||||
<caption>
|
||||
<checkbox id="chkIsEmailComprovanteHabilitado" checked="false" onCheck="gbHabilitaEmailComprovante.setOpen(event.checked)"
|
||||
label="${c:l('editarEmpresaController.chkIsImpressaoComprovanteHabilitado.value')}" />
|
||||
</caption>
|
||||
<hlayout width="800px">
|
||||
<grid fixedLayout="false">
|
||||
<columns>
|
||||
<column width="25%" />
|
||||
<column width="75%" />
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label value="${c:l('editarEmpresaController.chkComprovanteDefault.value')}" />
|
||||
<checkbox id="chkDefaultEmail" use="com.rjconsultores.ventaboletos.web.utilerias.MyCheckboxSiNo" />
|
||||
</row>
|
||||
<row>
|
||||
<label value="${c:l('editarEmpresaController.lblComprovanteTipoIntegracao.value')}" />
|
||||
<combobox id="cmbTipoIntegracaoEmail"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
width="100%" mold="rounded" buttonVisible="true"
|
||||
model="@{winEditarEmpresa$composer.lsTipoIntegracao}"
|
||||
/>
|
||||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('busquedaImpresionLayoutConfigController.window.title')}" />
|
||||
<combobox id="cmbImpresionLayoutConfigEmail"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxImpresionLayoutConfig"
|
||||
|
||||
mold="rounded" buttonVisible="true" width="100%" />
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
|
||||
</hlayout>
|
||||
</groupbox>
|
||||
|
||||
</tabpanel>
|
||||
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
</tabpanel>
|
||||
|
||||
</tabpanels>
|
||||
</tabbox>
|
||||
</window>
|
||||
|
|
Loading…
Reference in New Issue