{% extends "base.html" %} {% from "_macros.html" import export_buttons, indent, level_select with context %} {% block title %}{{ t('Budget vs Actual') }}{% endblock %} {% block content %}
| {{ t('Account') }} | {{ t('Budget') }} | {{ t('Actual') }} | {{ t('Variance') }} | {{ t('% of budget') }} | |
|---|---|---|---|---|---|
| {{ r.label }} | |||||
| {% if r.account %}{{ r.account.code }} {{ nm(r.account) }}{% else %}{{ r.label }}{% endif %} | {{ r.budget|money(cur) }} | {{ r.actual|money(cur) }} | {{ ('+' if r.variance > 0 else '') ~ r.variance|money(cur) if r.variance else '—' }} | {{ '%.0f'|format(r.pct) ~ '%' if r.pct is not none else '' }} | {% if r.pct is not none and r.kind != 'section' %} {% endif %} |