{% extends "site_base.html" %} {% load i18n %} {% block head_title %}{% trans "Cash Report" %}{% endblock %} {% block extra_head %} {% endblock %} {% block body_class %}x{% endblock %} {% block body_base %}
| {% trans "Category" %} | {% trans "Amount" %} | {% for k,v in summary_list %}
|---|---|
| {{ k }} | {{ v }} |
| {% trans "Total In" %} | {{ in_total }} |
| {% trans "Total Out" %} | {{ out_total }} |
| {% trans "Balance (starting" %} = {{ starting_balance }}) | {{ balance }} |
| {% trans "Date" %} | {% trans "Category" %} | {% trans "Virtual Account" %} | {% trans "Cash In" %} | {% trans "Cash Out" %} | {% trans "Project" %} | {% trans "To or From" %} | {% trans "Reference" %} | {% for event in events %}|||
|---|---|---|---|---|---|---|---|---|---|---|
| {{ event.event_date }} | {% if event.exchange %}{{ event.account }} {% else %} {{ event.account }} {% endif %} | {{ event.virtual_account }} | {% if event.in_out == "in" %}{{ event.quantity }} | {% else %}{% endif %} {% if event.in_out == "out" %} | {{ event.quantity }} | {% else %}{% endif %} | {{ event.context_agent }} | {% if event.in_out == "in" %}{{ event.from_agent }} | {% else %}{{ event.to_agent }} | {% endif %}{% if event.event_reference %} {{ event.event_reference }} {% else %} {% endif %} |
| {% trans "Totals" %} | {{ in_total }} | {{ out_total }} | ||||||||
| {% trans "Balance (starting" %} = {{ starting_balance }}) | {% if balance > 0 %} | {{ balance }} | {% else %}{% endif %} {% if balance > 0 %} | {% else %} | {{ balance }} | {% endif %}