fixes bug#AL-2048
Ao salvar o telefone no ponto de venda estava considerando somente com mascara. Alterado para que ao salvar considerar qualquer numero de telefone. O tratamento da mascara ira continuar valendo, caso o usuário use.master
parent
feb3fbab9d
commit
9a9df7cb99
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
||||||
<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.0.36</version>
|
<version>1.0.37</version>
|
||||||
<packaging>war</packaging>
|
<packaging>war</packaging>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|
|
@ -2092,7 +2092,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||||
puntoVenta.setNumtelefonouno(null);
|
puntoVenta.setNumtelefonouno(null);
|
||||||
if (!numtelefonouno.getValue().equals("")) {
|
if (!numtelefonouno.getValue().equals("")) {
|
||||||
getString = this.replaceTextbox(numtelefonouno);
|
getString = this.replaceTextbox(numtelefonouno);
|
||||||
if (getString.length() >= 11) {
|
if (getString.length() >= 1) {
|
||||||
puntoVenta.setNumtelefonouno(numtelefonouno.getValue().replace("_", ""));
|
puntoVenta.setNumtelefonouno(numtelefonouno.getValue().replace("_", ""));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2100,7 +2100,7 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
|
||||||
puntoVenta.setNumtelefonodos(null);
|
puntoVenta.setNumtelefonodos(null);
|
||||||
if (!numtelefonodos.getValue().equals("")) {
|
if (!numtelefonodos.getValue().equals("")) {
|
||||||
getString = this.replaceTextbox(numtelefonodos);
|
getString = this.replaceTextbox(numtelefonodos);
|
||||||
if (getString.length() >= 11) {
|
if (getString.length() >= 1) {
|
||||||
puntoVenta.setNumtelefonodos(numtelefonodos.getValue().replace("_", ""));
|
puntoVenta.setNumtelefonodos(numtelefonodos.getValue().replace("_", ""));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue