fixes bug #9105
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@71609 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
d54b17790d
commit
0e6e2a079e
|
@ -7,6 +7,7 @@ package com.rjconsultores.ventaboletos.utilerias;
|
|||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.util.Properties;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
import org.springframework.core.io.ClassPathResource;
|
||||
|
||||
|
@ -129,6 +130,7 @@ public class ApplicationProperties {
|
|||
String property = p.getProperty("contrasena.validaComplejidad", "0");
|
||||
return property.equals("1");
|
||||
}
|
||||
|
||||
public boolean habilitarCustomSequence() {
|
||||
String property = p.getProperty("custom.sequence", "0");
|
||||
return property.equals("1");
|
||||
|
@ -194,7 +196,7 @@ public class ApplicationProperties {
|
|||
return property.equals("1");
|
||||
}
|
||||
|
||||
public Integer maxSizeNumCorrida(){
|
||||
public Integer maxSizeNumCorrida() {
|
||||
String property = p.getProperty("maxSizeNumCorrida", "-1");
|
||||
return Integer.parseInt(property);
|
||||
}
|
||||
|
@ -213,10 +215,10 @@ public class ApplicationProperties {
|
|||
String property = p.getProperty("utilizaLibercard", "0");
|
||||
return property.equals("1");
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Indica se ao salvar um ponto de venda será validado se para todas as empresas informadas
|
||||
* para venda também será necessário informar o fechamento.
|
||||
* Indica se ao salvar um ponto de venda será validado se para todas as empresas informadas para venda também será necessário informar o fechamento.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
@ -235,8 +237,4 @@ public class ApplicationProperties {
|
|||
return property.equals("1");
|
||||
}
|
||||
|
||||
public boolean isSerieSubserieSecretaria() {
|
||||
String property = p.getProperty("validaSerieSubserieSecretaria", "0");
|
||||
return property.equals("1");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue