mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix a sum.
This commit is contained in:
parent
8de5384158
commit
8f8e29fc22
@ -67,7 +67,7 @@
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
{% set overspent = rep.amount + spentInRep > 0 %}
|
||||
{% set overspent = rep.amount + spentInRep < 0 %}
|
||||
|
||||
{% if overspent %}
|
||||
{% set pct = (spentInRep != 0 ? (rep.amount / (spentInRep*-1))*100 : 0) %}
|
||||
|
Loading…
Reference in New Issue
Block a user