{% extends "base.html" %} {% import 'components/macros.html' as ui %} {% block title %}Inventory Intelligence{% endblock %} {% block body_class %}intel-page{% endblock %} {% block head_extra %} {% endblock %} {% block content %}

Operational forecasting

Smart Inventory Intelligence

Forecast shortages, spot fast movers, reduce dead stock, and coordinate branch replenishment.

Products {{ summary.products_analyzed or 0 }}
Critical Risks {{ summary.critical_stockout_risks or 0 }}
Reorders {{ summary.reorder_recommendations or 0 }}
Dead Stock {{ summary.dead_stock_items or 0 }}
Branch Transfers {{ summary.branch_transfer_opportunities or 0 }}
Profit 90d {{ "%.2f"|format(summary.profit_90d or 0) }}
Health {{ summary.inventory_health_score or 0 }}
Cash Locked {{ "%.0f"|format(summary.cash_locked_in_inventory or 0) }}
Loss Risks {{ summary.loss_risk_count or 0 }}
Expiry Risks {{ summary.expiry_risk_count or 0 }}
Automation {{ summary.automation_actions or 0 }}
Growth Ready {{ summary.growth_readiness_score or 0 }}
Risk Signals {{ summary.inventory_risk_count or 0 }}
Spike Warnings {{ summary.demand_spike_warnings or 0 }}
Efficiency {{ summary.efficiency_score or 0 }}
Bottlenecks {{ summary.bottleneck_count or 0 }}
Priority Items {{ summary.priority_items or 0 }}
Auto Actions {{ summary.autonomous_actions or 0 }}
Business Health {{ summary.business_health_score or 0 }}
Stability {{ summary.operational_stability_score or 0 }}
Biz Priorities {{ summary.business_priority_count or 0 }}
Exec Actions {{ summary.executive_action_count or 0 }}

Stockout Forecast

{% for row in (snapshot.low_stock_forecasts or [])[:8] %}
{{ row.name }} {{ row.risk }} | stock {{ row.current_stock }} | {{ row.days_to_stockout or "no" }} days
{% else %}

No stockout risks found.

{% endfor %}

Reorder Recommendations

{% for row in (snapshot.reorder_recommendations or [])[:8] %}
{{ row.name }} Order {{ row.recommended_qty }} {{ row.reorder_timing }}{% if row.preferred_supplier %} via {{ row.preferred_supplier }}{% endif %}
{% else %}

No reorder actions needed.

{% endfor %}

Fast Movers

{% for row in (snapshot.fast_moving_products or [])[:8] %}
{{ row.name }} {{ row.units_sold }} units | score {{ row.score }}
{% else %}

No fast-moving products yet.

{% endfor %}

Dead Stock

{% for row in (snapshot.dead_stock or [])[:8] %}
{{ row.name }} {{ row.days_without_sale }} days | value {{ "%.2f"|format(row.carrying_value or 0) }}
{% else %}

No dead stock found.

{% endfor %}

Decision Assistant

{% for row in (snapshot.decision_assistant.recommendations or [])[:5] %}
{{ row.title }} {{ row.priority }} | {{ row.explanation }}
{% else %}

No decision guidance yet.

{% endfor %}

Branch Health

{% for row in (snapshot.inventory_health.branch_scores or [])[:8] %}
Branch {{ row.branch_id }} Score {{ row.score }} | products {{ row.products }} | risks {{ row.risks }}
{% else %}

No branch health data yet.

{% endfor %}

Inventory Risks

{% for row in (snapshot.inventory_risk.risks or [])[:8] %}
{{ row.risk_type }} Score {{ row.score }} | {{ row.recommendation }}
{% else %}

No predictive risks found.

{% endfor %}

Priority Focus

{% for row in (snapshot.inventory_prioritization or [])[:8] %}
{{ row.name }} Score {{ row.score }} | {{ row.focus }} | {{ row.tags|join(", ") }}
{% else %}

No priority items yet.

{% endfor %}

Executive Focus

{% for row in (snapshot.business_priorities.top_focus or [])[:5] %}
{{ row.priority_type }} {{ row.severity }} | {{ row.recommended_focus }}
{% else %}

No executive priorities yet.

{% endfor %}

Focus Mode

{{ snapshot.operational_focus_mode.headline or "Operational focus" }} {{ snapshot.operational_focus_mode.next_best_action.message or "No urgent executive action is required right now." }}

Operational Reports

{% endblock %}