{% extends "pdf_templates/pdf_base_financial.html" %} {% load custom_filters %} {% load humanize %} {% block title %} TRIAL BALANCE {% endblock %} {% block period %}
Currency : {{ currency }}
Period : {{ from_date|date:"d M Y" }} - {{ to_date|date:"d M Y" }}
{% endblock %} {% block content %} {% for row in trial_data %} {% endfor %}
Account Opening Debit Credit Ending
{{ row.acct_no|format_acct_no }} - {{ row.acct_name }} {{ row.opening|floatformat:2|intcomma }} {{ row.debit|floatformat:2|intcomma }} {{ row.credit|floatformat:2|intcomma }} {{ row.ending|floatformat:2|intcomma }}
TOTAL {{ total_debit|floatformat:2|intcomma }} {{ total_credit|floatformat:2|intcomma }}
Difference (Must Be 0) {{ difference|floatformat:2|intcomma }}
{% endblock %}