From eebdbb3e3426bf5e5b97e2b1567058c563ae7a14 Mon Sep 17 00:00:00 2001 From: valdir Date: Tue, 19 Jun 2018 17:49:58 +0000 Subject: [PATCH] =?UTF-8?q?0011415:=20Parametrizar=20obrigatoriedade=20do?= =?UTF-8?q?=20endere=C3=A7o=20no=20cadastro=20de=20cliente=20fixes=20bug#1?= =?UTF-8?q?1415=20dev:valdevir=20qua:marcelo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Foi criado o parĂ¢metro cliente.enderecoObrigatorio para parametrizar a obrigatoriedade do endereco, alterado no custom da comporte. git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@82752 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../ventaboletos/utilerias/ApplicationProperties.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/com/rjconsultores/ventaboletos/utilerias/ApplicationProperties.java b/src/com/rjconsultores/ventaboletos/utilerias/ApplicationProperties.java index 0baf5b953..40a568335 100644 --- a/src/com/rjconsultores/ventaboletos/utilerias/ApplicationProperties.java +++ b/src/com/rjconsultores/ventaboletos/utilerias/ApplicationProperties.java @@ -264,4 +264,9 @@ public class ApplicationProperties { String property = p.getProperty("puntoVentaCadastroAIDFObrigatorio", "0"); return property.equals("1"); } + + public boolean enderecoClienteObrigatorio() { + String property = p.getProperty("cliente.enderecoObrigatorio", "1"); + return property.equals("1"); + } }