{% extends "base.html" %} {% block title %}Dashboard{% endblock %} {% block content %}
Dashboard Overview
Current Period: {{ current_period.start_date }} to {{ current_period.end_date }}
Total Orders
{{ stats.total_orders }}
{% if stats.orders_change >= 0 %}↑{% else %}↓{% endif %} {{ stats.orders_change }}% from last period
📦
Total Revenue
Rs. {{ "{:,.2f}".format(stats.total_revenue) }}
{% if stats.revenue_change >= 0 %}↑{% else %}↓{% endif %} {{ stats.revenue_change }}% from last period
💰
Total Expenses
Rs. {{ "{:,.2f}".format(stats.total_expenses) }}
{% if stats.expenses_change >= 0 %}↑{% else %}↓{% endif %} {{ stats.expenses_change }}% from last period
💸
Net Profit
Rs. {{ "{:,.2f}".format(stats.net_profit) }}
{% if stats.profit_change >= 0 %}↑{% else %}↓{% endif %} {{ stats.profit_change }}% from last period
📈
Gross Sales Profit
Rs. {{ "{:,.2f}".format(stats.gross_profit) }}
Sales - item cost
💹
Stock Items
{{ stats.total_stock_items }}
Total Quantity: {{ stats.total_stock_quantity }}
📦
Low Stock Alert
{{ stats.low_stock_items }}
Items 5 or below
⚠️
Quick Actions
🛒
New Order
📦
Manage Stock
💰
Add Expense
📊
View Profit
🔍
Customer Search
📱
IMEI / Warranty
🛡️
Backup
Revenue vs Expenses
Orders Overview
Sales by Platform
Stock Status
Recent Activity
{% for activity in recent_activities %}
{{ activity.time }}
{{ activity.description }}
{% else %}

No recent activity

{% endfor %}
{% endblock %}