From dc1e1975ae65acc31d995c1c5c4304ab84d31e54 Mon Sep 17 00:00:00 2001 From: gleimar Date: Tue, 4 Apr 2017 11:57:32 +0000 Subject: [PATCH] fixes bug#8851 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@67629 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../utilerias/ApplicationProperties.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/com/rjconsultores/ventaboletos/utilerias/ApplicationProperties.java b/src/com/rjconsultores/ventaboletos/utilerias/ApplicationProperties.java index 5e83bed48..2d0e3c481 100644 --- a/src/com/rjconsultores/ventaboletos/utilerias/ApplicationProperties.java +++ b/src/com/rjconsultores/ventaboletos/utilerias/ApplicationProperties.java @@ -203,4 +203,16 @@ 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. + * + * @return + */ + public boolean validaContaCorrenteEmpesaPtoVta() { + String property = p.getProperty("puntoVenta.validaCtaCteEmpresa", "1"); + return property.equals("1"); + } + }