{% extends "_layout.html" %} {% set active_page = 'holdings' %} {% import 'macros/_account_macros.html' as account_macros with context %} {% import '_query_table.html' as querytable with context %} {% macro num_cell(value, currency) -%}
Query ({{ _('Download as') }} CSV{% if config['HAVE_EXCEL'] %}, XLS, XLSX or ODS {% endif %})
{% set contents, result_types, result_rows = ledger.query_shell.execute_query(holdings_by[aggregation_key]) %} {{ querytable.querytable(result_types, result_rows, filter_empty=units_column[aggregation_key]) }} {% endblock %}