This commit is contained in:
Drew DeVault 2018-02-23 18:48:52 -05:00
parent f3de9c3b4e
commit 70786e0b80
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@
{% if goal < total_sum %}
{# Make the graph still make sense if we exceeded the goal #}
{% set adjusted_goal = total_sum %}
{% else %}
{% set adjusted_goal = goal %}
{% endif %}
{% set recurring_progress = recurring_sum / adjusted_goal %}