{% extends "base.html" %} {% load static %} {% block title %}AI Financial Advisor - 3ncount{% endblock %} {% block page_header %} {% endblock %} {% block content %}
Total Income (30 days)
RM {{ income|floatformat:2 }}
Total Expenses (30 days)
RM {{ expenses|floatformat:2 }}
Net Profit (30 days)
RM {{ profit|floatformat:2 }}

AI Financial Insights

{% csrf_token %}
{% if ai_insights %}
{{ ai_insights }}
{% else %}

Get AI-Powered Insights

Click "Get AI Insights" to analyze your financial data and receive personalized recommendations

{% endif %}

Quick Financial Ratios

Profit Margin {% if income > 0 %} {{ profit|floatformat:2 }} / {{ income|floatformat:2 }} = {% widthratio profit income 100 %}% {% else %} N/A {% endif %}
Expense Ratio {% if income > 0 %} {{ expenses|floatformat:2 }} / {{ income|floatformat:2 }} = {% widthratio expenses income 100 %}% {% else %} N/A {% endif %}
Status {% if profit >= 0 %} Profitable {% else %} Loss {% endif %}

What AI Can Help With

Financial Health Assessment
Overall business performance analysis
Actionable Recommendations
Practical steps to improve finances
Risk & Opportunity Identification
Spot concerns and growth opportunities
{% endblock %}