Browse Source

tratando telefone

pull/133/head
Lude Ribeiro 3 years ago
parent
commit
3cabd881b5
  1. 6
      sigi/apps/servicos/views.py

6
sigi/apps/servicos/views.py

@ -309,11 +309,11 @@ def export_csv(request):
if _(u"Casa Legislativa") == atributo:
lista.append(servico.casa_legislativa.nome.encode("utf-8"))
lista.append(servico.casa_legislativa.municipio.uf.sigla.encode("utf-8"))
if servico.casa_legislativa.contato_interlegis is not None:
lista.append(servico.casa_legislativa.email.encode("utf-8"))
else:
lista.append("")
if servico.casa_legislativa.telefone is not None:
lista.append(servico.casa_legislativa.telefone.encode("utf-8"))
else
lista.append("")
elif _(u"Contato Interlegis") == atributo:
lista.append(servico.casa_legislativa.contato_interlegis.encode("utf-8"))
if servico.casa_legislativa.contato_interlegis is not None:

Loading…
Cancel
Save