Skip to content

Commit

Permalink
#3 | Fixed missing 'total cost' in history.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennissiemensma committed Feb 6, 2016
1 parent 91a7bd9 commit f52f290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsmr_frontend/views/history.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_context_data(self, **kwargs):

CONSUMPTION_FIELDS = (
'electricity1', 'electricity2', 'electricity1_returned', 'electricity2_returned', 'gas',
'electricity1_cost', 'electricity2_cost', 'gas_cost', 'average_temperature'
'electricity1_cost', 'electricity2_cost', 'gas_cost', 'total_cost', 'average_temperature'
)

now = timezone.now().astimezone(settings.LOCAL_TIME_ZONE)
Expand Down

0 comments on commit f52f290

Please sign in to comment.