From 4378a8432cd98fc00584d851e1d5e95db683216d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ses=C3=B3stris=20Vieira?= Date: Thu, 27 Oct 2022 14:06:19 -0300 Subject: [PATCH] Restaura template removido indevidamente --- .../casas/casas_sem_convenio_pdf.html | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 sigi/apps/casas/templates/casas/casas_sem_convenio_pdf.html diff --git a/sigi/apps/casas/templates/casas/casas_sem_convenio_pdf.html b/sigi/apps/casas/templates/casas/casas_sem_convenio_pdf.html new file mode 100644 index 0000000..2d6abe8 --- /dev/null +++ b/sigi/apps/casas/templates/casas/casas_sem_convenio_pdf.html @@ -0,0 +1,37 @@ +{% extends 'pdf/base_report.html' %} +{% load static i18n %} + +{% block page_size %}A4 landscape{% endblock %} + +{% block main_content %} + + + + + + + + + + + + + + + {% for casa in casas %} + {% ifchanged casa.municipio.uf %} + + {% endifchanged %} + + + + + + + + + + + {% endfor %} +
{% trans 'Casa' %}{% trans 'Presidente' %}{% trans 'Tipo' %}{% trans 'Endereço' %}{% trans 'Bairro' %}{% trans 'CEP' %}{% trans 'Telefone' %}{% trans 'E-mail' %}

{{ casa.municipio.uf.nome }}

{{ casa.nome }}{{ casa.presidente }}{{ casa.tipo.sigla }}{{ casa.logradouro }}{{ casa.bairro }}{{ casa.cep }}{{ casa.telefone }}{{ casa.email }}
+{% endblock main_content %} \ No newline at end of file