Browse Source
Merge pull request #135 from interlegis/new_sigi
tratando telefone
pull/138/head
Lude Ribeiro
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
2 deletions
-
sigi/apps/servicos/views.py
|
|
@ -311,15 +311,16 @@ def export_csv(request): |
|
|
|
lista.append(servico.casa_legislativa.municipio.uf.sigla.encode("utf-8")) |
|
|
|
lista.append(servico.casa_legislativa.email.encode("utf-8")) |
|
|
|
if servico.casa_legislativa.telefone is not None: |
|
|
|
lista.append(servico.casa_legislativa.telefone.encode("utf-8")) |
|
|
|
lista.append(servico.casa_legislativa.telefone) |
|
|
|
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: |
|
|
|
lista.append(servico.casa_legislativa.contato_interlegis) |
|
|
|
lista.append(servico.casa_legislativa.contato_interlegis.email.encode("utf-8")) |
|
|
|
else: |
|
|
|
lista.append("") |
|
|
|
lista.append("") |
|
|
|
elif _(u"Produto") == atributo: |
|
|
|
lista.append(servico.tipo_servico.nome.encode("utf-8")) |
|
|
|
elif _(u"Data de Ativação") == atributo: |
|
|
|