{% extends "base.html" %} {% block title %}Dashboard — Vela Platform{% endblock %} {% block content %}

Dashboard

{{ pnl.month }}
Revenue

{{ "%.0f"|format(pnl.total_revenue) }} MAD

Cost

{{ "%.0f"|format(pnl.total_cost) }} MAD

Gross Profit

{{ "%.0f"|format(pnl.gross_profit) }} MAD

Net Profit

{{ "%.0f"|format(pnl.net_profit) }} MAD

Margin Breakdown
Gross Margin{{ "%.1f"|format(pnl.gross_margin_pct) }}%
OpEx (fixed){{ "%.0f"|format(pnl.opex) }} MAD
Net Margin{{ "%.1f"|format(pnl.net_margin_pct) }}%
Active Offers — Cost Breakdown
{% for s in services %} {% endfor %}
Offer Sell Cost Margin Components
{{ s.name }} {{ "%.0f"|format(s.sell_price) }} MAD {{ "%.0f"|format(s.cost_price) }} MAD {{ "%.0f"|format(s.sell_price - s.cost_price) }} MAD {{ s.components|length }} items
12-Month Trend
{% endblock %} {% block scripts %} {% endblock %}