Merge pull request 'bug #AL-3949' (!497) from AL-3949 into master
Reviewed-on: adm/VentaBoletosAdm#497 Reviewed-by: Valdir Cordeiro <valdir.cordeiro@totvs.com.br>master 1.68.4
commit
1337947688
6
pom.xml
6
pom.xml
|
@ -4,12 +4,12 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>br.com.rjconsultores</groupId>
|
<groupId>br.com.rjconsultores</groupId>
|
||||||
<artifactId>ventaboletosadm</artifactId>
|
<artifactId>ventaboletosadm</artifactId>
|
||||||
<version>1.68.3</version>
|
<version>1.68.4</version>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<modelWeb.version>1.51.1</modelWeb.version>
|
<modelWeb.version>1.51.2</modelWeb.version>
|
||||||
<flyway.version>1.40.1</flyway.version>
|
<flyway.version>1.41.0</flyway.version>
|
||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|
|
@ -64,6 +64,7 @@ import org.zkoss.zul.Checkbox;
|
||||||
import org.zkoss.zul.Combobox;
|
import org.zkoss.zul.Combobox;
|
||||||
import org.zkoss.zul.Comboitem;
|
import org.zkoss.zul.Comboitem;
|
||||||
import org.zkoss.zul.Decimalbox;
|
import org.zkoss.zul.Decimalbox;
|
||||||
|
import org.zkoss.zul.Groupbox;
|
||||||
import org.zkoss.zul.Image;
|
import org.zkoss.zul.Image;
|
||||||
import org.zkoss.zul.Intbox;
|
import org.zkoss.zul.Intbox;
|
||||||
import org.zkoss.zul.Label;
|
import org.zkoss.zul.Label;
|
||||||
|
@ -96,6 +97,7 @@ import com.rjconsultores.ventaboletos.entidad.EmpresaMercadoPagoConfig;
|
||||||
import com.rjconsultores.ventaboletos.entidad.EmpresaPMArtespConfig;
|
import com.rjconsultores.ventaboletos.entidad.EmpresaPMArtespConfig;
|
||||||
import com.rjconsultores.ventaboletos.entidad.EmpresaRecargaConfig;
|
import com.rjconsultores.ventaboletos.entidad.EmpresaRecargaConfig;
|
||||||
import com.rjconsultores.ventaboletos.entidad.EmpresaSaferConfig;
|
import com.rjconsultores.ventaboletos.entidad.EmpresaSaferConfig;
|
||||||
|
import com.rjconsultores.ventaboletos.entidad.EmpresaSicfeConfig;
|
||||||
import com.rjconsultores.ventaboletos.entidad.Estado;
|
import com.rjconsultores.ventaboletos.entidad.Estado;
|
||||||
import com.rjconsultores.ventaboletos.entidad.FormaPago;
|
import com.rjconsultores.ventaboletos.entidad.FormaPago;
|
||||||
import com.rjconsultores.ventaboletos.entidad.InscricaoEstadual;
|
import com.rjconsultores.ventaboletos.entidad.InscricaoEstadual;
|
||||||
|
@ -124,6 +126,7 @@ import com.rjconsultores.ventaboletos.service.EmpresaPMArtespConfigService;
|
||||||
import com.rjconsultores.ventaboletos.service.EmpresaRecargaService;
|
import com.rjconsultores.ventaboletos.service.EmpresaRecargaService;
|
||||||
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.EmpresaSicfeConfigService;
|
||||||
import com.rjconsultores.ventaboletos.service.EstadoService;
|
import com.rjconsultores.ventaboletos.service.EstadoService;
|
||||||
import com.rjconsultores.ventaboletos.service.FormaPagoService;
|
import com.rjconsultores.ventaboletos.service.FormaPagoService;
|
||||||
import com.rjconsultores.ventaboletos.service.InstiFinanceiraService;
|
import com.rjconsultores.ventaboletos.service.InstiFinanceiraService;
|
||||||
|
@ -138,6 +141,7 @@ import com.rjconsultores.ventaboletos.vo.mercadopago.PosVO;
|
||||||
import com.rjconsultores.ventaboletos.vo.mercadopago.RetornoPosVO;
|
import com.rjconsultores.ventaboletos.vo.mercadopago.RetornoPosVO;
|
||||||
import com.rjconsultores.ventaboletos.vo.mercadopago.RetornoStoreVO;
|
import com.rjconsultores.ventaboletos.vo.mercadopago.RetornoStoreVO;
|
||||||
import com.rjconsultores.ventaboletos.vo.mercadopago.StoreVO;
|
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.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;
|
||||||
|
@ -197,6 +201,8 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
private EmpresaMercadoPagoConfigService empresaMercadoPagoConfigService;
|
private EmpresaMercadoPagoConfigService empresaMercadoPagoConfigService;
|
||||||
@Autowired
|
@Autowired
|
||||||
private EmpresaCertificadoConfigService empresaCertificadoConfigService;
|
private EmpresaCertificadoConfigService empresaCertificadoConfigService;
|
||||||
|
@Autowired
|
||||||
|
private EmpresaSicfeConfigService empresaSicfeConfigService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private EmpresaPMArtespConfigService empresaPMArtespConfigService;
|
private EmpresaPMArtespConfigService empresaPMArtespConfigService;
|
||||||
|
@ -214,6 +220,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
private EmpresaAdyenConfig empresaAdyenConfig;
|
private EmpresaAdyenConfig empresaAdyenConfig;
|
||||||
private EmpresaMercadoPagoConfig empresaMercadoPagoConfig;
|
private EmpresaMercadoPagoConfig empresaMercadoPagoConfig;
|
||||||
private EmpresaCertificadoConfig empresaCertificadoConfigSaftao;
|
private EmpresaCertificadoConfig empresaCertificadoConfigSaftao;
|
||||||
|
private List<EmpresaSicfeConfig> empresaSicfeConfig;
|
||||||
private MyListbox empresaList;
|
private MyListbox empresaList;
|
||||||
private MyTextbox txtNome;
|
private MyTextbox txtNome;
|
||||||
private MyTextbox txtCNPJ;
|
private MyTextbox txtCNPJ;
|
||||||
|
@ -515,6 +522,31 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
private byte[] certificadoSaftao;
|
private byte[] certificadoSaftao;
|
||||||
private Tab tabSaftao;
|
private Tab tabSaftao;
|
||||||
|
|
||||||
|
private Groupbox gbHabilitaSicfe;
|
||||||
|
private Checkbox chkIsSicfeHabilitado;
|
||||||
|
private Textbox txtRUTSicfe;
|
||||||
|
private Textbox txtSicfeTenant;
|
||||||
|
private Textbox txtSicfeURL;
|
||||||
|
private Textbox txtSicfeUSR;
|
||||||
|
private Textbox txtSicfePassword;
|
||||||
|
private Intbox txtSicfeFatura;
|
||||||
|
private Intbox txtSicfeTicket;
|
||||||
|
private Intbox txtSicfeNotaCreditoFatura;
|
||||||
|
private Intbox txtSicfeNotaCreditoTicket;
|
||||||
|
private Intbox txtSicfeFormaPagoContado;
|
||||||
|
private Intbox txtSicfeFormaPagoCredito;
|
||||||
|
private Intbox txtSicfeTipoDocRecepcao;
|
||||||
|
private Textbox txtSicfePais;
|
||||||
|
private Textbox txtSicfeMoeda;
|
||||||
|
private Textbox txtSicfeCidade;
|
||||||
|
private Textbox txtSicfeDepartamento;
|
||||||
|
private Textbox txtSicfeEndereco;
|
||||||
|
private Textbox txtSicfeRazaoSocial;
|
||||||
|
|
||||||
|
private MyCheckboxSiNo chkSicfeUsaRUTCliente;
|
||||||
|
private MyCheckboxSiNo chkSicfeUsaTermica;
|
||||||
|
private MyCheckboxSiNo chkSicfeDesconto100Emite;
|
||||||
|
|
||||||
private MyComboboxEstandar cmbTipoDePassagem;
|
private MyComboboxEstandar cmbTipoDePassagem;
|
||||||
private MyComboboxEstandar cmbOrgaoConcedente;
|
private MyComboboxEstandar cmbOrgaoConcedente;
|
||||||
|
|
||||||
|
@ -549,6 +581,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
empresaAdyenConfig = empresaAdyenConfigService.buscarPorEmpresa(empresa);
|
empresaAdyenConfig = empresaAdyenConfigService.buscarPorEmpresa(empresa);
|
||||||
empresaMercadoPagoConfig = empresaMercadoPagoConfigService.buscarPorEmpresa(empresa);
|
empresaMercadoPagoConfig = empresaMercadoPagoConfigService.buscarPorEmpresa(empresa);
|
||||||
empresaCertificadoConfigSaftao = empresaCertificadoConfigService.buscarPorEmpresa(empresa, EnumTipoCertificado.SAFTAO);
|
empresaCertificadoConfigSaftao = empresaCertificadoConfigService.buscarPorEmpresa(empresa, EnumTipoCertificado.SAFTAO);
|
||||||
|
empresaSicfeConfig = empresaSicfeConfigService.buscarByEmpresa(empresa.getEmpresaId());
|
||||||
empresaPMArtespConfig = empresaPMArtespConfigService.buscarPorEmpresa(empresa);
|
empresaPMArtespConfig = empresaPMArtespConfigService.buscarPorEmpresa(empresa);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -688,6 +721,8 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
preencheInformacoesSicfe();
|
||||||
|
|
||||||
if (empresa.getIndfechatarifa() == null) {
|
if (empresa.getIndfechatarifa() == null) {
|
||||||
rdgFechaSalida.setChecked(Boolean.TRUE);
|
rdgFechaSalida.setChecked(Boolean.TRUE);
|
||||||
} else if (empresa.getIndfechatarifa()) {
|
} else if (empresa.getIndfechatarifa()) {
|
||||||
|
@ -1403,6 +1438,8 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
empresaMercadoPagoConfigService.actualizacion(empresaMercadoPagoConfig);
|
empresaMercadoPagoConfigService.actualizacion(empresaMercadoPagoConfig);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
adicionaInformacoesSicfe();
|
||||||
|
|
||||||
//INTEGRACAO TIPO DE PASSAGEM PM ARTESP
|
//INTEGRACAO TIPO DE PASSAGEM PM ARTESP
|
||||||
salvarEmpresaPMArtespConfig();
|
salvarEmpresaPMArtespConfig();
|
||||||
|
|
||||||
|
@ -1571,6 +1608,89 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
||||||
empresaRecargaConfig.setSecret(txtRecargaSecret.getValue());
|
empresaRecargaConfig.setSecret(txtRecargaSecret.getValue());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void preencheInformacoesSicfe() {
|
||||||
|
Map<String, String> mapConfigSicfe = retornaValoresSicfe();
|
||||||
|
if (!mapConfigSicfe.isEmpty()) {
|
||||||
|
gbHabilitaSicfe.setOpen(BooleanUtils.toBoolean(mapConfigSicfe.get("indHabilitado")));
|
||||||
|
chkIsSicfeHabilitado.setChecked(BooleanUtils.toBoolean(mapConfigSicfe.get("indHabilitado")));
|
||||||
|
txtRUTSicfe.setText(mapConfigSicfe.get("rut"));
|
||||||
|
txtSicfeTenant.setText(mapConfigSicfe.get("tenant"));
|
||||||
|
txtSicfeURL.setText(mapConfigSicfe.get("URL"));
|
||||||
|
txtSicfeUSR.setText(mapConfigSicfe.get("USR"));
|
||||||
|
txtSicfePassword.setText(mapConfigSicfe.get("password"));
|
||||||
|
txtSicfeFatura.setText(mapConfigSicfe.get("fatura"));
|
||||||
|
txtSicfeTicket.setText(mapConfigSicfe.get("ticket"));
|
||||||
|
txtSicfeNotaCreditoFatura.setText(mapConfigSicfe.get("notaCreditoFatura"));
|
||||||
|
txtSicfeNotaCreditoTicket.setText(mapConfigSicfe.get("notaCreditoTicket"));
|
||||||
|
txtSicfeFormaPagoContado.setText(mapConfigSicfe.get("formaPagoContado"));
|
||||||
|
txtSicfeFormaPagoCredito.setText(mapConfigSicfe.get("formaPagoCredito"));
|
||||||
|
txtSicfeTipoDocRecepcao.setText(mapConfigSicfe.get("tipoDocRecepcao"));
|
||||||
|
txtSicfePais.setText(mapConfigSicfe.get("pais"));
|
||||||
|
txtSicfeMoeda.setText(mapConfigSicfe.get("moeda"));
|
||||||
|
txtSicfeCidade.setText(mapConfigSicfe.get("cidade"));
|
||||||
|
txtSicfeDepartamento.setText(mapConfigSicfe.get("departamento"));
|
||||||
|
txtSicfeEndereco.setText(mapConfigSicfe.get("endereco"));
|
||||||
|
txtSicfeRazaoSocial.setText(mapConfigSicfe.get("razaoSocial"));
|
||||||
|
chkSicfeUsaRUTCliente.setChecked(BooleanUtils.toBoolean(mapConfigSicfe.get("indRUTCliente")));
|
||||||
|
chkSicfeUsaTermica.setChecked(BooleanUtils.toBoolean(mapConfigSicfe.get("indUsaTermica")));
|
||||||
|
chkSicfeDesconto100Emite.setChecked(BooleanUtils.toBoolean(mapConfigSicfe.get("indDesconto100Emite")));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void adicionaInformacoesSicfe() {
|
||||||
|
Map<String, String> mapConfigSicfe = retornaValoresSicfe();
|
||||||
|
salvaValoresSicfe("indHabilitado", String.valueOf(chkIsSicfeHabilitado.isChecked()), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("rut", txtRUTSicfe.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("tenant", txtSicfeTenant.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("URL", txtSicfeURL.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("USR", txtSicfeUSR.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("password", txtSicfePassword.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("fatura", txtSicfeFatura.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("ticket", txtSicfeTicket.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("notaCreditoFatura", txtSicfeNotaCreditoFatura.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("notaCreditoTicket", txtSicfeNotaCreditoTicket.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("formaPagoContado", txtSicfeFormaPagoContado.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("formaPagoCredito", txtSicfeFormaPagoCredito.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("tipoDocRecepcao", txtSicfeTipoDocRecepcao.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("pais", txtSicfePais.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("moeda", txtSicfeMoeda.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("cidade", txtSicfeCidade.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("departamento", txtSicfeDepartamento.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("endereco", txtSicfeEndereco.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("razaoSocial", txtSicfeRazaoSocial.getValue(), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("indRUTCliente", String.valueOf(chkSicfeUsaRUTCliente.isChecked()), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("indUsaTermica", String.valueOf(chkSicfeUsaTermica.isChecked()), mapConfigSicfe);
|
||||||
|
salvaValoresSicfe("indDesconto100Emite", String.valueOf(chkSicfeDesconto100Emite.isChecked()), mapConfigSicfe);
|
||||||
|
}
|
||||||
|
|
||||||
|
private Map<String, String> retornaValoresSicfe() {
|
||||||
|
Map<String, String> map = new HashMap<String, String>();
|
||||||
|
if (empresaSicfeConfig != null) {
|
||||||
|
for (EmpresaSicfeConfig empresaSicfeConfig : empresaSicfeConfig) {
|
||||||
|
map.put(empresaSicfeConfig.getChave(), empresaSicfeConfig.getValor());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void salvaValoresSicfe(String chave, Object valor, Map<String, String> mapConfigSicfe) {
|
||||||
|
|
||||||
|
if (mapConfigSicfe.get(chave) != null) {
|
||||||
|
EmpresaSicfeConfig empresaSicfeConfig = empresaSicfeConfigService.buscarChave(chave,
|
||||||
|
empresa.getEmpresaId());
|
||||||
|
empresaSicfeConfig.setValor(valor != null ? valor.toString() : null);
|
||||||
|
empresaSicfeConfigService.actualizacion(empresaSicfeConfig);
|
||||||
|
} else {
|
||||||
|
EmpresaSicfeConfig empresaSicfeConfig = new EmpresaSicfeConfig();
|
||||||
|
empresaSicfeConfig.setEmpresa(empresa);
|
||||||
|
empresaSicfeConfig.setChave(chave);
|
||||||
|
empresaSicfeConfig.setValor(valor != null ? valor.toString() : null);
|
||||||
|
empresaSicfeConfigService.suscribir(empresaSicfeConfig);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
private boolean validarEmail() {
|
private boolean validarEmail() {
|
||||||
if (txtEmail.getText() == null || txtEmail.getText().isEmpty()) {
|
if (txtEmail.getText() == null || txtEmail.getText().isEmpty()) {
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -0,0 +1,49 @@
|
||||||
|
|
||||||
|
package com.rjconsultores.ventaboletos.web.utilerias;
|
||||||
|
|
||||||
|
import org.zkoss.util.resource.Labels;
|
||||||
|
import org.zkoss.zk.ui.event.CheckEvent;
|
||||||
|
import org.zkoss.zk.ui.event.Event;
|
||||||
|
import org.zkoss.zk.ui.event.EventListener;
|
||||||
|
import org.zkoss.zk.ui.event.Events;
|
||||||
|
import org.zkoss.zul.Checkbox;
|
||||||
|
|
||||||
|
public class MyCheckboxSiNo extends Checkbox {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
public MyCheckboxSiNo() {
|
||||||
|
initialize();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void initialize() {
|
||||||
|
setLabelValue(this.isChecked());
|
||||||
|
this.addEventListener(Events.ON_CHECK, new EventListener() {
|
||||||
|
@Override
|
||||||
|
public void onEvent(Event event) throws Exception {
|
||||||
|
CheckEvent checkEvent = (CheckEvent) event;
|
||||||
|
setLabelValue(checkEvent.isChecked());
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setChecked(boolean checked) {
|
||||||
|
super.setChecked(checked);
|
||||||
|
setLabelValue(checked);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setLabel(String label) {
|
||||||
|
super.setLabel(label);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void setLabelValue(boolean checked) {
|
||||||
|
if (checked) {
|
||||||
|
setLabel(Labels.getLabel("MSG.SI"));
|
||||||
|
} else {
|
||||||
|
setLabel(Labels.getLabel("MSG.NO"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -458,6 +458,7 @@
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.HeaderTabelaEsquemaCorrida</value>
|
<value>com.rjconsultores.ventaboletos.entidad.HeaderTabelaEsquemaCorrida</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.Disponibilidad</value>
|
<value>com.rjconsultores.ventaboletos.entidad.Disponibilidad</value>
|
||||||
<value>com.rjconsultores.ventaboletos.entidad.EmpresaPMArtespConfig</value>
|
<value>com.rjconsultores.ventaboletos.entidad.EmpresaPMArtespConfig</value>
|
||||||
|
<value>com.rjconsultores.ventaboletos.entidad.EmpresaSicfeConfig</value>
|
||||||
</list>
|
</list>
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
|
|
|
@ -4597,6 +4597,31 @@ editarEmpresaController.restricaoZ.nao = Não
|
||||||
editarEmpresaController.restricaoZ.sim = Sim
|
editarEmpresaController.restricaoZ.sim = Sim
|
||||||
editarEmpresaController.rfc.label = DOC
|
editarEmpresaController.rfc.label = DOC
|
||||||
editarEmpresaController.saftao.titulo = SaftAO
|
editarEmpresaController.saftao.titulo = SaftAO
|
||||||
|
|
||||||
|
editarEmpresaController.sicfe.titulo = Sicfe
|
||||||
|
editarEmpresaController.sicfe.indUsaRUTCliente = Use RUT in customer registration
|
||||||
|
editarEmpresaController.sicfe.indeUsaTermica = Uses thermal printer layout
|
||||||
|
editarEmpresaController.sicfe.indDesconto100Emite = 100% discount issues Sicfe
|
||||||
|
editarEmpresaController.sicfe.indIsSicfeHabilitado = Sifce by enabled Company
|
||||||
|
editarEmpresaController.sicfe.txtRUTSicfe = RUT Sicfe
|
||||||
|
editarEmpresaController.sicfe.txtSicfeTenant = Tenant WebService
|
||||||
|
editarEmpresaController.sicfe.txtSicfeURL = URL WebService
|
||||||
|
editarEmpresaController.sicfe.txtSicfeUSR = USR WebService
|
||||||
|
editarEmpresaController.sicfe.txtSicfePassword = Password WebService
|
||||||
|
editarEmpresaController.sicfe.txtSicfeFatura = Invoice Sicfe
|
||||||
|
editarEmpresaController.sicfe.txtSicfeTicket = Ticket Sicfe
|
||||||
|
editarEmpresaController.sicfe.txtSicfeNotaCreditoFatura = Credit Note Invoice
|
||||||
|
editarEmpresaController.sicfe.txtSicfeNotaCreditoTicket = Credit Ticket Note
|
||||||
|
editarEmpresaController.sicfe.txtSicfeFormaPagoContado = Payment method Contado
|
||||||
|
editarEmpresaController.sicfe.txtSicfeFormaPagoCredito = Payment method Credit
|
||||||
|
editarEmpresaController.sicfe.txtSicfeTipoDocRecepcao = Type Doc Reception
|
||||||
|
editarEmpresaController.sicfe.txtSicfePais = Country
|
||||||
|
editarEmpresaController.sicfe.txtSicfeMoeda = Currency Type
|
||||||
|
editarEmpresaController.sicfe.txtSicfeCidade = City
|
||||||
|
editarEmpresaController.sicfe.txtSicfeDepartamento = Department
|
||||||
|
editarEmpresaController.sicfe.txtSicfeEndereco = Address
|
||||||
|
editarEmpresaController.sicfe.txtSicfeRazaoSocial = Corporate name
|
||||||
|
|
||||||
editarEmpresaController.segunda.label = Segunda-Feira
|
editarEmpresaController.segunda.label = Segunda-Feira
|
||||||
editarEmpresaController.semanal.label = Semanal
|
editarEmpresaController.semanal.label = Semanal
|
||||||
editarEmpresaController.sexta.label = Sexta-Feira
|
editarEmpresaController.sexta.label = Sexta-Feira
|
||||||
|
|
|
@ -4656,6 +4656,31 @@ editarEmpresaController.restricaoZ.nao = No
|
||||||
editarEmpresaController.restricaoZ.sim = Si
|
editarEmpresaController.restricaoZ.sim = Si
|
||||||
editarEmpresaController.rfc.label = DOC
|
editarEmpresaController.rfc.label = DOC
|
||||||
editarEmpresaController.saftao.titulo = SaftAO
|
editarEmpresaController.saftao.titulo = SaftAO
|
||||||
|
|
||||||
|
editarEmpresaController.sicfe.titulo = Sicfe
|
||||||
|
editarEmpresaController.sicfe.indUsaRUTCliente = Utilice RUT en el registro de clientes
|
||||||
|
editarEmpresaController.sicfe.indeUsaTermica = Utiliza diseño de impresora térmica
|
||||||
|
editarEmpresaController.sicfe.indDesconto100Emite = Emisiones 100% descuento Sicfe
|
||||||
|
editarEmpresaController.sicfe.indIsSicfeHabilitado = Sifce por empresa permitido
|
||||||
|
editarEmpresaController.sicfe.txtRUTSicfe = RUT Sicfe
|
||||||
|
editarEmpresaController.sicfe.txtSicfeTenant = Tenant WebService
|
||||||
|
editarEmpresaController.sicfe.txtSicfeURL = URL WebService
|
||||||
|
editarEmpresaController.sicfe.txtSicfeUSR = USR WebService
|
||||||
|
editarEmpresaController.sicfe.txtSicfePassword = Contraseña WebService
|
||||||
|
editarEmpresaController.sicfe.txtSicfeFatura = Factura Sicfe
|
||||||
|
editarEmpresaController.sicfe.txtSicfeTicket = Boleto Sicfe
|
||||||
|
editarEmpresaController.sicfe.txtSicfeNotaCreditoFatura = Factura de nota de crédito
|
||||||
|
editarEmpresaController.sicfe.txtSicfeNotaCreditoTicket = Nota de ticket de crédito
|
||||||
|
editarEmpresaController.sicfe.txtSicfeFormaPagoContado = Método de pago Contado
|
||||||
|
editarEmpresaController.sicfe.txtSicfeFormaPagoCredito = Método de pago Credito
|
||||||
|
editarEmpresaController.sicfe.txtSicfeTipoDocRecepcao = Tipo Doc Recepción
|
||||||
|
editarEmpresaController.sicfe.txtSicfePais = País
|
||||||
|
editarEmpresaController.sicfe.txtSicfeMoeda = Tipo de cambio monetario
|
||||||
|
editarEmpresaController.sicfe.txtSicfeCidade = Ciudad
|
||||||
|
editarEmpresaController.sicfe.txtSicfeDepartamento = Departamento
|
||||||
|
editarEmpresaController.sicfe.txtSicfeEndereco = Dirección
|
||||||
|
editarEmpresaController.sicfe.txtSicfeRazaoSocial = Razón social
|
||||||
|
|
||||||
editarEmpresaController.segunda.label = Segunda-Feira
|
editarEmpresaController.segunda.label = Segunda-Feira
|
||||||
editarEmpresaController.semanal.label = Semanal
|
editarEmpresaController.semanal.label = Semanal
|
||||||
editarEmpresaController.senhaIntegracaoAGR = contraseña
|
editarEmpresaController.senhaIntegracaoAGR = contraseña
|
||||||
|
|
|
@ -4649,6 +4649,31 @@ editarEmpresaController.restricaoZ.nao = Non
|
||||||
editarEmpresaController.restricaoZ.sim = Oui
|
editarEmpresaController.restricaoZ.sim = Oui
|
||||||
editarEmpresaController.rfc.label = doc
|
editarEmpresaController.rfc.label = doc
|
||||||
editarEmpresaController.saftao.titulo = SaftAO
|
editarEmpresaController.saftao.titulo = SaftAO
|
||||||
|
|
||||||
|
editarEmpresaController.sicfe.titulo = Sicfe
|
||||||
|
editarEmpresaController.sicfe.indUsaRUTCliente = Utiliser RUT lors de l'enregistrement des clients
|
||||||
|
editarEmpresaController.sicfe.indeUsaTermica = Utilise la disposition de l'imprimante thermique
|
||||||
|
editarEmpresaController.sicfe.indDesconto100Emite = 100% de réduction sur les numéros Sicfe
|
||||||
|
editarEmpresaController.sicfe.indIsSicfeHabilitado = Sifce par entreprise qualifiée
|
||||||
|
editarEmpresaController.sicfe.txtRUTSicfe = RUT Sicfe
|
||||||
|
editarEmpresaController.sicfe.txtSicfeTenant = Tenant WebService
|
||||||
|
editarEmpresaController.sicfe.txtSicfeURL = URL WebService
|
||||||
|
editarEmpresaController.sicfe.txtSicfeUSR = USR WebService
|
||||||
|
editarEmpresaController.sicfe.txtSicfePassword = Mot de passe WebService
|
||||||
|
editarEmpresaController.sicfe.txtSicfeFatura = Facture Sicfe
|
||||||
|
editarEmpresaController.sicfe.txtSicfeTicket = Billet Sicfe
|
||||||
|
editarEmpresaController.sicfe.txtSicfeNotaCreditoFatura = Facture de note de crédit
|
||||||
|
editarEmpresaController.sicfe.txtSicfeNotaCreditoTicket = Note de ticket de crédit
|
||||||
|
editarEmpresaController.sicfe.txtSicfeFormaPagoContado = Mode de paiement par Contado
|
||||||
|
editarEmpresaController.sicfe.txtSicfeFormaPagoCredito = Méthode de paiement par crédit
|
||||||
|
editarEmpresaController.sicfe.txtSicfeTipoDocRecepcao = Tapez Réception Doc
|
||||||
|
editarEmpresaController.sicfe.txtSicfePais = Pays
|
||||||
|
editarEmpresaController.sicfe.txtSicfeMoeda = Type de devise
|
||||||
|
editarEmpresaController.sicfe.txtSicfeCidade = Ville
|
||||||
|
editarEmpresaController.sicfe.txtSicfeDepartamento = Département
|
||||||
|
editarEmpresaController.sicfe.txtSicfeEndereco = Adresse
|
||||||
|
editarEmpresaController.sicfe.txtSicfeRazaoSocial = Nom de la Societe
|
||||||
|
|
||||||
editarEmpresaController.segunda.label = lundi
|
editarEmpresaController.segunda.label = lundi
|
||||||
editarEmpresaController.semanal.label = Hebdomadaire
|
editarEmpresaController.semanal.label = Hebdomadaire
|
||||||
editarEmpresaController.senhaIntegracaoAGR = Mot de passe
|
editarEmpresaController.senhaIntegracaoAGR = Mot de passe
|
||||||
|
|
|
@ -4636,6 +4636,31 @@ editarEmpresaController.restricaoZ.nao = Não
|
||||||
editarEmpresaController.restricaoZ.sim = Sim
|
editarEmpresaController.restricaoZ.sim = Sim
|
||||||
editarEmpresaController.rfc.label = DOC
|
editarEmpresaController.rfc.label = DOC
|
||||||
editarEmpresaController.saftao.titulo = SaftAO
|
editarEmpresaController.saftao.titulo = SaftAO
|
||||||
|
|
||||||
|
editarEmpresaController.sicfe.titulo = Sicfe
|
||||||
|
editarEmpresaController.sicfe.indUsaRUTCliente = Utiliza RUT no cadastro de cliente
|
||||||
|
editarEmpresaController.sicfe.indeUsaTermica = Utiliza layout impressora térmica
|
||||||
|
editarEmpresaController.sicfe.indDesconto100Emite = Desconto 100% emite Sicfe
|
||||||
|
editarEmpresaController.sicfe.indIsSicfeHabilitado = Sifce por Empresa Habilitado
|
||||||
|
editarEmpresaController.sicfe.txtRUTSicfe = RUT Sicfe
|
||||||
|
editarEmpresaController.sicfe.txtSicfeTenant = Tenant WebService
|
||||||
|
editarEmpresaController.sicfe.txtSicfeURL = URL WebService
|
||||||
|
editarEmpresaController.sicfe.txtSicfeUSR = USR WebService
|
||||||
|
editarEmpresaController.sicfe.txtSicfePassword = Password WebService
|
||||||
|
editarEmpresaController.sicfe.txtSicfeFatura = Fatura Sicfe
|
||||||
|
editarEmpresaController.sicfe.txtSicfeTicket = Ticket Sicfe
|
||||||
|
editarEmpresaController.sicfe.txtSicfeNotaCreditoFatura = Nota Credito Fatura
|
||||||
|
editarEmpresaController.sicfe.txtSicfeNotaCreditoTicket = Nota Credito Ticket
|
||||||
|
editarEmpresaController.sicfe.txtSicfeFormaPagoContado = Forma Pago Contado
|
||||||
|
editarEmpresaController.sicfe.txtSicfeFormaPagoCredito = Forma Pago Credito
|
||||||
|
editarEmpresaController.sicfe.txtSicfeTipoDocRecepcao = Tipo Doc Recepção
|
||||||
|
editarEmpresaController.sicfe.txtSicfePais = Pais
|
||||||
|
editarEmpresaController.sicfe.txtSicfeMoeda = Tipo Moeda
|
||||||
|
editarEmpresaController.sicfe.txtSicfeCidade = Cidade
|
||||||
|
editarEmpresaController.sicfe.txtSicfeDepartamento = Departamento
|
||||||
|
editarEmpresaController.sicfe.txtSicfeEndereco = Endereço
|
||||||
|
editarEmpresaController.sicfe.txtSicfeRazaoSocial = Razão Social
|
||||||
|
|
||||||
editarEmpresaController.segunda.label = Segunda-Feira
|
editarEmpresaController.segunda.label = Segunda-Feira
|
||||||
editarEmpresaController.semanal.label = Semanal
|
editarEmpresaController.semanal.label = Semanal
|
||||||
editarEmpresaController.senhaIntegracaoAGR = Senha
|
editarEmpresaController.senhaIntegracaoAGR = Senha
|
||||||
|
|
|
@ -70,6 +70,7 @@
|
||||||
label="${c:l('editarEmpresaController.lblIntegracoesTipoPassagem.value')}" />
|
label="${c:l('editarEmpresaController.lblIntegracoesTipoPassagem.value')}" />
|
||||||
<tab id="tabSaftao" visible="false"
|
<tab id="tabSaftao" visible="false"
|
||||||
label="${c:l('editarEmpresaController.saftao.titulo')}" />
|
label="${c:l('editarEmpresaController.saftao.titulo')}" />
|
||||||
|
<tab id="tabSicfe" label="${c:l('editarEmpresaController.sicfe.titulo')}" />
|
||||||
</tabs>
|
</tabs>
|
||||||
|
|
||||||
<tabpanels style="overflow: auto">
|
<tabpanels style="overflow: auto">
|
||||||
|
@ -2640,6 +2641,117 @@
|
||||||
</grid>
|
</grid>
|
||||||
</tabpanel>
|
</tabpanel>
|
||||||
|
|
||||||
|
<tabpanel>
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="75%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.indUsaRUTCliente')}" />
|
||||||
|
<checkbox id="chkSicfeUsaRUTCliente" use="com.rjconsultores.ventaboletos.web.utilerias.MyCheckboxSiNo" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.indeUsaTermica')}" />
|
||||||
|
<checkbox id="chkSicfeUsaTermica" use="com.rjconsultores.ventaboletos.web.utilerias.MyCheckboxSiNo" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.indDesconto100Emite')}" />
|
||||||
|
<checkbox id="chkSicfeDesconto100Emite" use="com.rjconsultores.ventaboletos.web.utilerias.MyCheckboxSiNo" />
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
<groupbox id="gbHabilitaSicfe" open="false" onOpen="chkIsSicfeHabilitado.setChecked(event.open);">
|
||||||
|
<caption>
|
||||||
|
<checkbox id="chkIsSicfeHabilitado" checked="false" onCheck="gbHabilitaSicfe.setOpen(event.checked)"
|
||||||
|
label="${c:l('editarEmpresaController.sicfe.indIsSicfeHabilitado')}" />
|
||||||
|
</caption>
|
||||||
|
<hlayout>
|
||||||
|
<grid fixedLayout="true">
|
||||||
|
<columns>
|
||||||
|
<column width="25%" />
|
||||||
|
<column width="75%" />
|
||||||
|
</columns>
|
||||||
|
<rows>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtRUTSicfe')}" />
|
||||||
|
<textbox id="txtRUTSicfe" width="80%" maxlength="255" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtSicfeTenant')}" />
|
||||||
|
<textbox id="txtSicfeTenant" width="80%" maxlength="255" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtSicfeURL')}" />
|
||||||
|
<textbox id="txtSicfeURL" width="80%" maxlength="255" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtSicfeUSR')}" />
|
||||||
|
<textbox id="txtSicfeUSR" width="80%" maxlength="255" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtSicfePassword')}" />
|
||||||
|
<textbox id="txtSicfePassword" type="password" width="80%" maxlength="255" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtSicfeFatura')}" />
|
||||||
|
<intbox id="txtSicfeFatura" width="60px" maxlength="7" constraint="no negative" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtSicfeTicket')}" />
|
||||||
|
<intbox id="txtSicfeTicket" width="60px" maxlength="7" constraint="no negative" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtSicfeNotaCreditoFatura')}" />
|
||||||
|
<intbox id="txtSicfeNotaCreditoFatura" width="60px" maxlength="7" constraint="no negative" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtSicfeNotaCreditoTicket')}" />
|
||||||
|
<intbox id="txtSicfeNotaCreditoTicket" width="60px" maxlength="7" constraint="no negative" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtSicfeFormaPagoContado')}" />
|
||||||
|
<intbox id="txtSicfeFormaPagoContado" width="60px" maxlength="7" constraint="no negative" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtSicfeFormaPagoCredito')}" />
|
||||||
|
<intbox id="txtSicfeFormaPagoCredito" width="60px" maxlength="7" constraint="no negative" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtSicfeTipoDocRecepcao')}" />
|
||||||
|
<intbox id="txtSicfeTipoDocRecepcao" width="60px" maxlength="7" constraint="no negative" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtSicfePais')}" />
|
||||||
|
<textbox id="txtSicfePais" width="80%" maxlength="255" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtSicfeMoeda')}" />
|
||||||
|
<textbox id="txtSicfeMoeda" width="80%" maxlength="255" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtSicfeCidade')}" />
|
||||||
|
<textbox id="txtSicfeCidade" width="80%" maxlength="255" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtSicfeDepartamento')}" />
|
||||||
|
<textbox id="txtSicfeDepartamento" width="80%" maxlength="255" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtSicfeEndereco')}" />
|
||||||
|
<textbox id="txtSicfeEndereco" width="80%" maxlength="255" />
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<label value="${c:l('editarEmpresaController.sicfe.txtSicfeRazaoSocial')}" />
|
||||||
|
<textbox id="txtSicfeRazaoSocial" width="80%" maxlength="255" />
|
||||||
|
</row>
|
||||||
|
</rows>
|
||||||
|
</grid>
|
||||||
|
|
||||||
|
</hlayout>
|
||||||
|
</groupbox>
|
||||||
|
</tabpanel>
|
||||||
|
|
||||||
</tabpanels>
|
</tabpanels>
|
||||||
</tabbox>
|
</tabbox>
|
||||||
|
|
Loading…
Reference in New Issue