{% extends "budgets/base.html" %} {% load bf %} {% block title %}Variance drill-down{% endblock %} {% block content %}

Variance report / {{ dept.name }}

{{ account.code }} {{ account.name }} - {{ dept.name }}

{{ month_label }} variance{{ row.month.amount|money }}{{ row.month.favorable|fu }}{{ row.month.pct|pct }}
YTD variance{{ row.ytd.amount|money }}{{ row.ytd.favorable|fu }}{{ row.ytd.pct|pct }}
FY budget{{ row.fy_budget|money }}
FY forecast{{ row.fy_forecast|money }}
{% for m in months %}{% endfor %}{% for m in months %}{% endfor %}{% for m in months %}{% endfor %}{% for m in months %}{% endfor %}{% for m in months %}{% endfor %}
{{ m.label }}
Budget{{ m.budget|money }}
Actual{{ m.actual|money }}
Variance{% if m.var %}{{ m.var.amount|money }} {{ m.var.favorable|fu }}{% endif %}
Forecast{{ m.forecast|money }}
{% if row.pv_month or row.pv_ytd %}

Price / volume decomposition

Price = (actual price - budget price) x actual volume. Volume = (actual volume - budget volume) x budget price. Drivers: {{ account.volume_driver }} x {{ account.price_driver }}.

{% if row.pv_month %}{% endif %} {% if row.pv_ytd %}{% endif %}
PriceVolumeOtherTotal
{{ month_label }}{{ row.pv_month.price|money }}{{ row.pv_month.volume|money }}{{ row.pv_month.other|money }}{{ row.pv_month.total|money }}
Year to date{{ row.pv_ytd.price|money }}{{ row.pv_ytd.volume|money }}{{ row.pv_ytd.other|money }}{{ row.pv_ytd.total|money }}
{% endif %}

Commentary for {{ month_label }}

{% if row.needs_comment and not row.comment %}
This variance exceeds the materiality threshold and needs an explanation from the owner.
{% endif %} {% if can_comment %}
{% csrf_token %}
{% endif %} {% endblock %}