{% extends "base.html" %} {% block title %}{{ _('predictions.title') }} - FINA{% endblock %} {% block content %}

{{ _('predictions.title') }}

{{ _('predictions.subtitle') }}

{% if predictions.total_months < 3 %}
{{ _('predictions.no_data') }}

{{ _('predictions.no_data_desc') }}

{% else %}
{{ _('predictions.total_predicted') }}

{{ predictions.total.amount|round(2) }} RON

{{ _('predictions.based_on', n=predictions.total_months) }}
{{ _('predictions.confidence') }}

{% if predictions.total.confidence == 'high' %} {{ _('predictions.confidence_high') }} {% elif predictions.total.confidence == 'medium' %} {{ _('predictions.confidence_medium') }} {% else %} {{ _('predictions.confidence_low') }} {% endif %}

{{ predictions.total.months_of_data }} {{ _('predictions.month') }}
{{ _('predictions.trend') }}

{% if predictions.total.trend == 'increasing' %} {{ _('predictions.trend_increasing') }} {% elif predictions.total.trend == 'decreasing' %} {{ _('predictions.trend_decreasing') }} {% else %} {{ _('predictions.trend_stable') }} {% endif %}

{% if insights %}
{{ _('predictions.insights') }}
    {% for insight in insights %}
  • {{ insight }}
  • {% endfor %}
{% endif %}
{{ _('predictions.forecast') }}
{{ _('predictions.by_category') }}
{% for category_name, prediction in predictions.by_category.items() %} {% endfor %}
{{ _('common.category') }} {{ _('predictions.amount') }} {{ _('predictions.confidence') }} {{ _('predictions.trend') }} {{ _('common.actions') }}
{{ category_name }} {{ prediction.predicted_amount|round(2) }} RON {% if prediction.confidence == 'high' %} {{ _('predictions.confidence_high') }} {% elif prediction.confidence == 'medium' %} {{ _('predictions.confidence_medium') }} {% else %} {{ _('predictions.confidence_low') }} {% endif %} {% if prediction.trend == 'increasing' %} {{ _('predictions.trend_increasing') }} {% elif prediction.trend == 'decreasing' %} {{ _('predictions.trend_decreasing') }} {% else %} {{ _('predictions.trend_stable') }} {% endif %}
{{ _('predictions.methodology') }}

{{ _('predictions.methodology_desc') }}

{% endif %}
{% endblock %}