Skip to content

Firefly III: a personal finances manager

Debug code for transaction view. [skip ci]

James Coleb3af74404137
diff --git a/resources/views/transactions/show.twig b/resources/views/transactions/show.twig
index 4ccdf24165..6fdb1d95ab 100644
--- a/resources/views/transactions/show.twig
+++ b/resources/views/transactions/show.twig
@@ -347,6 +347,8 @@
<h3 class="box-title">{{ 'transactions'|_ }}</h3>
</div>
<div class="box-body no-padding">
+ {{ dump(transactions) }}
+ {{ dump(transactions|length) }}
<table class="table table-bordered table-striped">
<thead>
<tr>
@@ -360,8 +362,8 @@
</thead>
<tbody>
- {{ dump(transactions|length) }}
+ {% set maxIdentifier = 1 %}
{#{% set maxIdentifier = ((transactions|length) / 2) -1 %}#}
{% for x in 0..maxIdentifier %}
<tr>