{% load i18n %} {% load django_ledger %}
{% for journal_entry_model in journal_entry_qs %} {% endfor %}
{% trans 'Number' %} {% trans 'Timestamp' %} {% trans 'Activity' %} {% trans 'Description' %} {% trans 'Posted' %} {% trans 'Locked' %} {% trans 'Unit' %} {% trans 'Txs' %} {% trans 'Actions' %}
{{ journal_entry_model.je_number }} {{ journal_entry_model.timestamp | date:"SHORT_DATE_FORMAT" }} {% if journal_entry_model.activity %} {{ journal_entry_model.get_activity_display }} {% endif %} {{ journal_entry_model.description | default:"" | truncatechars:50 }} {% if journal_entry_model.is_posted %} {% icon 'ant-design:check-circle-filled' 20 %} {% else %} {% icon 'ant-design:check-circle-filled' 20 %} {% endif %} {% if journal_entry_model.is_locked %} {% icon 'ooui:lock' 20 %} {% else %} {% icon 'ooui:un-lock' 20 %} {% endif %} {{ journal_entry_model.get_entity_unit_name }} {{ journal_entry_model.txs_count }}