{% endfor %}
{% for yr in range( this_year, END_YEAR) %}
{% set tot=namespace( sum=0 ) %}
{% for bt in bill_types %}
{% if bt.id in total %}
{% set tot.sum = tot.sum + total[bt.id][yr] %}
{% endif %}
{% endfor %}
{% set markup="h5" %}
{% if yr == this_year %}
{% set markup="h4 pt-4" %}
{% endif %}
Total bills in {{yr}}
${{'%.2f'|format(tot.sum)}}
{% endfor %}
{% for bt in bill_types %}
{% if loop.first %}
{% else %}
{% endif %}
{% for bd in bill_data %}
{% if loop.first %}
{% endif %}
{% if bd.bill_type_id == bt.id %}
{% if bd.estimated == 1 %}
{% set classes="fst-italic form-control text-center" %}
{% else %}
{% set classes="form-control text-center" %}
{% endif %}