fixes bug#12555
dev:thiago qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@86683 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
e00f49115a
commit
ab7cb8cd0b
|
@ -155,7 +155,6 @@ import com.rjconsultores.ventaboletos.web.utilerias.render.RenderParadaPtoVtaChe
|
|||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPtoVtaSeguro;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPtovtaCatInd;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.render.RenderPtovtaComissao;
|
||||
import com.rjconsultores.ventaboletos.web.utilerias.spring.AppContext;
|
||||
import com.rjconsultores.ws.totvs.service.GeradorTitulosIntegracion;
|
||||
import com.rjconsultores.ws.totvs.service.GerenciadorEnvioTitulosWS;
|
||||
import com.rjconsultores.ws.utileria.RetornoTotvs.TipoRetorno;
|
||||
|
@ -219,6 +218,8 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
private FechamentoParamptovtaService fechamentoParamptovtaService;
|
||||
@Autowired
|
||||
private CategoriaBloqueioImpPosteriorService categoriaBloqueioImpPosteriorService;
|
||||
@Autowired
|
||||
private ConstanteService constanteService;
|
||||
|
||||
private PuntoVenta puntoVenta;
|
||||
private Textbox txtCP;
|
||||
|
@ -1417,6 +1418,9 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
txtCarga.getValue();
|
||||
txtAntecipRetem.getValue();
|
||||
txtAntecipPercentual.getValue();
|
||||
numtelefonodos.getValue();
|
||||
numtelefonouno.getValue();
|
||||
|
||||
getTxtTaxaConvenienciaPorc().getValue();
|
||||
if (getTxtTaxaConvenienciaPorc().getValue() != null &&
|
||||
getTxtTaxaConvenienciaPorc().getValue().compareTo(BigDecimal.ZERO) == 1) {
|
||||
|
@ -1638,18 +1642,24 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
|
||||
puntoVenta.setDateFechamento(dateFechamento.getValue());
|
||||
String getString = null;
|
||||
|
||||
puntoVenta.setNumfax(null);
|
||||
if (!txtNumFax.getValue().equals("")) {
|
||||
getString = this.replaceTextbox(txtNumFax);
|
||||
if (getString.length() >= 11) {
|
||||
puntoVenta.setNumfax(txtNumFax.getValue().replace("_", ""));
|
||||
}
|
||||
}
|
||||
|
||||
puntoVenta.setNumtelefonouno(null);
|
||||
if (!numtelefonouno.getValue().equals("")) {
|
||||
getString = this.replaceTextbox(numtelefonouno);
|
||||
if (getString.length() >= 11) {
|
||||
puntoVenta.setNumtelefonouno(numtelefonouno.getValue().replace("_", ""));
|
||||
}
|
||||
}
|
||||
|
||||
puntoVenta.setNumtelefonodos(null);
|
||||
if (!numtelefonodos.getValue().equals("")) {
|
||||
getString = this.replaceTextbox(numtelefonodos);
|
||||
if (getString.length() >= 11) {
|
||||
|
@ -1789,7 +1799,8 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
|||
|
||||
private boolean validarEmail() throws InterruptedException {
|
||||
|
||||
ConstanteService constanteService = (ConstanteService) AppContext.getApplicationContext().getBean("constanteService");
|
||||
descCorreo.getValue();
|
||||
|
||||
Constante constante = constanteService.buscarPorNomeConstante("TOTALBUS_EMAIL_OPCIONAL_PV");
|
||||
|
||||
if(constante == null || constante.getValorconstante().equals("0")){
|
||||
|
|
Loading…
Reference in New Issue