{% extends "base.html" %}{% load i18n crm_tags %} {% block title %}{% blocktranslate trimmed with month=first|date:"F Y" %}Accounting report, {{ month }}{% endblocktranslate %}{% endblock %} {% block content %}

{% translate "Monthly accounting report" %}

{{ CHURCH_NAME }}, {{ APP_NAME }}. {{ first|date:"F Y" }}.

{% translate "Previous" %} {% if next_month %}{% translate "Next" %}{% endif %} {% translate "Download (CSV)" %} {% translate "Back to the book" %}
{% if r.empty %}
{% translate "Nothing is recorded in the book for this month yet." %}
{% endif %}

{% translate "Balances" %}

{% for a in r.accounts %}{% endfor %}{% for v in r.summary.opening.values %}{% endfor %}{% for v in r.summary.collected.values %}{% endfor %}{% for v in r.summary.spent.values %}{% endfor %}{% for v in r.summary.moved.values %}{% endfor %}{% for v in r.summary.closing.values %}{% endfor %}
{{ a }}{% translate "Total" %}
{% translate "Brought forward" %}{{ v|tzs }}{{ r.summary.opening.total|tzs }}
{% translate "Collections" %}{{ v|tzs_signed }}{{ r.summary.collected.total|tzs_signed }}
{% translate "Expenses" %}{{ v|neg|tzs_signed }}{{ r.summary.spent.total|neg|tzs_signed }}
{% translate "Credited to bank" %}{{ v|tzs_signed }}{{ r.summary.moved.total|tzs }}
{% translate "Carried forward" %}{{ v|tzs }}{{ r.summary.closing.total|tzs }}

{% if r.net >= 0 %}{% blocktranslate trimmed with amount=r.net|tzs %}Collections less expenses: {{ amount }} more came in than went out.{% endblocktranslate %}{% else %}{% blocktranslate trimmed with amount=r.net|neg|tzs %}Collections less expenses: {{ amount }} more went out than came in.{% endblocktranslate %}{% endif %}

{% translate "Collections by source" %}

{% if r.collections %}
{% for a in r.accounts %}{% endfor %} {% for c in r.collections %}{% for v in c.values %}{% endfor %}{% endfor %} {% for v in r.summary.collected.values %}{% endfor %}
{{ a }}{% translate "Total" %}
{{ c.label }}{{ v|tzs_or_dash }}{{ c.total|tzs }}
{% translate "Total collections" %}{{ v|tzs }}{{ r.total_collected|tzs }}
{% else %}

{% translate "No collections recorded." %}

{% endif %}

{% translate "Expenses by category" %}

{% if r.expenses %}
{% for a in r.accounts %}{% endfor %} {% for c in r.expenses %}{% for v in c.values %}{% endfor %}{% endfor %} {% for v in r.summary.spent.values %}{% endfor %}
{{ a }}{% translate "Total" %}
{{ c.label }}{{ v|tzs_or_dash }}{{ c.total|tzs }}
{% translate "Total expenses" %}{{ v|tzs }}{{ r.total_spent|tzs }}
{% else %}

{% translate "No expenses recorded." %}

{% endif %}

{% translate "Money credited to the bank" %}

{% if r.banked %}
{% for e in r.banked %}{% endfor %}
{% translate "Date" %}{% translate "From" %}{% translate "Bank slip or transaction number" %}{% translate "Bank account" %}{% translate "Amount" %}
{{ e.on|date:"j M" }}{{ e.account_label }}{{ e.reference }}{{ e.party }}{{ e.amount|tzs }}
{% translate "Total credited to the bank" %}{{ r.banked_total|tzs }}
{% else %}

{% translate "Nothing was credited to the bank this month." %}

{% endif %}

{% translate "Compared with what agents recorded in the CRM" %}

{% translate "Gifts and order payments agents recorded on calls this month, next to the collections in the book. A difference isn’t always a mistake (for example, money that didn’t come through a call), but check any you can’t explain." %}

{% for c in r.compare %}{% endfor %}
{% translate "In the book" %}{% translate "Gifts" %}{% translate "Order payments" %}{% translate "Recorded by agents" %}{% translate "Difference" %}
{{ c.label }}{{ c.book|tzs }}{{ c.gifts|tzs }}{{ c.orders|tzs }}{{ c.crm|tzs }}{{ c.difference|tzs_signed }}
{% translate "Total" %}{{ r.compare_total.book|tzs }}{{ r.compare_total.crm|tzs }}{{ r.compare_total.difference|tzs_signed }}

{% translate "Every entry this month" %}

{% if r.entries %}
{% for e in r.entries %}{% endfor %}
{% translate "Date" %}{% translate "What" %}{% translate "Account" %}{% translate "From or to" %}{% translate "Reference" %}{% translate "Amount" %}
{{ e.on|date:"j M" }}{{ e.what }}
{{ e.account_label }}{% if e.kind == "banked" %} → {% translate "Bank" %}{% endif %}
{% if e.note %}
{{ e.note }}
{% endif %}
{{ e.account_label }}{% if e.kind == "banked" %} → {% translate "Bank" %}{% endif %}{{ e.party }}{{ e.reference }}{% if e.kind == "expense" %}−{% elif e.kind == "collection" %}+{% else %}⇄ {% endif %}{{ e.amount|tzs }}
{% else %}

{% translate "No entries." %}

{% endif %} {% if r.cancelled %}

{% blocktranslate trimmed count n=r.cancelled %}{{ n }} cancelled entry is left out.{% plural %}{{ n }} cancelled entries are left out.{% endblocktranslate %}

{% endif %}

{% blocktranslate trimmed with who=user.display_name when=made_at|date:"j M Y, H:i" %}Prepared by {{ who }} on {{ when }}.{% endblocktranslate %}

{% translate "Checked by" %}{% translate "Signature" %}{% translate "Date" %}
{% endblock %}