{% extends 'base.html' %} {% load static %} {% block content %}

Hello! Here's your budget overview.

Tracking your finances for {{ current_month }}

Total Balance

${{ balance|floatformat:2 }}

Monthly Income

${{ monthly_income|floatformat:2 }}

Monthly Expenses

${{ monthly_expense|floatformat:2 }}

Recent Transactions

View All
{% for transaction in recent_transactions %} {% empty %} {% endfor %}
{{ transaction.date|date:"M d" }}
{{ transaction.date|date:"Y" }}
{{ transaction.description|default:"No description" }}
{{ transaction.category.name|default:"Uncategorized" }}
{% if transaction.type == 'income' %}+{% else %}-{% endif %}${{ transaction.amount|floatformat:2 }}
{{ transaction.get_type_display }}
Empty

No transactions yet. Start by adding one!

{% endblock %}