{% extends "shared/frontend/base.html" %} {% block title %}Fastpris Rapporter - BMC Hub{% endblock %} {% block content %}
Profitabilitet og performance analyse
| Aftale | Kunde | Total Timer | Månedlig Værdi | Profit | Margin | Udnyttelse |
|---|---|---|---|---|---|---|
| {{ agr.agreement_number }} | {{ agr.customer_name }} | {{ '%.1f'|format(agr.total_used_hours or 0) }}t | {{ "{:,.0f}".format(agr.total_base_revenue or 0) }} kr | {% if agr.estimated_profit and agr.estimated_profit > 0 %} {{ "{:,.0f}".format(agr.estimated_profit) }} kr {% else %} {{ "{:,.0f}".format(agr.estimated_profit or 0) }} kr {% endif %} | {% if agr.profit_margin and agr.profit_margin >= 30 %} {{ '%.1f'|format(agr.profit_margin) }}% {% elif agr.profit_margin and agr.profit_margin >= 15 %} {{ '%.1f'|format(agr.profit_margin) }}% {% else %} {{ '%.1f'|format(agr.profit_margin or 0) }}% {% endif %} | {% set utilization = ((agr.total_used_hours or 0) / (agr.total_allocated_hours or 1) * 100) if agr.total_allocated_hours else 0 %} {% if utilization >= 80 %} {{ '%.0f'|format(utilization) }}% {% elif utilization >= 50 %} {{ '%.0f'|format(utilization) }}% {% else %} {{ '%.0f'|format(utilization) }}% {% endif %} |
Ingen performance data tilgængelig
| Måned | Aktive Aftaler | Brugte Timer | Overtid Timer | Total Værdi | Profit | Margin |
|---|---|---|---|---|---|---|
| {{ trend.period_month }} | {{ trend.active_agreements }} | {{ '%.1f'|format(trend.total_used_hours or 0) }}t | {% if trend.total_overtime_hours and trend.total_overtime_hours > 0 %} {{ '%.1f'|format(trend.total_overtime_hours) }}t {% else %} - {% endif %} | {{ "{:,.0f}".format(trend.monthly_total_revenue or 0) }} kr | {% if trend.total_profit and trend.total_profit > 0 %} {{ "{:,.0f}".format(trend.total_profit) }} kr {% else %} {{ "{:,.0f}".format(trend.total_profit or 0) }} kr {% endif %} | {% if trend.avg_profit_margin and trend.avg_profit_margin >= 30 %} {{ '%.1f'|format(trend.avg_profit_margin) }}% {% elif trend.avg_profit_margin and trend.avg_profit_margin >= 15 %} {{ '%.1f'|format(trend.avg_profit_margin) }}% {% else %} {{ '%.1f'|format(trend.avg_profit_margin or 0) }}% {% endif %} |
Ingen trend data tilgængelig
| Kunde | Aftaler | Total Timer | Overtid | Total Værdi | Avg Margin |
|---|---|---|---|---|---|
| {{ customer.customer_name }} | {{ customer.agreement_count }} | {{ '%.1f'|format(customer.total_used_hours or 0) }}t | {% if customer.total_overtime_hours and customer.total_overtime_hours > 0 %} {{ '%.1f'|format(customer.total_overtime_hours) }}t {% else %} - {% endif %} | {{ "{:,.0f}".format(customer.total_revenue or 0) }} kr | {% if customer.avg_profit_margin and customer.avg_profit_margin >= 30 %} {{ '%.1f'|format(customer.avg_profit_margin) }}% {% elif customer.avg_profit_margin and customer.avg_profit_margin >= 15 %} {{ '%.1f'|format(customer.avg_profit_margin) }}% {% else %} {{ '%.1f'|format(customer.avg_profit_margin or 0) }}% {% endif %} |
Ingen kunde data tilgængelig