mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix amount thing.
This commit is contained in:
parent
8321663815
commit
2c4920db2d
@ -79,7 +79,7 @@
|
||||
</div>
|
||||
{% else %}
|
||||
{% set amount = rep.amount %}
|
||||
{% set pct = (amount != 0 ? spentInRep / amount)*100 : 0) %}
|
||||
{% set pct = (amount != 0 ? ((spentInRep / amount)*100) : 0) %}
|
||||
<div class="progress progress-striped">
|
||||
<div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="{{ pct|round }}" aria-valuemin="0"
|
||||
aria-valuemax="100" style="width: {{ pct|round }}%;"></div>
|
||||
|
Loading…
Reference in New Issue
Block a user