{% 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
| Gross Margin | {{ "%.1f"|format(pnl.gross_margin_pct) }}% |
| OpEx (fixed) | {{ "%.0f"|format(pnl.opex) }} MAD |
| Net Margin | {{ "%.1f"|format(pnl.net_margin_pct) }}% |
| Offer |
Sell |
Cost |
Margin |
Components |
{% for s in services %}
| {{ 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
|
{% endfor %}
{% endblock %}
{% block scripts %}
{% endblock %}