{% extends "base.html" %} {% load humanize %} {% block content %}

{{ object.classification }}: {{ object }}

ID {{ object.id }}
Filer {{ object.filer }}
Classification {{ object.classification }}
Start {{ object.coverage_start_date }}
End {{ object.coverage_end_date }}
Recipient {{ object.recipient }}
Identifiers {% for obj in object.identifiers.all %} {{ obj }}{% if not forloop.last %},{% endif %} {% endfor %}
Sources {% for obj in object.sources.all %} {{ forloop.counter }}{% if not forloop.last %},{% endif %} {% endfor %}
CAL-ACCESS Filing ID {{ object.calaccess_filing_id.identifier }}
CAL-ACCESS Amend ID {{ object.calaccess_amend_id }}
CAL-ACCESS URL {{ object.calaccess_filing_url|urlize }}

Actions ({{ object.actions.count }})

{% for obj in object.actions.all %}

{{ obj.date }}

ID {{ obj.id }}
Classifications {% for c in obj.classification %}{{ c }}{% if not forloop.last%}, {% endif %}{% endfor %}
Description {{ obj.description }}
Agents {% for a in obj.agents.all %}{{ a }}{% if not forloop.last%}, {% endif %}{% endfor %}
Supersedes prior versions {{ obj.supersedes_prior_versions }}
Current {{ obj.is_current }}
Transactions {{ obj.transactions.count }}
Summary totals
{% for sum in obj.summary_amounts.all %} {% endfor %}
Label Amount
{{ sum.label }} ${{ sum.amount_value|floatformat:0|intcomma }}

{% endfor %} {% endblock %}