{% extends "admin/base_site.html" %} {% comment %} This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. {% endcomment %} {% load proto_tags %} {% load static %} {% load i18n %} {% block extrahead %} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}

Relatório de acordos da outorga {{ termo }}

{% for ac in acordos %} {% for it in ac.itens %} {% for pg in it.pg %} {% for a in pg.docs %} {% endfor %} {% endfor %} {% endfor %} {% endfor %}
{% if ac.itens|length_is:"0" %} {% else %}-{% endif %}
{{ ac.desc }}
{% if ac.totalGeralReal %}

{{ ac.totalGeralReal|moeda }}

{% endif %} {% if ac.totalGeralDolar %}

{{ ac.totalGeralDolar|moeda:0 }}

{% endif %}
{% if it.pg|length_is:"0" %} {% else %}-{% endif %}
{{ it.desc }}
{% if it.totalReal %}

{{ it.totalReal|moeda }}

{% endif %} {% if it.totalDolar %}

{{ it.totalDolar|moeda:0 }}

{% endif %}
    {% if pg.p.conta_corrente.imagem %} CHQ {{ pg.p.conta_corrente.cod_oper|default:"-" }} {% else %} {{ pg.p.conta_corrente.cod_oper|default:"-" }} {% endif %} {{ pg.p.conta_corrente.data_oper|date:"d/m"|default:"-" }} {{ pg.p.protocolo.descricao2 }}{{ pg.p.protocolo.referente }} {% if pg.p.origem_fapesp and pg.p.origem_fapesp.item_outorga.natureza_gasto.modalidade.moeda_nacional == False %} {{ pg.p.valor_fapesp|moeda:0 }} {% else %} {{ pg.p.valor_fapesp|moeda }} {% endif %} [{{ pg.p.protocolo.tipo_documento.nome }} - {{ pg.p.protocolo.num_documento }}]
        parc. {{ a.parcial }}/pag. {{ a.pagina }} {{ a.tipo.nome }}   {% if a.arquivo %}arquivo{% endif %}
{% endblock %}