mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Rename ambiguous "sms_chargeable" Jinja variable
Now that we have the term "charge*able*_units" we should clarify this variable is the number we will actually charge for.
This commit is contained in:
@@ -346,7 +346,7 @@ def get_annual_usage_breakdown(usage, free_sms_fragment_limit):
|
||||
'sms_free_allowance': sms_free_allowance,
|
||||
'sms_sent': sms_chargeable_units,
|
||||
'sms_allowance_remaining': max(0, (sms_free_allowance - sms_chargeable_units)),
|
||||
'sms_chargeable': max(0, sms_chargeable_units - sms_free_allowance),
|
||||
'sms_charged': max(0, sms_chargeable_units - sms_free_allowance),
|
||||
'sms_cost': sms_cost,
|
||||
'sms_rate': sms_rate,
|
||||
'letter_sent': letters_sent,
|
||||
|
||||
Reference in New Issue
Block a user