{% extends "base.html" %} {% load i18n %} {% block title %}{% trans "Accounts" %}{% endblock title %} {% block accounts %} {% trans "Accounts"|capfirst %} (current) {% endblock %} {% block content %}
{% trans 'New Account' %}

{% trans "Accounts" %}

{% if request.GET.q %} {% endif %}
{% if page_obj.object_list %}
{% for account in accounts %} {% empty %} {% endfor %}
{% trans "Account Name" %} {% trans "Code" %} {% trans "Balance Type" %} {% trans "Active" %}
{{ account.name }} {{ account.code }} {% if account.balance_type == 'debit' %}
{{ _("Debit") }}
{% else %}
{{ _("Credit") }}
{% endif %}
{% if account.active %} {% else %} {% endif %}
{% trans "No account found." %}
{{ page_obj.start_index }} {{ _("to") }} {{ page_obj.end_index }} {{ _("Items of")}} {{ page_obj.paginator.count }}
{% if is_paginated %} {% include 'partials/pagination.html' %} {% endif %}
{% endif %} {% endblock %}