{% extends "base.html" %} {% load i18n static %} {% block title %} {{ _("Journal Entries") }} {% endblock title %} {% block content %} {% if journal_entries %}

{% trans "Journal Entries" %}

{% if perms.django_ledger.add_journalentrymodel %} {% trans "Add Journal Entry" %} {% endif %}
{% for je in journal_entries %} {% empty %} {% endfor %}
{% trans "Document Number" %} {% trans "Timestamp" %} {% trans "Activity" %} {% trans "Description" %} {% trans "Posted" %} {% trans "Locked" %} {% trans "Transaction Count" %} {% trans "Action" %}
{{ je.je_number }} {{ je.timestamp }} {% if je.get_activity_display %}{{ je.get_activity_display }}{% endif %} {{ je.description }} {% if je.is_posted %} {% else %} {% endif %} {% if je.is_locked %} {% else %} {% endif %} {{ je.txs_count }}
{% trans "No Bank Accounts Found" %}
{% if page_obj.paginator.num_pages > 1 %}
{% include 'partials/pagination.html' %}
{% endif %}
{% else %} {% url 'journalentry_create' request.dealer.slug ledger.pk as create_je_url %} {% include "empty-illustration-page.html" with value="journal entry" url=create_je_url %} {% endif %} {% endblock %}