Skip to content

Firefly III: a personal finances manager

Code for #159

James Colef0f67b87c4a6
diff --git a/resources/views/reports/partials/balance.twig b/resources/views/reports/partials/balance.twig
index 3cc3be688c..fff14005b4 100644
--- a/resources/views/reports/partials/balance.twig
+++ b/resources/views/reports/partials/balance.twig
@@ -41,8 +41,10 @@
<td>
{% if balanceEntry.getSpent != 0 %}
<span class="text-danger">{{ (balanceEntry.getSpent)|formatAmountPlain }}</span>
- <i class="fa fa-fw text-muted fa-info-circle firefly-info-button" data-location="balance-amount" data-account-id="x"
- data-budget-id="y"></i>
+ <i class="fa fa-fw text-muted fa-info-circle firefly-info-button" data-location="balance-amount"
+ data-account-id="{{ balanceEntry.getAccount.id }}"
+ data-budget-id="{{ balanceLine.getBudget.id }}"></i>
+
{% endif %}
{% if balanceEntry.getLeft != 0 %}
<span class="text-success">{{ (balanceEntry.getLeft)|formatAmountPlain }}</span>