From 7173b9b307f9dff4bb552c7c87ad5db168499591 Mon Sep 17 00:00:00 2001 From: "Starlone (Estagiario)" Date: Fri, 30 Jul 2010 21:32:15 +0000 Subject: [PATCH] Adicionando relatorio de Casas sem convenio --- sigi/apps/casas/reports.py | 2 +- sigi/apps/casas/templates/casas/change_list.html | 1 + sigi/apps/casas/views.py | 8 ++++++++ sigi/urls.py | 2 ++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/sigi/apps/casas/reports.py b/sigi/apps/casas/reports.py index ac65f11..057b3e9 100644 --- a/sigi/apps/casas/reports.py +++ b/sigi/apps/casas/reports.py @@ -43,7 +43,7 @@ class CasasLegislativasLabels(Report): ManyElements( ObjectValue, count=5, - attribute_name=('get_presidente_nome','nome','logradouro','municipio','cep'), + attribute_name=('parlamentar','nome','logradouro','municipio','cep'), start_top=1.5*cm, height=0.5*cm, left=1*cm, width=9.4*cm, ), ] diff --git a/sigi/apps/casas/templates/casas/change_list.html b/sigi/apps/casas/templates/casas/change_list.html index 8ddb5ef..625b3c5 100644 --- a/sigi/apps/casas/templates/casas/change_list.html +++ b/sigi/apps/casas/templates/casas/change_list.html @@ -5,6 +5,7 @@ {% if has_add_permission %}