Fix column names

Add unit test
This commit is contained in:
Rebecca Law
2022-03-09 15:02:52 +00:00
parent 971cb745c9
commit c6e67d1690
4 changed files with 107 additions and 6 deletions

View File

@@ -31,11 +31,11 @@
{% for message_length, charge in [
('day', 'The whole business day in BST.'),
('sms totals', 'The number of text messages sent'),
('sms fragments', 'The number of text message fragments sent times the rate multiplier'),
('sms chargeable units', 'The number of text message fragments sent'),
('sms_fragments_times_multiplier', 'The number of text message fragments sent times the rate multiplier'),
('email totals', 'The number of emails sent'),
('letter totals', 'The number of letters sent'),
('letter sheet totals', The number of sheets sent)
('letter sheet totals', 'The number of sheets sent')
] %}
{% call row() %}
{{ text_field(message_length) }}

View File

@@ -31,9 +31,11 @@
{% for message_length, charge in [
('free allowance', 'Free allowance set for the service. This is the latest free allowance for the date range given'),
('sms notifications', 'The number of text messages sent by the service.'),
('sms volume', 'The number of text message fragments times the rate multiplier sent by the service.'),
('sms chargeable units', 'The number of text message fragments times the rate multiplier sent by the service.'),
('email totals', 'The number of emails sent by a service'),
('letter totals', 'The number of letters sent by a service'),
('letter costs', 'The cost of the letters, rate * letter totals'),
('letter sheet totals', 'The number of sheet sent by a service')
] %}
{% call row() %}
{{ text_field(message_length) }}