{% extends "base.html" %} {% load erp_tags %} {% block title %}{{ page_title }}{% endblock %} {% block content %}
Fiscal Periods

{{ paginator.count }} periods · {{ company }}

{% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %}
{% for p in periods %} {% empty %} {% endfor %}
Period Range Status Drafts Action
{{ p.name }} {{ p.start_date }} – {{ p.end_date }} {{ p.get_status_display }} {% if p.draft_entry_count %}{{ p.draft_entry_count }} unposted{% else %}—{% endif %} {% if p.status == "open" %}
{% csrf_token %}
{% elif p.status == "closed" %}
{% csrf_token %}
{% else %} Locked — corrections go in the next open period {% endif %}
No fiscal periods yet. Create one in the admin to start closing books.
{% endblock %}