diff options
Diffstat (limited to 'app/budget/views.py')
-rw-r--r-- | app/budget/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/budget/views.py b/app/budget/views.py index c168ae1..fe558a5 100644 --- a/app/budget/views.py +++ b/app/budget/views.py @@ -52,6 +52,6 @@ class LuxPurchaseListView(PaginatedListView): context['month_2'] = month_2.strftime('%h') context['monthly_spending_3'] = LuxPurchase.stats.get_monthly_spending(month_3.month) context['month_3'] = month_3.strftime('%h') - context['food_total'] = LuxPurchase.stats.get_monthly_spending_by_category(0, 1) - context['lodge_total'] = LuxPurchase.stats.get_monthly_spending_by_category(3, 1) + context['food_total'] = LuxPurchase.stats.get_monthly_spending_by_category("Groceries & Home", 1) + context['lodge_total'] = LuxPurchase.stats.get_monthly_spending_by_category("Lodging", 1) return context |