bug#24134
dev:lucas qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@112946 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
62463ab12c
commit
96ccd37e74
|
@ -11,7 +11,8 @@ public enum TipoImpressora {
|
|||
DARUMA(4, Labels.getLabel("editarEstacionController.tipoImpressora.darumaFiscal"), true),
|
||||
DARUMA_BLINDADA(5, Labels.getLabel("editarEstacionController.tipoImpressora.darumaFiscalBlindada"), true),
|
||||
STOCK_CENTRAL(6, Labels.getLabel("editarEstacionController.tipoImpressora.stockCentral"), true),
|
||||
BPE(7, Labels.getLabel("editarEstacionController.tipoImpressora.bpe"), true);
|
||||
BPE(7, Labels.getLabel("editarEstacionController.tipoImpressora.bpe"), true),
|
||||
MACON(8, Labels.getLabel("editarEstacionController.tipoImpressora.macon"), true);
|
||||
|
||||
private final int codigo;
|
||||
private final String nome;
|
||||
|
|
|
@ -139,6 +139,11 @@ public class ApplicationProperties {
|
|||
return property.equals("1") ;
|
||||
}
|
||||
|
||||
public boolean isCustomHabilitado(String key, Boolean defaultValue) {
|
||||
String property = getValuefromCustom(key, defaultValue.toString());
|
||||
return property.equals("true") ;
|
||||
}
|
||||
|
||||
private InputStream readImagefromCustom(String imagene) throws FileNotFoundException, IOException {
|
||||
|
||||
InputStream inputStream = null;
|
||||
|
|
|
@ -153,7 +153,9 @@ public enum CustomEnum {
|
|||
|
||||
IS_DESABILITA_USUARIO_ADMINISTRADORES_PERFIL("dasabilitaUsuarioAdministradoresPerfil"),
|
||||
|
||||
INTEGRACION_SAFER("integracion.safer");
|
||||
INTEGRACION_SAFER("integracion.safer"),
|
||||
|
||||
IS_VENDA_MACON("IsVendaMacon");
|
||||
|
||||
private String descricao;
|
||||
|
||||
|
|
Loading…
Reference in New Issue