|  | {{ account.name }}{% if what == "asset" %} | {% for entry in account.accountmeta %}
                        {% if entry.name == 'accountRole' %}
                            {{ entry.data|getAccountRole }}
                        {% endif %}
                    {% endfor %}{% endif %} | {{ account|balance|formatAmount }} | {% if account.active %}
                    
                {% else %}
                    
                {% endif %}{% if account.lastActivityDate %} | {{ account.lastActivityDate.formatLocalized(monthAndDayFormat) }}{% else %} | Never{% endif %} | {{ (account.endBalance - account.startBalance)|formatAmount }} | 
    {% endfor %}