{% import 'macros/_commodity_macros.html' as commodity_macros %} {% set short_type = { 'balance': 'Bal', 'close': 'Close', 'document': 'Doc', 'note': 'Note', 'open': 'Open', } %} {% macro account_link(name) %}{{ name }}{% endmacro %} {% macro render_metadata_indicators(metadata) -%} {% for key, value in metadata %} {% endfor %} {%- endmacro %} {% macro render_metadata(metadata, entry_hash=None) -%} {% if metadata %}
{% endif %} {% endmacro %} {% macro render_tags_links(entry) -%} {% for tag in entry.tags|sort %}#{{ tag }}{% endfor %} {% for link_ in entry.links|sort %}^{{ link_ }}{% endfor %} {%- endmacro %} {% macro journal_table(entries, show_change_and_balance=False) %} {% autoescape false %}{{ _('Date') }} {{ _('F') }} {{ _('Payee/Narration') }} {{ _('Position') }} {{ _('Price') }} {{ _('Cost') }} {% if show_change_and_balance %} {{ _('Change') }} {{ _('Balance') }} {% endif %}