diff --git a/sigi/apps/casas/templates/casas/carrinho.html b/sigi/apps/casas/templates/casas/carrinho.html index d0cd27b..e8796a6 100644 --- a/sigi/apps/casas/templates/casas/carrinho.html +++ b/sigi/apps/casas/templates/casas/carrinho.html @@ -186,6 +186,12 @@ value="Última alteração de endereco" class="action-select" checked="checked" /> +
  • + + + +
  • diff --git a/sigi/apps/casas/views.py b/sigi/apps/casas/views.py index 9eb7119..eb74f54 100644 --- a/sigi/apps/casas/views.py +++ b/sigi/apps/casas/views.py @@ -385,6 +385,11 @@ def export_csv(request): lista.append(casa.total_parlamentares) elif _(u"Última alteração de endereco") == atributo: lista.append(casa.ult_alt_endereco) + elif _(u"Servicos SEIT") == atributo: + lista.append(", ".join([s.tipo_servico.nome.encode('utf-8') + for s in casa.servico_set.filter( + data_desativacao__isnull=True)]) + ) elif _(u"Nome contato") == atributo: if contatos: nomes = u", ".join([c.nome for c in contatos])