{% if config.legacy_report %} {% set do_landscape = false %} {% set summary_width = "75%" %} {% set estimate_width = "75%" %} {% else %} {% set do_landscape = true %} {% set summary_width = "50%" %} {% set estimate_width = "50%" %} {% endif %} {% include "html_head.html" %} {% include "header_footer.html" %} {% include "cover_page.html" %}

Audit

{% include "audit.html" %} {% if do_landscape %}{% endif %} {% for tax_year in tax_report|sort %}

Tax Year - {{ config.format_tax_year(tax_year) }}

{{ config.get_tax_year_start(tax_year) |datefilter2 }} to {{ config.get_tax_year_end(tax_year) |datefilter2 }}

{% if args.tax_rules in TAX_RULES_UK_COMPANY %}

Chargeable Gains

{% include "capital_gains.html" %} {% include "ct_estimate.html" %} {% else %}

Capital Gains

{% include "capital_gains.html" %} {% include "cgt_estimate.html" %} {% endif %} {% include "income.html" %} {% include "margin_trading.html" %} {% if not loop.last %}{% endif %} {% endfor %}

Appendix

{% for tax_year in tax_report|sort %} {% include "price_data.html" %} {% if not loop.last %}{% endif %} {% endfor %} {% if holdings_report %} {% include "holdings.html" %} {% endif %}