Merge pull request #1288 from alphagov/add-new-rate-logic

Wire in the new API method that calculates the total cost and total billable units
This commit is contained in:
minglis
2017-06-02 09:52:19 +01:00
committed by GitHub
7 changed files with 87 additions and 4 deletions

View File

@@ -10,7 +10,7 @@
<div class="keyline-block">
{% if sms_chargeable %}
{{ big_number(
(sms_chargeable * sms_rate),
total_sms_cost,
'spent on text messages',
currency="£",
smaller=True