diff --git a/uber/models/__init__.py b/uber/models/__init__.py index 28ab68c4a..51efe4b75 100644 --- a/uber/models/__init__.py +++ b/uber/models/__init__.py @@ -417,8 +417,8 @@ def __getattr__(self, name): try: return sum(item[0] * item[1] for item in cost_calc[1].items()) / 100 except AttributeError: - if len(cost_calc) > 2: - return cost_calc[1] * cost_calc[2] / 100 + if len(cost_calc) > 3: + return cost_calc[1] * cost_calc[3] / 100 else: return cost_calc[1] / 100 except Exception: diff --git a/uber/templates/preregistration/index.html b/uber/templates/preregistration/index.html index 0d261aba3..2dc364634 100644 --- a/uber/templates/preregistration/index.html +++ b/uber/templates/preregistration/index.html @@ -56,7 +56,17 @@