{% 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 gerencial progressivo

{% if acordos %}
{% endif %}
{% if acordos %} {% comment %}{% endcomment %} {% for t in termos %} {% endfor %} {% for a in acordos %} {% comment %} {% endcomment %} {% for t in a.termos %} {% endfor %} {% endfor %}
 
Realizado
Processo {{ t }}
{{ t.inicio|date:"d/m/Y" }}
a
{{ t.termino|date:"d/m/Y" }}
Total
{{ a.nome }} {% if a.tem_real %} Concedido
Realizado
Saldo
{% endif %} {% if a.tem_dolar %} Concedido
Realizado
Saldo
{% endif %}
{% if t.tem_real %} {# {{ t.concedido_real|moeda }}
#} {{ t.realizado_real|moeda }}
{# {{ t.saldo_real|moeda_css }}
#} {% else %} {#
#}
{#
#} {% endif %} {% if t.tem_dolar %} {# {{ t.concedido_dolar|moeda:0 }}
#} {{ t.realizado_dolar|moeda:0 }}
{# {{ t.saldo_dolar|moeda_css:0 }}
#}
{% endif %}
{% if a.tem_real %} {# {{a.totalTermoConcedidoReal|moeda}}
#} {{a.totalTermoRealizadoReal|moeda}}
{# {{a.totalTermoSaldoReal|moeda_css}}
#} {% else %} {#
#}
{#
#} {% endif %} {% if a.tem_dolar %} {# {{a.totalTermoConcedidoDolar|moeda:0}}
#} {{a.totalTermoRealizadoDolar|moeda:0}}
{# {{a.totalTermoSaldoDolar|moeda_css:0}}
#}
{% endif %}
{% for a in acordos %}

{{ a.nome }}

{% for t in a.termos %} {% for item in t.itens %} {% if item.item.natureza_gasto.modalidade.moeda_nacional %} {% else %} {% endif %} {% endfor %} {% endfor %}
Termo Item da outorga Entidade Total Concedido Realizado Porcentagem
{% if forloop.counter == 1 %}{{ t.termo }}{% endif %} {{ item.item.descricao }} {{ item.item.entidade }}{{ item.concedido|moeda }} {{ item.realizado|moeda }} {{ item.porcentagem }}{{ item.concedido|moeda:0 }} {{ item.realizado|moeda:0 }} {{ item.porcentagem }}
{% endfor %} {% else %}


Não foram encontrados dados para a exibição.
{% endif %} {% endblock %}