{% extends "shared/base.html" %} {% load static %} {% block content %} {% include "shared/navbar.html" %}

Dashboard

Welcome back! {{ request.user.username }}

Total Clients
{{ total_clients }}
Lifetime total
Active Projects
{{ active_projects }}
In progress
Pending Tasks
{{ pending_tasks }}
Needs attention
Revenue
Rs.{{ total_income|floatformat:0 }}
Total paid invoices

Recent Projects

{% for project in recent_projects %} {% empty %} {% endfor %}
Project Client Status Updated
{{ project.name }} {{ project.client.name }} {{ project.get_status_display }} {{ project.updated_at|date:"M d" }}
No recent projects

Recent Tasks

    {% for task in recent_tasks %}
  • {{ task.title }}

    {{ task.project.name }}

    {{ task.updated_at|timesince }} ago
  • {% empty %}
  • No recent tasks
  • {% endfor %}

Financial Overview

Pending Income Rs.{{ pending_income|floatformat:2 }}
Monthly Expenses Rs.{{ monthly_expenses|floatformat:2 }}
Overdue Invoices {{ overdue_invoices }}

Upcoming Deadlines

    {% for project in upcoming_deadlines %}
  • {{ project.name }} {{ project.deadline|date:"M d" }}
  • {% empty %}
  • No upcoming deadlines
  • {% endfor %}

Expiring Services

    {% for service in expiring_services %}
  • {{ service.name }} {{ service.expiry_date|date:"M d" }}
  • {% empty %}
  • No expiring services
  • {% endfor %}
{% endblock %}