Display letter postage on the usage page

The monthly letter cost was already broken down by price on the usage
page, but this change adds postage details to the usage page too.
This commit is contained in:
Katie Smith
2018-10-03 11:18:46 +01:00
parent b1f2b1bc0f
commit 4188c0297d
3 changed files with 35 additions and 4 deletions

View File

@@ -113,7 +113,7 @@
<ul>
{% for letter in month.letters%}
{% if letter[0] %}
<li class="tabular-numbers">{{ "{:,}".format(letter[0])}} letters at {{ '{:.0f}p'.format(letter[1] * 100) }}
<li class="tabular-numbers">{{ "{:,} {}".format(letter[0], letter[3])}} class letters at {{ '{:.0f}p'.format(letter[1] * 100) }}
</li>
{% endif %}
{% endfor %}