From c45d0d5ca587b252593aa6d3a55a47cae4ff523d Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Thu, 21 Nov 2019 12:03:20 -0300 Subject: [PATCH] HOT-FIX: usa recurso define em templates --- .../protocoloadm/documentoadministrativo_filter.html | 6 +++--- .../templates/relatorios/relatorio_doc_administrativos.html | 6 +++--- .../relatorios/relatorio_materias_em_tramitacao.html | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/sapl/templates/protocoloadm/documentoadministrativo_filter.html b/sapl/templates/protocoloadm/documentoadministrativo_filter.html index bd8c3a9f4..49234e5a6 100644 --- a/sapl/templates/protocoloadm/documentoadministrativo_filter.html +++ b/sapl/templates/protocoloadm/documentoadministrativo_filter.html @@ -52,11 +52,11 @@ Status: {{tram.status}}
{% endif %} - {% define d.documentoacessorioadministrativo_set.all as acess %} - {% if d.documentoacessorioadministrativo_set.all.exists %} + {% define d.documentoacessorioadministrativo_set.all as access %} + {% if access.exists %} Documentos Acessórios: - {{ d.documentoacessorioadministrativo_set.all.count }} + {{ access.count }}
{% endif %} diff --git a/sapl/templates/relatorios/relatorio_doc_administrativos.html b/sapl/templates/relatorios/relatorio_doc_administrativos.html index 00ac4a071..5ba5b5a80 100644 --- a/sapl/templates/relatorios/relatorio_doc_administrativos.html +++ b/sapl/templates/relatorios/relatorio_doc_administrativos.html @@ -25,11 +25,11 @@ Status: {{tram.status}}
{% endif %} - {% define d.documentoacessorioadministrativo_set.all as acess %} - {% if d.documentoacessorioadministrativo_set.all.exists %} + {% define d.documentoacessorioadministrativo_set.all as access %} + {% if access.exists %} Documentos Acessórios: - {{ d.documentoacessorioadministrativo_set.all.count }} + {{ access.count }}
{% endif %} diff --git a/sapl/templates/relatorios/relatorio_materias_em_tramitacao.html b/sapl/templates/relatorios/relatorio_materias_em_tramitacao.html index 3fee73be1..90fe8d702 100644 --- a/sapl/templates/relatorios/relatorio_materias_em_tramitacao.html +++ b/sapl/templates/relatorios/relatorio_materias_em_tramitacao.html @@ -54,11 +54,11 @@ Status: {{tram.status}}
{% endif %} - {% define d.documentoacessorioadministrativo_set.all as acess %} - {% if d.documentoacessorioadministrativo_set.all.exists %} + {% define d.documentoacessorioadministrativo_set.all as access %} + {% if access.exists %} Documentos Acessórios: - {{ d.documentoacessorioadministrativo_set.all.count }} + {{ access.count }}
{% endif %}