From 2966934cfcedda49acbf781a39ad9d70322c12f8 Mon Sep 17 00:00:00 2001 From: AlGouvea Date: Wed, 6 Oct 2021 09:05:03 -0300 Subject: [PATCH] =?UTF-8?q?Atualiza=C3=A7=C3=A3o=20dos=20dados=20do=20pain?= =?UTF-8?q?el?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/sessao/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index 12512bbfc..eaf588c4e 100755 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -4189,6 +4189,7 @@ class VotacaoEmBlocoSimbolicaView(PermissionRequiredForAppCrudMixin, TemplateVie logger = logging.getLogger(__name__) def post(self, request, *args, **kwargs): + tasks.get_dados_painel_final(self.kwargs['pk']) if not 'context' in locals(): context = {'pk': self.kwargs['pk'], @@ -4243,7 +4244,7 @@ class VotacaoEmBlocoSimbolicaView(PermissionRequiredForAppCrudMixin, TemplateVie context.update({'expedientes': expedientes, 'total_presentes': qtde_presentes, 'total_votantes': qtde_ativos}) - + if 'salvar-votacao' in request.POST: form = VotacaoForm(request.POST)