{% now "Y" as current_year %} {% load icon from django_ledger %} {% load trans from i18n %}
{% trans 'Ledger Name' %} | {% trans 'Journal Entries' %} | {% trans 'Reports' %} | {% trans 'Earliest JE Date' %} | {% trans 'Posted' %} | {% trans 'Locked' %} | {% trans 'Locked by Closing Entry' %} | {% trans 'Actions' %} | {% trans 'Created' %} | ||
---|---|---|---|---|---|---|---|---|---|---|
{% if ledger_model.has_wrapped_model %} {{ ledger_model.get_wrapped_model_instance }} {% else %}{{ ledger_model.name }}{% endif %} | {% icon 'grommet-icons:transaction' 24 %} {{ ledger_model.journal_entries__count }} {% trans 'Journal Entries' %} | {% if ledger_model.is_posted %}
|
{% if ledger_model.earliest_timestamp %}{{ ledger_model.earliest_timestamp | date }}{% endif %} | {% else %}{% endif %} | {% if ledger_model.is_posted %} {% icon 'ant-design:check-circle-filled' 24 %} {% else %} {% icon 'maki:roadblock-11' 24 %} {% endif %} | {% if ledger_model.is_locked %} {% icon 'bi:lock-fill' 24 %} {% else %} {% icon 'bx:bx-lock-open-alt' 24 %} {% endif %} | {% if ledger_model.has_jes_in_locked_period %} {% icon 'bi:lock-fill' 24 %} {% else %} {% icon 'bx:bx-lock-open-alt' 24 %} {% endif %} |
|
{{ ledger_model.created }} |