{% 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 i18n %}
{% block extrastyle %}
{% endblock %}
{% block breadcrumbs %}
{% endblock %}
{% block content %}
Relatório de recursos técnicos
{% if planejamentos %}
Contrato |
OS |
{% if estado_selected == 0 %}
Est. OS |
{% endif %}
Classificação |
Descrição |
Referente |
Qtd |
|
|
{% if estado_selected == 0 %}
Beneficiado |
{% else %}
Beneficiado |
{% endif %}
Estado |
Qtd |
{% for r in planejamentos %}
{{ r.contrato.numero }} |
{{ r.os.numero }} |
{% if not estado_selected or estado_selected == 0 %}
{{ r.os.estado|default:'-' }} |
{% endif %}
{{ r.classificacao }} |
{{ r.descricao }} |
{{ r.referente }} |
{{ r.quantidade }} |
{% for b in r.beneficiados %}
|
{% if not estado_selected or estado_selected == 0 %}
{{b.entidade}} |
{% else %}
{{b.entidade}} |
{% endif %}
{{b.estado|default:'-'}} |
{{b.quantidade|default:'-'}} |
{% endfor %}
{% endfor %}
{% else %}
Não foram encontrados dados para a exibição. |
{% endif %}
{% endblock %}