Give better names to usage page variables

`free` becomes `sms_free_count`
`paid` becomes `sms_paid_count`

This small change is just to help with readability for this
complex area of code
This commit is contained in:
David McDonald
2022-04-25 11:27:03 +01:00
parent c5d729b5f2
commit d18c787a02
3 changed files with 21 additions and 21 deletions

View File

@@ -426,9 +426,9 @@ def get_free_paid_breakdown_for_billable_units(year, free_sms_fragment_limit, bi
yield {
'name': month,
'letter_total': letter_total,
'paid': breakdown['paid'],
'free': breakdown['free'],
'letters': letter_billing
'letters': letter_billing,
'sms_paid_count': breakdown['paid'],
'sms_free_count': breakdown['free'],
}