Skip to content

Commit

Permalink
fix open budget calculation (#2821)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Oct 7, 2021
1 parent b7cf9cd commit 3a52dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/embeds/budgets.html.twig
Expand Up @@ -131,7 +131,7 @@
<tr>
<th colspan="3" class="text-nowrap text-right">
{% if totalPercentReached < 100 %}
{{ 'stats.percentUsedLeft'|trans({'%percent%': totalPercentReached|number_format(2), '%left%': (entity.timeBudget - stats.rateBillable)|money(currency)}) }}
{{ 'stats.percentUsedLeft'|trans({'%percent%': totalPercentReached|number_format(2), '%left%': (entity.budget - stats.rateBillable)|money(currency)}) }}
{% else %}
{{ 'stats.percentUsed'|trans({'%percent%': totalPercentReached|number_format(2)}) }}
{% endif %}
Expand Down

0 comments on commit 3a52dae

Please sign in to comment.