Merge branch 'master' into AL-2057
commit
5e144ef730
4
pom.xml
4
pom.xml
|
@ -8,8 +8,8 @@
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<modelWeb.version>1.0.33</modelWeb.version>
|
<modelWeb.version>1.0.34</modelWeb.version>
|
||||||
<flyway.version>1.0.22</flyway.version>
|
<flyway.version>1.0.23</flyway.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
|
|
|
@ -7,6 +7,7 @@ package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
||||||
import java.io.ByteArrayInputStream;
|
import java.io.ByteArrayInputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
|
import java.math.BigDecimal;
|
||||||
import java.security.InvalidKeyException;
|
import java.security.InvalidKeyException;
|
||||||
import java.security.KeyStore;
|
import java.security.KeyStore;
|
||||||
import java.security.KeyStoreException;
|
import java.security.KeyStoreException;
|
||||||
|
@ -32,6 +33,8 @@ import java.util.regex.Pattern;
|
||||||
|
|
||||||
import org.apache.commons.lang.BooleanUtils;
|
import org.apache.commons.lang.BooleanUtils;
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
import org.apache.http.HttpStatus;
|
||||||
|
import org.apache.http.entity.ContentType;
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
import org.brazilutils.br.cpfcnpj.Cnpj;
|
import org.brazilutils.br.cpfcnpj.Cnpj;
|
||||||
import org.brazilutils.br.cpfcnpj.Cpf;
|
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.UiException;
|
||||||
import org.zkoss.zk.ui.event.Event;
|
import org.zkoss.zk.ui.event.Event;
|
||||||
import org.zkoss.zk.ui.event.EventListener;
|
import org.zkoss.zk.ui.event.EventListener;
|
||||||
|
import org.zkoss.zk.ui.event.InputEvent;
|
||||||
import org.zkoss.zk.ui.event.UploadEvent;
|
import org.zkoss.zk.ui.event.UploadEvent;
|
||||||
import org.zkoss.zkplus.databind.BindingListModel;
|
import org.zkoss.zkplus.databind.BindingListModel;
|
||||||
import org.zkoss.zkplus.databind.BindingListModelList;
|
import org.zkoss.zkplus.databind.BindingListModelList;
|
||||||
|
@ -64,6 +68,7 @@ import org.zkoss.zul.Tab;
|
||||||
import org.zkoss.zul.Tabbox;
|
import org.zkoss.zul.Tabbox;
|
||||||
import org.zkoss.zul.Textbox;
|
import org.zkoss.zul.Textbox;
|
||||||
|
|
||||||
|
import com.google.gson.Gson;
|
||||||
import com.rjconsultores.ventaboletos.constantes.ConstantesFuncionSistema;
|
import com.rjconsultores.ventaboletos.constantes.ConstantesFuncionSistema;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Categoria;
|
import com.rjconsultores.ventaboletos.entidad.Categoria;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Ciudad;
|
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.EmpresaEmailEComerce;
|
||||||
import com.rjconsultores.ventaboletos.entidad.EmpresaEmailFlexBus;
|
import com.rjconsultores.ventaboletos.entidad.EmpresaEmailFlexBus;
|
||||||
import com.rjconsultores.ventaboletos.entidad.EmpresaImposto;
|
import com.rjconsultores.ventaboletos.entidad.EmpresaImposto;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.EmpresaMercadoPagoConfig;
|
||||||
import com.rjconsultores.ventaboletos.entidad.EmpresaSaferConfig;
|
import com.rjconsultores.ventaboletos.entidad.EmpresaSaferConfig;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Estado;
|
import com.rjconsultores.ventaboletos.entidad.Estado;
|
||||||
import com.rjconsultores.ventaboletos.entidad.FormaPago;
|
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.entidad.TipoEventoExtra;
|
||||||
import com.rjconsultores.ventaboletos.enums.TipoCstGratuidade;
|
import com.rjconsultores.ventaboletos.enums.TipoCstGratuidade;
|
||||||
import com.rjconsultores.ventaboletos.enums.TipoEmail;
|
import com.rjconsultores.ventaboletos.enums.TipoEmail;
|
||||||
|
import com.rjconsultores.ventaboletos.enums.TipoEnvioRest;
|
||||||
import com.rjconsultores.ventaboletos.enums.TipoOperacaoECommerce;
|
import com.rjconsultores.ventaboletos.enums.TipoOperacaoECommerce;
|
||||||
import com.rjconsultores.ventaboletos.exception.BusinessException;
|
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.CategoriaService;
|
||||||
import com.rjconsultores.ventaboletos.service.CiudadService;
|
import com.rjconsultores.ventaboletos.service.CiudadService;
|
||||||
import com.rjconsultores.ventaboletos.service.EmpresaAdyenConfigService;
|
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.EmpresaEmailFlexBusService;
|
||||||
import com.rjconsultores.ventaboletos.service.EmpresaEmailService;
|
import com.rjconsultores.ventaboletos.service.EmpresaEmailService;
|
||||||
import com.rjconsultores.ventaboletos.service.EmpresaImpostoService;
|
import com.rjconsultores.ventaboletos.service.EmpresaImpostoService;
|
||||||
|
import com.rjconsultores.ventaboletos.service.EmpresaMercadoPagoConfigService;
|
||||||
import com.rjconsultores.ventaboletos.service.EmpresaSaferConfigService;
|
import com.rjconsultores.ventaboletos.service.EmpresaSaferConfigService;
|
||||||
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
import com.rjconsultores.ventaboletos.service.EmpresaService;
|
||||||
import com.rjconsultores.ventaboletos.service.EstadoService;
|
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.RegistroConDependenciaException;
|
||||||
import com.rjconsultores.ventaboletos.utilerias.SendMail.AuthType;
|
import com.rjconsultores.ventaboletos.utilerias.SendMail.AuthType;
|
||||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
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.MyComboboxEstandar;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxParada;
|
||||||
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
import com.rjconsultores.ventaboletos.web.utilerias.MyGenericForwardComposer;
|
||||||
|
@ -164,6 +180,8 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
private EmpresaSaferConfigService empresaSaferConfigService;
|
private EmpresaSaferConfigService empresaSaferConfigService;
|
||||||
@Autowired
|
@Autowired
|
||||||
private EmpresaAdyenConfigService empresaAdyenConfigService;
|
private EmpresaAdyenConfigService empresaAdyenConfigService;
|
||||||
|
@Autowired
|
||||||
|
private EmpresaMercadoPagoConfigService empresaMercadoPagoConfigService;
|
||||||
|
|
||||||
private Empresa empresa;
|
private Empresa empresa;
|
||||||
private EmpresaEmail empresaEmail;
|
private EmpresaEmail empresaEmail;
|
||||||
|
@ -173,6 +191,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
private EmpresaCieloLinkConfig empresaCieloLinkConfig;
|
private EmpresaCieloLinkConfig empresaCieloLinkConfig;
|
||||||
private EmpresaSaferConfig empresaSaferConfig;
|
private EmpresaSaferConfig empresaSaferConfig;
|
||||||
private EmpresaAdyenConfig empresaAdyenConfig;
|
private EmpresaAdyenConfig empresaAdyenConfig;
|
||||||
|
private EmpresaMercadoPagoConfig empresaMercadoPagoConfig;
|
||||||
private MyListbox empresaList;
|
private MyListbox empresaList;
|
||||||
private MyTextbox txtNome;
|
private MyTextbox txtNome;
|
||||||
private MyTextbox txtCNPJ;
|
private MyTextbox txtCNPJ;
|
||||||
|
@ -418,6 +437,31 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
private List<TipoEmail> lsTipoEmail;
|
private List<TipoEmail> lsTipoEmail;
|
||||||
private List<TipoOperacaoECommerce> lsTipoOperacao;
|
private List<TipoOperacaoECommerce> lsTipoOperacao;
|
||||||
private Label lblTipoEmail;
|
private Label lblTipoEmail;
|
||||||
|
|
||||||
|
private Textbox txtUserIdMercadoPago;
|
||||||
|
private Textbox txtTokenMercadoPago;
|
||||||
|
private Combobox cmbStoreMercadoPago;
|
||||||
|
private Combobox cmbPOSMercadoPago;
|
||||||
|
private Textbox txtUrlApiMercadoPago;
|
||||||
|
|
||||||
|
private List<StoreVO> lsStoreMercadoPago;
|
||||||
|
private List<PosVO> 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-]+)*@"
|
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,})$";
|
+ "[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);
|
empresaEmailConfig = empresaEmailConfigService.buscarPorEmpresa(empresa);
|
||||||
empresaSaferConfig = empresaSaferConfigService.buscarPorEmpresa(empresa);
|
empresaSaferConfig = empresaSaferConfigService.buscarPorEmpresa(empresa);
|
||||||
empresaAdyenConfig = empresaAdyenConfigService.buscarPorEmpresa(empresa);
|
empresaAdyenConfig = empresaAdyenConfigService.buscarPorEmpresa(empresa);
|
||||||
|
empresaMercadoPagoConfig = empresaMercadoPagoConfigService.buscarPorEmpresa(empresa);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empresa != null && empresa.getEmpresaId() != null) {
|
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) {
|
if (empresa.getIndfechatarifa() == null) {
|
||||||
rdgFechaSalida.setChecked(Boolean.TRUE);
|
rdgFechaSalida.setChecked(Boolean.TRUE);
|
||||||
} else if (empresa.getIndfechatarifa()) {
|
} else if (empresa.getIndfechatarifa()) {
|
||||||
|
@ -564,6 +616,31 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
} else {
|
} else {
|
||||||
utilizaProjetoFidelidadeSim.setChecked(Boolean.FALSE);
|
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<String> 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()));
|
chkIndgennumfoliovtaintimpost.setChecked(BooleanUtils.toBoolean(empresa.getIndgennumfoliovtaintimpost()));
|
||||||
chkHabilitarFidelidade.setChecked(BooleanUtils.toBoolean(empresa.getIndFidelidade()));
|
chkHabilitarFidelidade.setChecked(BooleanUtils.toBoolean(empresa.getIndFidelidade()));
|
||||||
|
@ -1110,6 +1187,41 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
empresaAdyenConfig.setIndProducao(indProducaoAdyenSim.isChecked());
|
empresaAdyenConfig.setIndProducao(indProducaoAdyenSim.isChecked());
|
||||||
empresaAdyenConfigService.actualizacion(empresaAdyenConfig);
|
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"),
|
Messagebox.show(Labels.getLabel("editarEmpresaController.MSG.suscribirOK"),
|
||||||
Labels.getLabel("editarEmpresaController.window.title"),
|
Labels.getLabel("editarEmpresaController.window.title"),
|
||||||
|
@ -1720,6 +1832,216 @@ public void onClick$btnTestEmailFlexBus(Event ev) throws InterruptedException {
|
||||||
Messagebox.OK, Messagebox.ERROR);
|
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<StoreVO>();
|
||||||
|
lsPosMercadoPago = new ArrayList<PosVO>();
|
||||||
|
|
||||||
|
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<String, String> headers = new HashMap<String, String>();
|
||||||
|
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<String, String> headers = new HashMap<String, String>();
|
||||||
|
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<String, String> headers = new HashMap<String, String>();
|
||||||
|
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<String, String> headers = new HashMap<String, String>();
|
||||||
|
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() {
|
public Combobox getCmbEstadoInscEstadual() {
|
||||||
return cmbEstadoInscEstadual;
|
return cmbEstadoInscEstadual;
|
||||||
|
@ -2495,5 +2817,45 @@ public void onClick$btnTestEmailFlexBus(Event ev) throws InterruptedException {
|
||||||
public void setLblTipoEmail(Label lblTipoEmail) {
|
public void setLblTipoEmail(Label lblTipoEmail) {
|
||||||
this.lblTipoEmail = lblTipoEmail;
|
this.lblTipoEmail = lblTipoEmail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public List<StoreVO> getLsStoreMercadoPago() {
|
||||||
|
return lsStoreMercadoPago;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLsStoreMercadoPago(List<StoreVO> lsStoreMercadoPago) {
|
||||||
|
this.lsStoreMercadoPago = lsStoreMercadoPago;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<PosVO> getLsPosMercadoPago() {
|
||||||
|
return lsPosMercadoPago;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLsPosMercadoPago(List<PosVO> 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;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -420,8 +420,8 @@
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.RedondeoOrgaoConcedente</value>
|
<value>com.rjconsultores.ventaboletos.entidad.RedondeoOrgaoConcedente</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.HistoricoFormaPagoPuntoVenta</value>
|
<value>com.rjconsultores.ventaboletos.entidad.HistoricoFormaPagoPuntoVenta</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.EmpresaAdyenConfig</value>
|
<value>com.rjconsultores.ventaboletos.entidad.EmpresaAdyenConfig</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.EmpresaCieloLinkConfig</value>
|
<value>com.rjconsultores.ventaboletos.entidad.EmpresaCieloLinkConfig</value>
|
||||||
|
<value>com.rjconsultores.ventaboletos.entidad.EmpresaMercadoPagoConfig</value>
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
|
|
|
@ -1385,6 +1385,7 @@ editarFormaPagoController.lblLogpay.label=Logpay
|
||||||
editarFormaPagoController.lblTPI.label=TPI
|
editarFormaPagoController.lblTPI.label=TPI
|
||||||
editarFormaPagoController.lblMobiPix.label=MobiPix
|
editarFormaPagoController.lblMobiPix.label=MobiPix
|
||||||
editarFormaPagoController.lblAdyen.label=Adyen
|
editarFormaPagoController.lblAdyen.label=Adyen
|
||||||
|
editarFormaPagoController.lblMercadoPago.label=Mercado Pago
|
||||||
editarFormaPagoController.lblAtivaProcessoEstorno.label=Ativa processo de estorno
|
editarFormaPagoController.lblAtivaProcessoEstorno.label=Ativa processo de estorno
|
||||||
editarFormaPagoController.lblVoucherRodoviaria.label=Voucher Rodoviária
|
editarFormaPagoController.lblVoucherRodoviaria.label=Voucher Rodoviária
|
||||||
editarFormaPagoController.lblTransferenciaReativacao.label=Utiliza na Transferência / Reativação
|
editarFormaPagoController.lblTransferenciaReativacao.label=Utiliza na Transferência / Reativação
|
||||||
|
|
|
@ -1207,6 +1207,7 @@ editarFormaPagoController.lblLogpay.label=Logpay
|
||||||
editarFormaPagoController.lblTPI.label=TPI
|
editarFormaPagoController.lblTPI.label=TPI
|
||||||
editarFormaPagoController.lblMobiPix.label=MobiPix
|
editarFormaPagoController.lblMobiPix.label=MobiPix
|
||||||
editarFormaPagoController.lblAdyen.label=Adyen
|
editarFormaPagoController.lblAdyen.label=Adyen
|
||||||
|
editarFormaPagoController.lblMercadoPago.label=Mercado Pago
|
||||||
editarFormaPagoController.lblAtivaProcessoEstorno.label=Activa el proceso de contracargo
|
editarFormaPagoController.lblAtivaProcessoEstorno.label=Activa el proceso de contracargo
|
||||||
editarFormaPagoController.lblVoucherRodoviaria.label=Voucher Rodoviária
|
editarFormaPagoController.lblVoucherRodoviaria.label=Voucher Rodoviária
|
||||||
editarFormaPagoController.lblTransferenciaReativacao.label=Utiliza na Transferência / Reativação
|
editarFormaPagoController.lblTransferenciaReativacao.label=Utiliza na Transferência / Reativação
|
||||||
|
|
|
@ -1386,6 +1386,7 @@ editarFormaPagoController.lblLogpay.label=Logpay
|
||||||
editarFormaPagoController.lblTPI.label=TPI
|
editarFormaPagoController.lblTPI.label=TPI
|
||||||
editarFormaPagoController.lblMobiPix.label=MobiPix
|
editarFormaPagoController.lblMobiPix.label=MobiPix
|
||||||
editarFormaPagoController.lblAdyen.label=Adyen
|
editarFormaPagoController.lblAdyen.label=Adyen
|
||||||
|
editarFormaPagoController.lblMercadoPago.label=Mercado Pago
|
||||||
editarFormaPagoController.lblAtivaProcessoEstorno.label=Ativa processo de estorno
|
editarFormaPagoController.lblAtivaProcessoEstorno.label=Ativa processo de estorno
|
||||||
editarFormaPagoController.lblVoucherRodoviaria.label=Voucher Rodoviária
|
editarFormaPagoController.lblVoucherRodoviaria.label=Voucher Rodoviária
|
||||||
editarFormaPagoController.lblTransferenciaReativacao.label=Utiliza na Transferência / Reativação
|
editarFormaPagoController.lblTransferenciaReativacao.label=Utiliza na Transferência / Reativação
|
||||||
|
|
|
@ -62,6 +62,8 @@
|
||||||
label="${c:l('editarEmpresaController.lblSafer.value')}" />
|
label="${c:l('editarEmpresaController.lblSafer.value')}" />
|
||||||
<tab id="tabAdyen"
|
<tab id="tabAdyen"
|
||||||
label="${c:l('editarEmpresaController.lblAdyen.value')}" />
|
label="${c:l('editarEmpresaController.lblAdyen.value')}" />
|
||||||
|
<tab id="tabMercadoPago"
|
||||||
|
label="Mercado Pago" />
|
||||||
|
|
||||||
</tabs>
|
</tabs>
|
||||||
|
|
||||||
|
@ -1129,6 +1131,28 @@
|
||||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextbox" />
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<!--Latitude/Longitude-->
|
||||||
|
<label
|
||||||
|
value="Latitude/Longitude (Google Maps Clipboard)" />
|
||||||
|
<textbox id="txtLatitudeLongitude" width="70%"/>
|
||||||
|
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<!--Latitude-->
|
||||||
|
<label
|
||||||
|
value="Latitude" />
|
||||||
|
<textbox id="txtLatitude" width="30%"
|
||||||
|
value="@{winEditarEmpresa$composer.empresa.latitude,converter=com.rjconsultores.ventaboletos.web.utilerias.StringToFloatConverter}" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<!--Longitude-->
|
||||||
|
<label
|
||||||
|
value="Longitude" />
|
||||||
|
<textbox id="txtLongitude" width="30%"
|
||||||
|
value="@{winEditarEmpresa$composer.empresa.longitude,converter=com.rjconsultores.ventaboletos.web.utilerias.StringToFloatConverter}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
|
@ -2241,6 +2265,144 @@
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
|
|
||||||
|
<tabpanel>
|
||||||
|
|
||||||
|
<tabbox>
|
||||||
|
<tabs>
|
||||||
|
<tab label="Geral" />
|
||||||
|
<tab label="Cadastro" />
|
||||||
|
</tabs>
|
||||||
|
<tabpanels>
|
||||||
|
|
||||||
|
<tabpanel>
|
||||||
|
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="75%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="User ID" />
|
||||||
|
<textbox id="txtUserIdMercadoPago" width="80%" maxlength="255"
|
||||||
|
value="@{winEditarEmpresa$composer.empresaMercadoPagoConfig.userId}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="Token" />
|
||||||
|
<textbox id="txtTokenMercadoPago" width="80%" maxlength="255"
|
||||||
|
value="@{winEditarEmpresa$composer.empresaMercadoPagoConfig.token}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="Url API" />
|
||||||
|
<textbox id="txtUrlApiMercadoPago" width="80%" maxlength="255"
|
||||||
|
value="@{winEditarEmpresa$composer.empresaMercadoPagoConfig.urlApi}" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="Store" />
|
||||||
|
<combobox id="cmbStoreMercadoPago"
|
||||||
|
width="90%" mold="rounded"
|
||||||
|
buttonVisible="true"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
|
model="@{winEditarEmpresa$composer.lsStoreMercadoPago}"
|
||||||
|
selectedItem="@{winEditarEmpresa$composer.storeVO}"/>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="POS" />
|
||||||
|
<combobox id="cmbPOSMercadoPago"
|
||||||
|
width="90%" mold="rounded"
|
||||||
|
buttonVisible="true"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||||
|
model="@{winEditarEmpresa$composer.lsPosMercadoPago}"
|
||||||
|
selectedItem="@{winEditarEmpresa$composer.posVO}"/>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
|
||||||
|
</tabpanel>
|
||||||
|
|
||||||
|
<tabpanel>
|
||||||
|
|
||||||
|
<toolbar>
|
||||||
|
<separator bar="true"/>
|
||||||
|
Store
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="75%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="Nome" />
|
||||||
|
<textbox id="txtNomeStore" width="80%" maxlength="255" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="ID Externo" />
|
||||||
|
<textbox id="txtIdStoreMercadoPago" width="80%" maxlength="255" />
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
|
||||||
|
</grid>
|
||||||
|
<button id="btnCadastrarStoreMercadoPago" height="20" label="Cadastrar Store" />
|
||||||
|
<toolbar>
|
||||||
|
<separator bar="true"/>
|
||||||
|
POS
|
||||||
|
</toolbar>
|
||||||
|
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="75%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="Nome" />
|
||||||
|
<textbox id="txtNomePOS" width="80%" maxlength="255" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="ID Externo" />
|
||||||
|
<textbox id="txtIdPOSMercadoPago" width="80%" maxlength="255" />
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<label
|
||||||
|
value="Store" />
|
||||||
|
<combobox id="cmbStoreCadastroMercadoPago"
|
||||||
|
width="90%" mold="rounded"
|
||||||
|
buttonVisible="true"
|
||||||
|
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"/>
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
<button id="btnCadastrarPOSMercadoPago" height="20" label="Cadastrar POS" />
|
||||||
|
</tabpanel>
|
||||||
|
</tabpanels>
|
||||||
|
</tabbox>
|
||||||
|
|
||||||
|
|
||||||
|
</tabpanel>
|
||||||
|
|
||||||
</tabpanels>
|
</tabpanels>
|
||||||
</tabbox>
|
</tabbox>
|
||||||
</window>
|
</window>
|
||||||
|
|
Loading…
Reference in New Issue