diff --git a/pom.xml b/pom.xml
index 5583e23a7..94942c2c7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,12 +4,12 @@
4.0.0
br.com.rjconsultores
ventaboletosadm
- 1.0.57
+ 1.0.58
war
- 1.0.33
- 1.0.22
+ 1.0.34
+ 1.0.23
diff --git a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/catalogos/EditarEmpresaController.java b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/catalogos/EditarEmpresaController.java
index ae5c76992..d0431d871 100644
--- a/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/catalogos/EditarEmpresaController.java
+++ b/src/java/com/rjconsultores/ventaboletos/web/gui/controladores/catalogos/EditarEmpresaController.java
@@ -7,6 +7,7 @@ package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
+import java.math.BigDecimal;
import java.security.InvalidKeyException;
import java.security.KeyStore;
import java.security.KeyStoreException;
@@ -32,6 +33,8 @@ import java.util.regex.Pattern;
import org.apache.commons.lang.BooleanUtils;
import org.apache.commons.lang.StringUtils;
+import org.apache.http.HttpStatus;
+import org.apache.http.entity.ContentType;
import org.apache.log4j.Logger;
import org.brazilutils.br.cpfcnpj.Cnpj;
import org.brazilutils.br.cpfcnpj.Cpf;
@@ -46,6 +49,7 @@ import org.zkoss.zk.ui.Executions;
import org.zkoss.zk.ui.UiException;
import org.zkoss.zk.ui.event.Event;
import org.zkoss.zk.ui.event.EventListener;
+import org.zkoss.zk.ui.event.InputEvent;
import org.zkoss.zk.ui.event.UploadEvent;
import org.zkoss.zkplus.databind.BindingListModel;
import org.zkoss.zkplus.databind.BindingListModelList;
@@ -64,6 +68,7 @@ import org.zkoss.zul.Tab;
import org.zkoss.zul.Tabbox;
import org.zkoss.zul.Textbox;
+import com.google.gson.Gson;
import com.rjconsultores.ventaboletos.constantes.ConstantesFuncionSistema;
import com.rjconsultores.ventaboletos.entidad.Categoria;
import com.rjconsultores.ventaboletos.entidad.Ciudad;
@@ -80,6 +85,7 @@ import com.rjconsultores.ventaboletos.entidad.EmpresaEmailConfig;
import com.rjconsultores.ventaboletos.entidad.EmpresaEmailEComerce;
import com.rjconsultores.ventaboletos.entidad.EmpresaEmailFlexBus;
import com.rjconsultores.ventaboletos.entidad.EmpresaImposto;
+import com.rjconsultores.ventaboletos.entidad.EmpresaMercadoPagoConfig;
import com.rjconsultores.ventaboletos.entidad.EmpresaSaferConfig;
import com.rjconsultores.ventaboletos.entidad.Estado;
import com.rjconsultores.ventaboletos.entidad.FormaPago;
@@ -89,8 +95,11 @@ import com.rjconsultores.ventaboletos.entidad.Parada;
import com.rjconsultores.ventaboletos.entidad.TipoEventoExtra;
import com.rjconsultores.ventaboletos.enums.TipoCstGratuidade;
import com.rjconsultores.ventaboletos.enums.TipoEmail;
+import com.rjconsultores.ventaboletos.enums.TipoEnvioRest;
import com.rjconsultores.ventaboletos.enums.TipoOperacaoECommerce;
import com.rjconsultores.ventaboletos.exception.BusinessException;
+import com.rjconsultores.ventaboletos.rest.generic.GenericRest;
+import com.rjconsultores.ventaboletos.rest.generic.RetornoGenericRest;
import com.rjconsultores.ventaboletos.service.CategoriaService;
import com.rjconsultores.ventaboletos.service.CiudadService;
import com.rjconsultores.ventaboletos.service.EmpresaAdyenConfigService;
@@ -100,6 +109,7 @@ import com.rjconsultores.ventaboletos.service.EmpresaEmailEComerceService;
import com.rjconsultores.ventaboletos.service.EmpresaEmailFlexBusService;
import com.rjconsultores.ventaboletos.service.EmpresaEmailService;
import com.rjconsultores.ventaboletos.service.EmpresaImpostoService;
+import com.rjconsultores.ventaboletos.service.EmpresaMercadoPagoConfigService;
import com.rjconsultores.ventaboletos.service.EmpresaSaferConfigService;
import com.rjconsultores.ventaboletos.service.EmpresaService;
import com.rjconsultores.ventaboletos.service.EstadoService;
@@ -111,6 +121,12 @@ import com.rjconsultores.ventaboletos.utilerias.CustomEnum;
import com.rjconsultores.ventaboletos.utilerias.RegistroConDependenciaException;
import com.rjconsultores.ventaboletos.utilerias.SendMail.AuthType;
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
+import com.rjconsultores.ventaboletos.vo.mercadopago.PosVO;
+import com.rjconsultores.ventaboletos.vo.mercadopago.RetornoErro;
+import com.rjconsultores.ventaboletos.vo.mercadopago.RetornoPosVO;
+import com.rjconsultores.ventaboletos.vo.mercadopago.RetornoStoreVO;
+import com.rjconsultores.ventaboletos.vo.mercadopago.StoreVO;
+import com.rjconsultores.ventaboletos.vo.mercadopago.StoreVO.Location;
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar;
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada;
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
@@ -164,6 +180,8 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
private EmpresaSaferConfigService empresaSaferConfigService;
@Autowired
private EmpresaAdyenConfigService empresaAdyenConfigService;
+ @Autowired
+ private EmpresaMercadoPagoConfigService empresaMercadoPagoConfigService;
private Empresa empresa;
private EmpresaEmail empresaEmail;
@@ -173,6 +191,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
private EmpresaCieloLinkConfig empresaCieloLinkConfig;
private EmpresaSaferConfig empresaSaferConfig;
private EmpresaAdyenConfig empresaAdyenConfig;
+ private EmpresaMercadoPagoConfig empresaMercadoPagoConfig;
private MyListbox empresaList;
private MyTextbox txtNome;
private MyTextbox txtCNPJ;
@@ -418,6 +437,31 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
private List lsTipoEmail;
private List lsTipoOperacao;
private Label lblTipoEmail;
+
+ private Textbox txtUserIdMercadoPago;
+ private Textbox txtTokenMercadoPago;
+ private Combobox cmbStoreMercadoPago;
+ private Combobox cmbPOSMercadoPago;
+ private Textbox txtUrlApiMercadoPago;
+
+ private List lsStoreMercadoPago;
+ private List lsPosMercadoPago;
+
+ private Textbox txtNomeStore;
+ private Textbox txtIdStoreMercadoPago;
+ private Textbox txtNomePOS;
+ private Textbox txtIdPOSMercadoPago;
+ private Combobox cmbCategoriaMercadoPago;
+ private Combobox cmbStoreCadastroMercadoPago;
+ private Button btnCadastrarStoreMercadoPago;
+ private Button btnCadastrarPOSMercadoPago;
+
+ private PosVO posVO;
+ private StoreVO storeVO;
+
+ private Textbox txtLatitudeLongitude;
+ private Textbox txtLatitude;
+ private Textbox txtLongitude;
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,})$";
@@ -444,6 +488,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
empresaEmailConfig = empresaEmailConfigService.buscarPorEmpresa(empresa);
empresaSaferConfig = empresaSaferConfigService.buscarPorEmpresa(empresa);
empresaAdyenConfig = empresaAdyenConfigService.buscarPorEmpresa(empresa);
+ empresaMercadoPagoConfig = empresaMercadoPagoConfigService.buscarPorEmpresa(empresa);
}
if (empresa != null && empresa.getEmpresaId() != null) {
@@ -541,6 +586,13 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
}
}
+ if (empresaMercadoPagoConfig != null) {
+ txtUserIdMercadoPago.setText(empresaMercadoPagoConfig.getUserId());
+ txtTokenMercadoPago.setText(empresaMercadoPagoConfig.getToken());
+ txtUrlApiMercadoPago.setText(empresaMercadoPagoConfig.getUrlApi());
+ carregarConfiguracaoMercadoPago();
+ }
+
if (empresa.getIndfechatarifa() == null) {
rdgFechaSalida.setChecked(Boolean.TRUE);
} else if (empresa.getIndfechatarifa()) {
@@ -564,6 +616,31 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
} else {
utilizaProjetoFidelidadeSim.setChecked(Boolean.FALSE);
}
+
+ txtLatitudeLongitude.addEventListener("onChanging", new EventListener() {
+
+ @Override
+ public void onEvent(Event event) throws Exception {
+ if (event instanceof InputEvent) {
+ InputEvent inputEvent = (InputEvent) event;
+ if (inputEvent.getValue() != null) {
+ List coordinates = Arrays.asList(inputEvent.getValue().split("\\s*,\\s*"));
+ if (!coordinates.isEmpty() && coordinates.size() == 2) {
+ Float latitude = new BigDecimal(coordinates.get(0)).floatValue();
+ Float longitude = new BigDecimal(coordinates.get(1)).floatValue();
+ txtLatitude.setValue(String.valueOf(latitude));
+ txtLongitude.setValue(String.valueOf(longitude));
+ txtLatitudeLongitude.setValue(null);
+ txtLatitudeLongitude.setText(null);
+ empresa.setLatitude(latitude);
+ empresa.setLongitude(longitude);
+ event.stopPropagation();
+ }
+ }
+ }
+ }
+
+ });
chkIndgennumfoliovtaintimpost.setChecked(BooleanUtils.toBoolean(empresa.getIndgennumfoliovtaintimpost()));
chkHabilitarFidelidade.setChecked(BooleanUtils.toBoolean(empresa.getIndFidelidade()));
@@ -1110,6 +1187,41 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
empresaAdyenConfig.setIndProducao(indProducaoAdyenSim.isChecked());
empresaAdyenConfigService.actualizacion(empresaAdyenConfig);
}
+
+ if (empresaMercadoPagoConfig == null) {
+ empresaMercadoPagoConfig = new EmpresaMercadoPagoConfig();
+ empresaMercadoPagoConfig.setEmpresa(empresa);
+ empresaMercadoPagoConfig.setUserId(txtUserIdMercadoPago.getValue());
+ empresaMercadoPagoConfig.setToken(txtTokenMercadoPago.getValue());
+ empresaMercadoPagoConfig.setUrlApi(txtUrlApiMercadoPago.getValue());
+
+ if (cmbStoreMercadoPago.getSelectedItem() != null) {
+ empresaMercadoPagoConfig.setStore(cmbStoreMercadoPago.getSelectedItem().getValue().toString());
+ }
+
+ if (cmbPOSMercadoPago.getSelectedItem() != null) {
+ empresaMercadoPagoConfig.setPos(cmbPOSMercadoPago.getSelectedItem().getValue().toString());
+ }
+
+ empresaMercadoPagoConfig = empresaMercadoPagoConfigService.suscribir(empresaMercadoPagoConfig);
+
+ } else {
+ empresaMercadoPagoConfig.setEmpresa(empresa);
+ empresaMercadoPagoConfig.setUserId(txtUserIdMercadoPago.getValue());
+ empresaMercadoPagoConfig.setToken(txtTokenMercadoPago.getValue());
+ empresaMercadoPagoConfig.setUrlApi(txtUrlApiMercadoPago.getValue());
+
+ if (cmbStoreMercadoPago.getSelectedItem() != null) {
+ empresaMercadoPagoConfig.setStore(cmbStoreMercadoPago.getSelectedItem().getValue().toString());
+ }
+
+ if (cmbPOSMercadoPago.getSelectedItem() != null) {
+ empresaMercadoPagoConfig.setPos(cmbPOSMercadoPago.getSelectedItem().getValue().toString());
+ }
+
+ empresaMercadoPagoConfigService.actualizacion(empresaMercadoPagoConfig);
+ }
+
Messagebox.show(Labels.getLabel("editarEmpresaController.MSG.suscribirOK"),
Labels.getLabel("editarEmpresaController.window.title"),
@@ -1720,6 +1832,216 @@ public void onClick$btnTestEmailFlexBus(Event ev) throws InterruptedException {
Messagebox.OK, Messagebox.ERROR);
}
}
+
+ public void onClick$btnCadastrarStoreMercadoPago(Event ev) throws InterruptedException {
+ Object storeVO = cadastrarStoreMercadoPago();
+
+ if (storeVO != null && storeVO instanceof StoreVO ) {
+ RetornoStoreVO retornoStoreVO = retornarStoreMercadoPago();
+ lsStoreMercadoPago.clear();
+ for (StoreVO vo : retornoStoreVO.getResults()) {
+ lsStoreMercadoPago.add(vo);
+ }
+ BindingListModel listModel = new BindingListModelList(lsStoreMercadoPago, true);
+ cmbStoreMercadoPago.setModel(listModel);
+ cmbStoreCadastroMercadoPago.setModel(listModel);
+
+ Messagebox.show("Store cadastrada com sucesso", Labels.getLabel("editarEmpresaController.window.title"),
+ Messagebox.OK, Messagebox.INFORMATION);
+ } else {
+ Messagebox.show(storeVO.toString(), Labels.getLabel("editarEmpresaController.window.title"),
+ Messagebox.OK, Messagebox.ERROR);
+ }
+
+ }
+
+ public void onClick$btnCadastrarPOSMercadoPago(Event ev) throws InterruptedException {
+ Object posVO = cadastrarPOSMercadoPago();
+
+ if (posVO != null && posVO instanceof PosVO) {
+ RetornoPosVO retornoPosVO = retornarPosMercadoPago();
+ lsPosMercadoPago.clear();
+ for (PosVO vo : retornoPosVO.getResults()) {
+ lsPosMercadoPago.add(vo);
+ }
+ BindingListModel listModel = new BindingListModelList(lsPosMercadoPago, true);
+ cmbPOSMercadoPago.setModel(listModel);
+ Messagebox.show("POS cadastrado com sucesso", Labels.getLabel("editarEmpresaController.window.title"),
+ Messagebox.OK, Messagebox.INFORMATION);
+ } else {
+ Messagebox.show(storeVO.toString(), Labels.getLabel("editarEmpresaController.window.title"),
+ Messagebox.OK, Messagebox.ERROR);
+ }
+ }
+
+ private void carregarConfiguracaoMercadoPago() {
+
+ String store = empresaMercadoPagoConfig.getStore();
+ String pos = empresaMercadoPagoConfig.getPos();
+
+ lsStoreMercadoPago = new ArrayList();
+ lsPosMercadoPago = new ArrayList();
+
+ RetornoStoreVO retornoStoreVO = retornarStoreMercadoPago();
+ for (StoreVO vo : retornoStoreVO.getResults()) {
+ if ( store != null && vo.toString().equals(store)) {
+ this.storeVO = vo;
+ }
+ lsStoreMercadoPago.add(vo);
+ }
+
+ RetornoPosVO retornoPosVO = retornarPosMercadoPago();
+ for (PosVO vo : retornoPosVO.getResults()) {
+ if (pos != null && vo.toString().equals(pos)) {
+ this.posVO = vo;
+ }
+ lsPosMercadoPago.add(vo);
+ }
+ }
+
+ private Object cadastrarStoreMercadoPago() {
+
+ try {
+ StoreVO consulta = new StoreVO();
+
+ consulta.setName(txtNomeStore.getValue());
+ consulta.setExternal_id(txtIdStoreMercadoPago.getValue());
+
+ Location item = new Location();
+ item.setStreet_number(empresa.getNumero());
+ item.setStreet_name(empresa.getLogradouro());
+ item.setCity_name(StringUtils.capitalize(empresa.getCidade().getNombciudad().toLowerCase()));
+ item.setState_name(StringUtils.capitalize(empresa.getCidade().getEstado().getNombestado().toLowerCase()) );
+ item.setLatitude(empresa.getLatitude());
+ item.setLongitude(empresa.getLongitude());
+ item.setReference(empresa.getComplemento());
+
+ consulta.setLocation(item);
+
+ HashMap headers = new HashMap();
+ headers.put("Authorization",
+ "Bearer " + txtTokenMercadoPago.getValue());
+ headers.put("Accept", "application/json");
+ headers.put("Content-type", "application/json");
+
+ String userId = txtUserIdMercadoPago.getValue();
+
+ RetornoGenericRest> resposta = GenericRest.getInstance().fazerChamada(
+ txtUrlApiMercadoPago.getValue() + "/users/" + userId + "/stores",
+ TipoEnvioRest.POST, new Gson().toJson(consulta).toString(), ContentType.APPLICATION_JSON,
+ headers, StoreVO.class, Object.class);
+
+ if (resposta != null && (resposta.getStatusResposta().equals(HttpStatus.SC_OK)
+ || resposta.getStatusResposta().equals(HttpStatus.SC_CREATED))) {
+ return (StoreVO) resposta.getConteudo();
+ } else {
+ return resposta.getConteudoErro();
+ }
+
+ } catch (Exception e) {
+ log.error("erro ao enviar requisicao ", e);
+ }
+
+ return null;
+ }
+
+ private Object cadastrarPOSMercadoPago() {
+
+ try {
+ PosVO consulta = new PosVO();
+
+ consulta.setName(txtNomePOS.getValue());
+ consulta.setFixed_amount(false);
+
+ if (cmbStoreCadastroMercadoPago.getSelectedItem() != null) {
+ StoreVO storeVO = (StoreVO) cmbStoreCadastroMercadoPago.getSelectedItem().getValue();
+ consulta.setStore_id(storeVO.getId());
+ consulta.setExternal_store_id(storeVO.getExternal_id());
+ }
+
+ consulta.setExternal_id(txtIdPOSMercadoPago.getValue());
+ consulta.setCategory(5611203);
+
+ HashMap headers = new HashMap();
+ headers.put("Authorization",
+ "Bearer " + txtTokenMercadoPago.getValue());
+ headers.put("Accept", "application/json");
+ headers.put("Content-type", "application/json");
+
+ RetornoGenericRest> resposta = GenericRest.getInstance().fazerChamada(
+ txtUrlApiMercadoPago.getValue() + "/pos",
+ TipoEnvioRest.POST, new Gson().toJson(consulta).toString(), ContentType.APPLICATION_JSON,
+ headers, PosVO.class, RetornoErro.class);
+
+ if (resposta != null && (resposta.getStatusResposta().equals(HttpStatus.SC_OK)
+ || resposta.getStatusResposta().equals(HttpStatus.SC_CREATED))) {
+ return (PosVO) resposta.getConteudo();
+ } else {
+ return resposta.getConteudoErro();
+ }
+
+ } catch (Exception e) {
+ log.error("erro ao enviar requisicao ", e);
+ }
+
+ return null;
+ }
+
+ private RetornoStoreVO retornarStoreMercadoPago() {
+
+ try {
+
+ HashMap headers = new HashMap();
+ headers.put("Authorization",
+ "Bearer " + txtTokenMercadoPago.getValue());
+ headers.put("Accept", "application/json");
+ headers.put("Content-type", "application/json");
+
+ String userId = txtUserIdMercadoPago.getValue();
+
+ RetornoGenericRest> resposta = GenericRest.getInstance().fazerChamada(
+ txtUrlApiMercadoPago.getValue() + "/users/" + userId + "/stores/search",
+ TipoEnvioRest.GET, null, ContentType.APPLICATION_JSON,
+ headers, RetornoStoreVO.class, RetornoErro.class);
+
+ if (resposta != null && (resposta.getStatusResposta().equals(HttpStatus.SC_OK)
+ || resposta.getStatusResposta().equals(HttpStatus.SC_CREATED))) {
+ return (RetornoStoreVO) resposta.getConteudo();
+ }
+
+ } catch (Exception e) {
+ log.error("erro ao enviar requisicao ", e);
+ }
+
+ return null;
+ }
+
+ private RetornoPosVO retornarPosMercadoPago() {
+
+ try {
+
+ HashMap headers = new HashMap();
+ headers.put("Authorization",
+ "Bearer " + txtTokenMercadoPago.getValue());
+ headers.put("Accept", "application/json");
+ headers.put("Content-type", "application/json");
+
+ RetornoGenericRest> resposta = GenericRest.getInstance().fazerChamada(
+ txtUrlApiMercadoPago.getValue() + "/pos",
+ TipoEnvioRest.GET, null, ContentType.APPLICATION_JSON,
+ headers, RetornoPosVO.class, RetornoErro.class);
+
+ if (resposta != null && (resposta.getStatusResposta().equals(HttpStatus.SC_OK)
+ || resposta.getStatusResposta().equals(HttpStatus.SC_CREATED))) {
+ return (RetornoPosVO) resposta.getConteudo();
+ }
+
+ } catch (Exception e) {
+ log.error("erro ao enviar requisicao ", e);
+ }
+
+ return null;
+ }
public Combobox getCmbEstadoInscEstadual() {
return cmbEstadoInscEstadual;
@@ -2495,5 +2817,45 @@ public void onClick$btnTestEmailFlexBus(Event ev) throws InterruptedException {
public void setLblTipoEmail(Label lblTipoEmail) {
this.lblTipoEmail = lblTipoEmail;
}
+
+ public List getLsStoreMercadoPago() {
+ return lsStoreMercadoPago;
+ }
+
+ public void setLsStoreMercadoPago(List lsStoreMercadoPago) {
+ this.lsStoreMercadoPago = lsStoreMercadoPago;
+ }
+
+ public List getLsPosMercadoPago() {
+ return lsPosMercadoPago;
+ }
+
+ public void setLsPosMercadoPago(List lsPosMercadoPago) {
+ this.lsPosMercadoPago = lsPosMercadoPago;
+ }
+
+ public EmpresaMercadoPagoConfig getEmpresaMercadoPagoConfig() {
+ return empresaMercadoPagoConfig;
+ }
+
+ public void setEmpresaMercadoPagoConfig(EmpresaMercadoPagoConfig empresaMercadoPagoConfig) {
+ this.empresaMercadoPagoConfig = empresaMercadoPagoConfig;
+ }
+
+ public PosVO getPosVO() {
+ return posVO;
+ }
+
+ public void setPosVO(PosVO posVO) {
+ this.posVO = posVO;
+ }
+
+ public StoreVO getStoreVO() {
+ return storeVO;
+ }
+
+ public void setStoreVO(StoreVO storeVO) {
+ this.storeVO = storeVO;
+ }
}
diff --git a/src/java/spring-config.xml b/src/java/spring-config.xml
index cd6160616..a28cb4b60 100644
--- a/src/java/spring-config.xml
+++ b/src/java/spring-config.xml
@@ -420,8 +420,8 @@
com.rjconsultores.ventaboletos.entidad.RedondeoOrgaoConcedente
com.rjconsultores.ventaboletos.entidad.HistoricoFormaPagoPuntoVenta
com.rjconsultores.ventaboletos.entidad.EmpresaAdyenConfig
- com.rjconsultores.ventaboletos.entidad.EmpresaCieloLinkConfig
-
+ com.rjconsultores.ventaboletos.entidad.EmpresaCieloLinkConfig
+ com.rjconsultores.ventaboletos.entidad.EmpresaMercadoPagoConfig
diff --git a/web/WEB-INF/i3-label_en.label b/web/WEB-INF/i3-label_en.label
index 35e969afd..64deb7f3d 100644
--- a/web/WEB-INF/i3-label_en.label
+++ b/web/WEB-INF/i3-label_en.label
@@ -1385,6 +1385,7 @@ editarFormaPagoController.lblLogpay.label=Logpay
editarFormaPagoController.lblTPI.label=TPI
editarFormaPagoController.lblMobiPix.label=MobiPix
editarFormaPagoController.lblAdyen.label=Adyen
+editarFormaPagoController.lblMercadoPago.label=Mercado Pago
editarFormaPagoController.lblAtivaProcessoEstorno.label=Ativa processo de estorno
editarFormaPagoController.lblVoucherRodoviaria.label=Voucher Rodoviária
editarFormaPagoController.lblTransferenciaReativacao.label=Utiliza na Transferência / Reativação
diff --git a/web/WEB-INF/i3-label_es_MX.label b/web/WEB-INF/i3-label_es_MX.label
index 57f7dd550..f7a7077f0 100644
--- a/web/WEB-INF/i3-label_es_MX.label
+++ b/web/WEB-INF/i3-label_es_MX.label
@@ -1207,6 +1207,7 @@ editarFormaPagoController.lblLogpay.label=Logpay
editarFormaPagoController.lblTPI.label=TPI
editarFormaPagoController.lblMobiPix.label=MobiPix
editarFormaPagoController.lblAdyen.label=Adyen
+editarFormaPagoController.lblMercadoPago.label=Mercado Pago
editarFormaPagoController.lblAtivaProcessoEstorno.label=Activa el proceso de contracargo
editarFormaPagoController.lblVoucherRodoviaria.label=Voucher Rodoviária
editarFormaPagoController.lblTransferenciaReativacao.label=Utiliza na Transferência / Reativação
diff --git a/web/WEB-INF/i3-label_pt_BR.label b/web/WEB-INF/i3-label_pt_BR.label
index 28f8a55f5..58f688ade 100644
--- a/web/WEB-INF/i3-label_pt_BR.label
+++ b/web/WEB-INF/i3-label_pt_BR.label
@@ -1386,6 +1386,7 @@ editarFormaPagoController.lblLogpay.label=Logpay
editarFormaPagoController.lblTPI.label=TPI
editarFormaPagoController.lblMobiPix.label=MobiPix
editarFormaPagoController.lblAdyen.label=Adyen
+editarFormaPagoController.lblMercadoPago.label=Mercado Pago
editarFormaPagoController.lblAtivaProcessoEstorno.label=Ativa processo de estorno
editarFormaPagoController.lblVoucherRodoviaria.label=Voucher Rodoviária
editarFormaPagoController.lblTransferenciaReativacao.label=Utiliza na Transferência / Reativação
diff --git a/web/gui/catalogos/editarEmpresa.zul b/web/gui/catalogos/editarEmpresa.zul
index 6e3ec0c43..fcef2e9f7 100644
--- a/web/gui/catalogos/editarEmpresa.zul
+++ b/web/gui/catalogos/editarEmpresa.zul
@@ -62,6 +62,8 @@
label="${c:l('editarEmpresaController.lblSafer.value')}" />
+
@@ -1129,6 +1131,28 @@
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -2241,6 +2265,144 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Store
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ POS
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+